class DateTimeDay extends DateTimePeriod {

    @Override
    public DateTimePeriod getPrevious() {
        DateTime previous = getStart().minusDays(1);
        return DateTimePeriod.createDay(previous);
    }

    protected  DateTimeDay(DateTime start, DateTime end);

}