Each time period has a starting time, and an ending time (which is implicit by the next starting time specified in another structure). The starting time is specified internally as the number of seconds after midnight, where midnight itself has a value of zero.