Releases: ethlo/itu
Releases · ethlo/itu
v1.7.2
v1.7.1
v1.7.0
v1.6.1
New helper methods were added to deal with different granularity.
Validate to different required granularity:
ITU.isValid("2017-12-06", TemporalType.LOCAL_DATE_TIME);
Allowing handling different levels of granularity:
return ITU.parse("2017-12-06", new TemporalHandler<>()
{
@Override
public OffsetDateTime handle(final LocalDate localDate)
{
return localDate.atTime(OffsetTime.of(LocalTime.of(0, 0), ZoneOffset.UTC));
}
@Override
public OffsetDateTime handle(final OffsetDateTime offsetDateTime)
{
return offsetDateTime;
}
});
v1.6.0
v1.5.2
v1.5.1
ITU is now using a list of known leap-second dates in the past and keeps the current rule for date-times after the last known leap-second year/date. This will avoid breaking the parsing of valid leap second due to not having the very last updated list of leap-seconds. The LeapSecondException
now has a new method to allow for checking if this is indeed a valid leap-second according to the list, via boolean isVerifiedValidLeapYearMonth()
.