Skip to content

Releases: ethlo/itu

v1.10.2

17 Apr 07:11
Compare
Choose a tag to compare

Fixes issue #31 - A single trailing character after end of date-time was parsed was not raised as an error. Thanks a lot to @justin-tay for reporting it!

v1.10.1

11 Feb 15:45
Compare
Choose a tag to compare

Fix OSGI build to include ITU v1.10.0 custom parsers

v1.10.0

06 Feb 07:32
Compare
Choose a tag to compare

New features

  • Support for parsing non-standard formats using DateTimeParsers.of(...) builder. See sample section for more information.
  • Even more specific error messages when parsing.

v1.9.0

30 Jan 16:00
Compare
Choose a tag to compare

New features

  • Support for parseDateTime(...) with java.text.ParsePosition. This avoids the need to use substring for passing in the date-time string.
  • Support for parsing leniently with ParseConfig which allows the configuration of the date/time separator (typically T) and the fragment separator (typically .).
  • More expressive and better aligned error messages.

v1.8.0

23 Jan 14:18
Compare
Choose a tag to compare

New features
Parsing will now throw an DateTimeParseExceptioninstead of the parent DateTimeException. This gives access to the index of the error if any.

Bug-fixes

  • An ArrayIndexOutOfBoundsException would be thrown in case of a specific, erroneous date-time string.
  • Parsing a date-time with a leap-second, but without time-offset would throw a NullPointerException due to the missing ZoneOffset.

Remediation
There has now been added additional tests and even intelligent fuzzer tests through the use of Jazzer.

v1.7.7

22 Jan 10:47
Compare
Choose a tag to compare

com.ethlo.time.DateTime now supports toInstant() with a best-effort approach, so it will parse according to RFC-3339, but it will not raise an error for missing granularity nor timezone information.

1.7.6

05 Jan 13:35
Compare
Choose a tag to compare

com.ethlo.time.DateTime now implements java.time.temporal.TemporalAccessor

v1.7.5

28 Dec 11:19
Compare
Choose a tag to compare
  • Releasing a minified version for scenarios where every KB counts. Use <classifier>small</classifier> to use it.
  • Even faster parsing performance. 1.7.5 is more than twice as fast as 1.7.0.
  • NOTE: Parsing to OffsetDateTime now emit error messages closer to parsing via java.time.

1.7.4

27 Dec 09:39
Compare
Choose a tag to compare

Parser performance and GC improvements.
JMH tests indicate about 40% faster parsing.

v1.7.3

27 Jun 14:29
Compare
Choose a tag to compare

Added OSGI support - thanks to @marcoSpoethAtYatta