@head @module time @title time: Time and date
This module contains classes and a utility functions for dealing with times and dates. Date calculations assume the Gregorian calendar that is used everywhere in the Western world. Dates before the initiation of the Gregorian calendar can be used, but they are extrapolated and not historically accurate.
Note: These classes are not aware of time zones and leap seconds.
These constants can be used to specify how the week number of a date is calculated. @var FirstWeek as Constant @desc The week with January 1 is the first week of a year. @end @var FirstFourDayWeek as Constant @desc The first week with at least four days (the first week with a Wednesday) is the first week of the year. @end @var FirstFullWeek as Constant @desc The first week with 7 days is the first week of the year. @end