Defines and implements time and time domains.