public final class ScheduleComputeHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleComputeHelper.DateCheckerMonthWeekday |
Constructor and Description |
---|
ScheduleComputeHelper() |
Modifier and Type | Method and Description |
---|---|
static long |
computeDeltaNextOccurance(ScheduleSpec spec,
long afterTimeInMillis,
TimeZone timeZone,
TimeAbacus timeAbacus)
Computes the next lowest date in milliseconds based on a specification and the
from-time passed in and returns the delta from the current time.
|
static long |
computeNextOccurance(ScheduleSpec spec,
long afterTimeInMillis,
TimeZone timeZone,
TimeAbacus timeAbacus)
Computes the next lowest date in milliseconds based on a specification and the
from-time passed in.
|
public static long computeNextOccurance(ScheduleSpec spec, long afterTimeInMillis, TimeZone timeZone, TimeAbacus timeAbacus)
spec
- defines the scheduleafterTimeInMillis
- defines the start timetimeZone
- time zonetimeAbacus
- time abacuspublic static long computeDeltaNextOccurance(ScheduleSpec spec, long afterTimeInMillis, TimeZone timeZone, TimeAbacus timeAbacus)
spec
- defines the scheduleafterTimeInMillis
- defines the start timetimeZone
- time zonetimeAbacus
- time abacus