|
void | addWorkDay (double start_date, double end_date) |
|
void | addWorkDays (JSONArray workDays) |
|
JSONArray | scheduleToJSONArray () |
|
String | toString () |
|
Representation of the Shift work schedule.
A schedule should contain a list of work days ASC by start time.
Free days do not have to be added to the schedule, only the start and end times of a work day.
- Author
- ted@s.nosp@m.ense.nosp@m..nl
void nl.sense_os.cortex.coaching.ShiftWorkCoach.Schedule.addWorkDay |
( |
double |
start_date, |
|
|
double |
end_date |
|
) |
| |
Add a work day to the schedule
Adding work days should be done in increasing order of time
- Parameters
-
start_date | The epoch work day start date in seconds |
end_date | The epoch work day end date in seconds |
void nl.sense_os.cortex.coaching.ShiftWorkCoach.Schedule.addWorkDays |
( |
JSONArray |
workDays | ) |
|
Add a list of work days to the schedule
- Parameters
-
workDays | A JSONArray with JSONObjects which contain the fields start_date and end_date with the work day its start date and end date in epoch seconds resp. |
The documentation for this class was generated from the following file:
- android-sdk/src/nl/sense_os/cortex/coaching/ShiftWorkCoach.java