simple subclass of DateTime, which provides methods to work in period context such as a day.