Public Member Functions | |
PeriodicityType | computeTriggeringPeriod (const String &datePattern) |
const helpers::TimeZonePtr | getTimeZone () const |
void | setTimeZone (const helpers::TimeZonePtr &timeZone) |
|
This method computes the roll over period by looping over the periods, starting with the shortest, and stopping when the r0 is different from from r1, where r0 is the epoch formatted according the datePattern (supplied by the user) and r1 is the epoch+nextMillis(i) formatted according to datePattern. All date formatting is done in GMT and not local format because the test logic is based on comparisons relative to 1970-01-01 00:00:00 GMT (the epoch). |
|
Gets the time zone.
|
|
Sets the time zone with the given time zone value.
|