A class representing a time period