Skip to content

mP1/j2cl-java-util-Currency

Repository files navigation

Build Status Coverage Status License Language grade: Java Total alerts J2CL compatible

j2cl java.util.Currency

This project aims to provide a more complete java.util.Currency sourcing locale sensitive data at build time using an annotation processor.

  • Serialization is not supported, and all support classes and forms including magic methods such as writeReplace are removed.

Annotation processor arguments

Missing/Unsupported APIs

java.util.Currency

  • getDisplayName (all overloads) are not supported. This would require considerable data due to localization.

Transpiling

The j2cl-maven-plugin will shade the source during the transpile phase, so Currency is available in javascript as java.util.Currency.

IDE build setup

Annotation processors from class path must be enabled as some tests test the output of generated classes.

The star/wildcard may need to be escaped with a backslash.

Intellij -> System Preferences -> Annotation Processors

About

An more complete emulated java.util.Currency for use in a j2cl environment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages