Localization (natural language support)
SaxonJ now uses the Java java.time.ZoneId
class for handling timezones in place of the old
java.util.Timezone
. This may affect the set of timezone names that are recognized.
The new Java library is less US-focused and more international, and therefore deprecates use of ambiguous timezone abbreviations such as "EST" and "PDT". Saxon follows suit. In the interests of backwards compatibility, timezone abbreviations requested using format-dateTime(), etc. with a format specifier of "ZN" now use such timezone abbreviations only if (a) the fifth argument ("place") is "us", "uk", or "gb", or an IANA timezone name starting with "America/", and (b) the actual timezone is one of a small number of commonly used timezones, specifically those used in North America and Europe.