jsonb-api
jsonb-api copied to clipboard
TimeZone serialization
From the JSON-B specification:
The serialization format of
java.util.TimeZoneandSimpleTimeZoneisNormalizedCustomIDas specified injava.util.TimeZone.
The NormalizedCustomID format is defined in the JavaDoc for TimeZone. A valid normalized custom ID is, for example, GMT+01:00. The test DatesMappingTest#testLongTimeZoneMapping serializes TimeZone.getTimeZone("America/Los_Angeles") and expects "America/Los_Angeles". However, this is not a valid NormalizedCustomID.