public static final class ItineraryManager.GetItineraryOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_RANGE_DAYS
Maximum allowed date range (in days).
|
| Constructor and Description |
|---|
GetItineraryOptions(Date startDate,
Date endDate)
Initializes a new instance of
ItineraryManager.GetItineraryOptions. |
| Modifier and Type | Method and Description |
|---|---|
void |
setDateRange(Date startDate,
Date endDate)
Specify the date range of the desired
Itinerary. |
void |
setIncludeHiddenTrips(boolean value)
Set the property indicating whether hidden
LearnedTrips should be included in
the result. |
void |
setLocale(Locale locale)
Set the locale of the
Itinerary. |
String |
toString() |
public static final int MAX_RANGE_DAYS
public GetItineraryOptions(Date startDate, Date endDate)
ItineraryManager.GetItineraryOptions. The endDate must be past the
startDate and the range must not exceed ItineraryManager.GetItineraryOptions.MAX_RANGE_DAYS days.startDate - Start date/time of the itinerary (UTC).endDate - End date/time of the itinerary (UTC).ItineraryManager.ItineraryManagerException - Thrown when startDate or endDate is invalid.public void setDateRange(Date startDate, Date endDate)
Itinerary.
The Date is expected to be in UTC timezone.startDate - Start date/time of the itinerary (UTC).endDate - End date/time of the itinerary (UTC).public void setIncludeHiddenTrips(boolean value)
LearnedTrips should be included in
the result. Default value is false.value - true if hidden trips should be included, false otherwise.public void setLocale(Locale locale)
Itinerary.locale - The locale or null to use the default.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.