[11] RFR: 8181157: CLDR Timezone name fallback implementation

Stephen Colebourne scolebourne at joda.org
Tue Apr 24 22:41:16 UTC 2018


I had a quick look through and didn't see anything obvious, but its
not an area I know well.
Stephen


On 17 April 2018 at 22:28, Naoto Sato <naoto.sato at oracle.com> wrote:
> Hello,
>
> Please review the changes to the following issue:
>
> https://bugs.openjdk.java.net/browse/JDK-8181157
>
> The proposed fix is located at:
>
> http://cr.openjdk.java.net/~naoto/8181157/webrev.05/
>
> This RFE is to implement CLDR time zone names fallback mechanism [1]. Prior
> to this fix, time zone names are substituted with English names. With this
> change, it is generated according to the logic defined in TR 35. Here are
> the highlight of the changes:
>
> CLDRConverter:
> - CLDRConverter has changed to not substitute/invent time zone display
> names, except English bundle for compatibility & runtime performance.
> - For English bundle, copy over COMPAT's names as before.
> - CLDRConverer now parses regionFormat/gmtZeroFormat/exemplarCity
>
> CLDR provider:
> - CLDRTimeZoneNameProviderImpl is introduced to generate fallback names
> at runtime.
> - If COMPAT provider is present, use it also as a fallback, before the
> last resort (GMT offset format)
>
> Naoto
>
> [1] http://www.unicode.org/reports/tr35/tr35-dates.html#Time_Zone_Names


More information about the core-libs-dev mailing list