Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.8 KB

File metadata and controls

35 lines (20 loc) · 1.8 KB

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.