changed the internal structure of class Time (and related classes)