Package org.goplanit.service.routed
Class RelativeLegTiming
- java.lang.Object
-
- org.goplanit.service.routed.RelativeLegTiming
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RelativeLegTiming(RelativeLegTiming relativeLegTiming)
Copy constructorprotected
RelativeLegTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelativeLegTiming
clone()
Clone this classLocalTime
getDuration()
Collect durationLocalTime
getDwellTime()
Collect dwell timeServiceLegSegment
getParentLegSegment()
Collect parent leg segment
-
-
-
Constructor Detail
-
RelativeLegTiming
protected RelativeLegTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)
Constructor- Parameters:
parentLegSegment
- to useduration
- to usedwellTime
- to use
-
RelativeLegTiming
protected RelativeLegTiming(RelativeLegTiming relativeLegTiming)
Copy constructor- Parameters:
relativeLegTiming
- to copy
-
-
Method Detail
-
clone
public RelativeLegTiming clone()
Clone this class
-
getParentLegSegment
public ServiceLegSegment getParentLegSegment()
Collect parent leg segment- Returns:
- parent leg segment
-
getDuration
public LocalTime getDuration()
Collect duration- Returns:
- duration
-
getDwellTime
public LocalTime getDwellTime()
Collect dwell time- Returns:
- dwell time
-
-