1 description = Reports using timeperiods
2 logfile = softstates.log
4 # for now, these tests only work when run on CET-using machine
7 # mon feb 11 00:00:00 CET 2008
8 start_time = 1202684400
9 # tue feb 12 00:00:00 CET 2008
16 timeperiod_name = an_exclude
17 2008-02-11 = 22:00-23:30
21 monday lunchtime 12:00-13:00 {
26 TIME_UP_UNSCHEDULED = 3600
36 TIME_UP_UNSCHEDULED = 4200
38 TOTAL_TIME_ACTIVE = 4200
42 slightly tricksier timeperiod {
44 monday = 02:15-03:25,04:15-05:25
47 TIME_UP_UNSCHEDULED = 8400
49 TOTAL_TIME_ACTIVE = 8400
53 tricksy timeperiod indeed {
55 monday = 00:15-00:25,01:15-01:25,02:15-02:25,03:15-03:25,04:00-05:00
58 TIME_UP_UNSCHEDULED = 6000
60 TOTAL_TIME_ACTIVE = 6000
64 timeperiod with simple exception {
67 2008-02-11 = 22:00-23:30
70 TIME_UP_UNSCHEDULED = 4200
71 TIME_DOWN_UNSCHEDULED = 1200
76 # ensure that exceptions are only added once
77 timeperiod with simple exception and three days {
78 # sun feb 10 00:00:00 CET 2008
79 start_time = 1202598000
80 # wed feb 13 00:00:00 CET 2008
84 2008-02-11 = 22:00-23:30
87 TIME_UP_UNSCHEDULED = 4200
88 TIME_DOWN_UNSCHEDULED = 1200
89 TIME_INACTIVE = 253800
93 timeperiod with simple excludes {
101 TIME_UP_UNSCHEDULED = 79200
102 TIME_DOWN_UNSCHEDULED = 1800
107 # apparently, some versions have failed to set the "down" event's stop to the
108 # timeperiod end, rather than the report period end.
114 TIME_UP_UNSCHEDULED = 600
115 TIME_DOWN_UNSCHEDULED = 1200
116 TIME_INACTIVE = 84600