[Minor] Added ISO8601.YEAR_3000

This commit is contained in:
Robert von Burg 2023-03-03 17:01:23 +01:00
parent 9f3a86fa78
commit 6e84d72908
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public class ISO8601 implements DateFormat {
private static final Logger logger = LoggerFactory.getLogger(ISO8601.class);
public static final Date EMPTY_VALUE = parseToDate("-");
public static final ZonedDateTime YEAR_3000 = LocalDate.of(3000, 1, 1).atStartOfDay(systemDefault());
public static final ZonedDateTime EMPTY_VALUE_ZONED_DATE = ZonedDateTime.ofInstant(EMPTY_VALUE.toInstant(),
systemDefault());