The Time class lacks documentation. There are many calendars and conventions for time. It must be clearly stated which are used in Daisy so callers can use Time without having to inspect the implementation and/or test it to find out.
The only documented behaviour is that Time::wday maps Monday to 1 and Sunday to 7, and that Time::yday2wday maps Monday to 0 and Sunday to 6. But wday is implemented as
The Time class lacks documentation. There are many calendars and conventions for time. It must be clearly stated which are used in Daisy so callers can use Time without having to inspect the implementation and/or test it to find out.
The only documented behaviour is that
Time::wday
maps Monday to 1 and Sunday to 7, and thatTime::yday2wday
maps Monday to 0 and Sunday to 6. Butwday
is implemented as