Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages