/jsr354-ri

JSR 354 - Moneta: Reference Implementation

Primary LanguageJavaOtherNOASSERTION

JSR 354: Money and Currency: Moneta Reference Implementation

Maven Central Build Status Coverage Status Stability: Maintenance License Join the chat at https://gitter.im/JavaMoney/jsr354-ri

The Moneta is a reference implementation (RI) of the JSR 354 Money & Currency API and provides:

  • Monetary amounts: fixed sized FastMoney and Money for big amounts.
  • Currency conversion and rate providers.
  • Custom currencies support like the Bitcoin.

See Moneta User Guide for an introduction.

Usage

You can access the RI by adding the following Maven dependencies:

<dependency>
  <groupId>org.javamoney</groupId>
  <artifactId>moneta</artifactId>
  <version>1.3</version>
  <type>pom</type>
</dependency>

The same for Gradle:

compile group: 'org.javamoney', name: 'moneta', version: '1.3', ext: 'pom'

SBT:

libraryDependencies += "org.javamoney" % "moneta" % "1.3" pomOnly()

The release artifacts are accessible from the following repositories:

Release notes

The library supports JDK8 and later but also is available a limited backport to JDK7 jsr354-ri-bp.

Help and support

Ask your question at StackOverflow with tag java-money or join the Gitter chat.