public final class RecurrentEventHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
RecurrentEventHelper() |
Modifier and Type | Method and Description |
---|---|
private static Date |
_nextAllDayDate(Date date) |
private static Date |
_nextAllWorkingDayDate(Date date) |
private static Date |
_nextBiweeklyDate(Date date) |
private static Date |
_nextMonthlyDate(Date date,
CalendarEvent event) |
private static Date |
_nextWeeklyDate(Date date) |
static Date |
getNextDate(CalendarEvent event,
Date date)
Get the next occurrence date
|
static List<Integer> |
getWorkingDays()
get the list of working days
|
private RecurrentEventHelper()
public static Date getNextDate(CalendarEvent event, Date date)
event
- the calendar eventdate
- the occurrence dateprivate static Date _nextAllDayDate(Date date)
public static List<Integer> getWorkingDays()
Calendar
daysprivate static Date _nextAllWorkingDayDate(Date date)
private static Date _nextWeeklyDate(Date date)
private static Date _nextBiweeklyDate(Date date)
private static Date _nextMonthlyDate(Date date, CalendarEvent event)