Package org.goplanit.service.routed
Class RelativeLegTiming
- java.lang.Object
-
- org.goplanit.service.routed.RelativeLegTiming
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRelativeLegTiming(RelativeLegTiming relativeLegTiming)Copy constructorprotectedRelativeLegTiming(ServiceLegSegment parentLegSegment, LocalTime duration, LocalTime dwellTime)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelativeLegTimingclone()Clone this classLocalTimegetDuration()Collect durationLocalTimegetDwellTime()Collect dwell timeServiceLegSegmentgetParentLegSegment()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
-
-