\ScheduleRange
A date range class that can hold: - specific date range (e.g 01/01/2015 to 29/01/2015 - specific day range (e.g Mon to Friday) - specific day type range (e.g Weekday or Weekend)
- Author: Stephen McMahon <stephen@symbiote.com.au>
Synopsis
class ScheduleRange
extends DataObject
{
- // methods
- public void getCMSFields()
- public void getCMSValidator()
- public object|null getNextDateTime()
- protected void getScheduleDateTime()
- public void getStartDateTime()
- public Datetime getEndDateTime()
- public Datetime getLastScheduleTime()
- public void __accessForgetScheduleDay()
- protected void getScheduleDay()
- protected void goToNextDay()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_one
protected
- $day
—
Int
The day we're at in a Range when looking for the next valid.
Methods
protected
public
- __accessForgetScheduleDay()
- getCMSFields()
- getCMSValidator()
- getEndDateTime() — The end time for the start/end block
- getLastScheduleTime() — The end time for the start/end block
- getNextDateTime() — Detrimines the next valid time and date for this schedule to execute
- getStartDateTime()