tripkit-android / com.skedgo.tripkit.common.util / TripSegmentListResolver / createDepartureSegment

createDepartureSegment

open fun createDepartureSegment(firstSegment:TripSegment!):TripSegment!

Creates the Departure segment from the first segment

Parameters

firstSegment - TripSegment!: The first segment (or head) of the segment list

Return TripSegment!: The Departure segment