public static final class Schedule.RecurringScheduleOptions extends Schedule.ScheduleOptions
| Constructor and Description |
|---|
RecurringScheduleOptions(Schedule.ScheduleType scheduleType,
Date dateTime,
Collection<Integer> daysOfWeek)
Create a
RecurringScheduleOptions with the specified type, date, time, and recurrence. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
getDaysOfWeek()
Get the days of the week the alert should notify the user.
|
void |
setDaysOfWeek(Collection<Integer> daysOfWeek)
Set the days of the week.
|
getDateTime, getScheduleType, isRecurring, setDateTime, setScheduleTypepublic RecurringScheduleOptions(@NonNull Schedule.ScheduleType scheduleType, @NonNull Date dateTime, @NonNull Collection<Integer> daysOfWeek)
RecurringScheduleOptions with the specified type, date, time, and recurrence.scheduleType - Arrival or departure schedule.dateTime - Date and time of the schedule, must not be null.daysOfWeek - Days of the week to schedule the trip, must not be null.Schedule.ScheduleType,
Calendarpublic Collection<Integer> getDaysOfWeek()
Calendar.public void setDaysOfWeek(Collection<Integer> daysOfWeek)
Calendar:
Specifying other values in this collection has undefined behavior.daysOfWeek - Days of the week to schedule, must not be null.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.