Added formats and refactored DateTimeRange.java.