Currently PartialDateTime simply omits any non-existent date/time fields in it's textual representation (toString(), parse()). Missing year should be changed ISO 8601 compliant, by adding single - in at the beginning. Although this representation is now disallowed by the standard, it is still widely used where applicable (e.g. Java MonthDay).
This is a breaking change. The textual representation is also used as JSON-serialized representation.
Currently
PartialDateTime
simply omits any non-existent date/time fields in it's textual representation (toString()
,parse()
). Missing year should be changed ISO 8601 compliant, by adding single-
in at the beginning. Although this representation is now disallowed by the standard, it is still widely used where applicable (e.g. Java MonthDay).This is a breaking change. The textual representation is also used as JSON-serialized representation.