Skip to content

JavaMoney/jsr354-ri

Folders and files

NameName
Last commit message
Last commit date
Jan 18, 2024
Mar 13, 2020
Sep 6, 2024
Sep 1, 2024
Apr 22, 2024
Apr 20, 2024
Jan 23, 2024
May 4, 2015
Feb 21, 2023
Apr 20, 2024
Oct 8, 2013
Oct 8, 2013
Aug 26, 2024
May 1, 2021

Repository files navigation

JSR 354: Money and Currency: Moneta Reference Implementation

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

Moneta is the 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.4.4</version>
  <type>pom</type>
</dependency>

The same for Gradle:

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

SBT:

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

The release artifacts are accessible from Maven Central.

Release notes

The implementation supports JDK8 and later.

Help and support

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