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;
}
});