Refactoring class DateUtils. Splitted in different classes for
clearness.