public abstract static class Schedule.ScheduleOptions extends Object
Schedule
.Modifier and Type | Method and Description |
---|---|
Date |
getDateTime()
Get the schedule date and time.
|
Schedule.ScheduleType |
getScheduleType()
Get the type of schedule.
|
boolean |
isRecurring()
Indicates whether this
ScheduleOptions is a recurring schedule or not. |
void |
setDateTime(Date dateTime)
Set the schedule date and time.
|
void |
setScheduleType(Schedule.ScheduleType scheduleType)
Set the type of schedule.
|
public Schedule.ScheduleType getScheduleType()
Schedule.ScheduleType
public void setScheduleType(@NonNull Schedule.ScheduleType scheduleType)
scheduleType
- Type of schedule, must not be null
.Schedule.ScheduleType
public Date getDateTime()
Schedule.ScheduleType
.
The date and time is always the local time at the origin or destination (depending on
whether the schedule type is ARRIVAL
or DEPARTURE
. The Date
object
should have the timezone set to "UTC" to prevent issues while handling this value.Schedule.ScheduleType
public void setDateTime(@NonNull Date dateTime)
Schedule.ScheduleType
.
The date and time is always the local time at the origin or destination (depending on
whether the schedule type is ARRIVAL
or DEPARTURE
. The Date
object
should have the timezone set to "UTC" to prevent issues while handling this value.dateTime
- Schedule date and time, must not be null
.Schedule.ScheduleType
public boolean isRecurring()
ScheduleOptions
is a recurring schedule or not.true
if the schedule is recurring, false
otherwiseCopyright © 2013-2018 INRIX, Inc. All Rights Reserved.