Converts string date range formats to valid LocalDateTime instances.
Converts string date range formats to valid LocalDateTime instances.
Valid string ranges are: (1) a year range e.g. 2014-2016 mapped to (2014-01-01, 2016-12-31). (2) a single year range e.g. 2014 mapped to (2014-01-01, 2014-12-31). (3) a year-month range e.g. 2014-01 mapped to (2014-01-01, 2014-01-31). (4) a complete date e.g. 2014-01-01 mapped to (2014-01-01, 2014-01-01).
the date range.
a valid LocalDateTime representing the given string range.
Date format parser according to the following pattern yyyy.
Date format parser according to the following pattern yyyy-MM-dd.
Date format representation consisting of a year, month and a day e.g.
Date format representation consisting of a year, month and a day e.g. 2014-12-01.
Date format parser according to the following pattern yyyy-MM.
Date format representation consisting of a year and a month e.g.
Date format representation consisting of a year and a month e.g. 2014-12.
Date format representation consisting of a year only e.g.
Date format representation consisting of a year only e.g. 2014.
Common helper related to time and date operations.