Inheritance diagram for com.scalagent.scheduler.event.DiaryEvent:

Public Member Functions | |
| long | getNextDate (long now, boolean inclusive) |
| long | getNextDate (long now) |
| long | getLastDate (long now, boolean inclusive) |
| long | getLastDate (long now) |
DiaryEvent interface allows access to the occurrence dates of an event that could be stored in a diary.
Definition at line 28 of file DiaryEvent.java.
| long com.scalagent.scheduler.event.DiaryEvent.getNextDate | ( | long | now, | |
| boolean | inclusive | |||
| ) |
Gets the next event date after the parameter date. Returns -1 if there is no such date.
| now | starting date for the lookup | |
| inclusive | if true checks now as an answer |
-1 if there is no such date Implemented in com.scalagent.scheduler.event.PeriodicEvent.
| long com.scalagent.scheduler.event.DiaryEvent.getNextDate | ( | long | now | ) |
Gets the next event date after the parameter date. Returns -1 if there is no such date. Calls getNextDate with the inclusive parameter set to false.
| now | starting date for the lookup |
-1 if there is no such date Implemented in com.scalagent.scheduler.event.PeriodicEvent.
| long com.scalagent.scheduler.event.DiaryEvent.getLastDate | ( | long | now, | |
| boolean | inclusive | |||
| ) |
Gets the last event date before the parameter date. Returns -1 if there is no such date.
| now | starting date for the backward lookup | |
| inclusive | if true checks now as an answer |
-1 if there is no such date Implemented in com.scalagent.scheduler.event.PeriodicEvent.
| long com.scalagent.scheduler.event.DiaryEvent.getLastDate | ( | long | now | ) |
Gets the last event date before the parameter date. Returns -1 if there is no such date. Calls getLastDate with the inclusive parameter set to false.
| now | starting date for the backward lookup |
-1 if there is no such date Implemented in com.scalagent.scheduler.event.PeriodicEvent.
1.5.0