public final class Itinerary extends Object
Itinerary
is a collection of scheduled Trip
s. A scheduled
Trip
is an instance of a Trip
at a specified date/time. For a one time Trip
this may be the one instance of the Trip
, but for recurring Trip
there may be many
instances of the Trip
which occur between the Itinerary.getStartDate()
and Itinerary.getEndDate()
.Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Returns the end date/time (in UTC) for this
Itinerary . |
List<ItineraryEntry> |
getItineraryEntries()
Returns a read-only
List of ItineraryEntry (if available)
representing instances of Trip s which occur between Itinerary.getStartDate() and Itinerary.getEndDate() . |
Date |
getStartDate()
Returns the start date/time (in UTC) for this
Itinerary . |
String |
toString() |
public Date getStartDate()
Itinerary
. The Itinerary
only
contains instances of Trip
s which occur between getStartDate()
and Itinerary.getEndDate()
.public Date getEndDate()
Itinerary
. The Itinerary
only
contains instances of Trip
s which occur between Itinerary.getStartDate()
and getEndDate()
.public List<ItineraryEntry> getItineraryEntries()
List
of ItineraryEntry
(if available)
representing instances of Trip
s which occur between Itinerary.getStartDate()
and Itinerary.getEndDate()
.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.