/j2cl-java-util-Locale-annotation-processor

An annotation processor that create a LocaleProvider which is consumed by Locale.

Primary LanguageJavaApache License 2.0Apache-2.0

Build Status Coverage Status License Language grade: Java Total alerts

j2cl java-util-Locale-annotation-processor

An annotation processor that generates the LocaleProvider used by the emulated java.util.Locale.

Several options are required to select the default and available locales.

<compilerArgs>
    <arg>-Awalkingkooka.j2cl.java.util.Locale=EN-*</arg>
    <arg>-Awalkingkooka.j2cl.java.util.Locale.DEFAULT=en-AU</arg>
    <arg>-Awalkingkooka.j2cl.locale.Logging=SLASH_SLASH_COMMENTS</arg>
</compilerArgs>

The above selects all English locales along with a default locale of Australian English.

For more details click here

Runtime features.

See j2cl-java-util-Locale for a more comprehensive summary.