The Definitions class represent a specific definitions information.
Definitions( timestamp startTime timestamp endTime string daysInWeek timestamp timeRangeStart interger timeRangeDuration)
The Definitions constructor; Creates a new Definitions instance by a separate definitions fields.
timestamp startTime
When start checking for this rule (dd/mm/yyyy hh:mm:ss).
timestamp endTime
When stop checking for this rule (dd/mm/yyyy hh:mm:ss).
string daysInWeek
Which days to check this rule (1,2,3,4,5,6,7).
timestamp timeRangeStart
The time range for this rule (hh:mm:ss).
integer timeRangeDuration
The time duration for this rule (in millis).