Skip to content

v1.14.0

Latest
Compare
Choose a tag to compare
@ethlo ethlo released this 21 Feb 09:57
· 1 commit to main since this release

New Features

ISO 8601 Duration Parsing & Formatting

  • Added support for parsing and formatting ISO 8601 durations.
  • Supports full precision, including fractional seconds.
  • Allows days, weeks, hours, minutes, and seconds, while disallowing years and months.
  • Supports negative durations, which start with "-" (e.g., "-P1DT2H").
  • Enforces case sensitivity for units, strictly following ISO 8601 (e.g., P1D is valid, but P1d is not).
  • In the tradition of this library we are at least 5x faster than the JDK parsing and producing much less GC pressure.