Moneta (JSR 354 RI)

JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with Money and Currency. This module implements JSR 354.

License

License

Apache 2 License
Categories

Categories

Net
GroupId

GroupId

org.javamoney
ArtifactId

ArtifactId

moneta
Last Version

Last Version

1.4.2
Release Date

Release Date

Type

Type

pom
Description

Description

Moneta (JSR 354 RI)
JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with Money and Currency. This module implements JSR 354.
Project URL

Project URL

http://javamoney.org
Project Organization

Project Organization

JavaMoney
Source Code Management

Source Code Management

https://github.com/JavaMoney/jsr354-ri

Download moneta

Filename Size
moneta-1.4.2.pom 16 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.javamoney/moneta/ -->
<dependency>
    <groupId>org.javamoney</groupId>
    <artifactId>moneta</artifactId>
    <version>1.4.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.javamoney/moneta/
implementation 'org.javamoney:moneta:1.4.2'
// https://jarcasting.com/artifacts/org.javamoney/moneta/
implementation ("org.javamoney:moneta:1.4.2")
'org.javamoney:moneta:pom:1.4.2'
<dependency org="org.javamoney" name="moneta" rev="1.4.2">
  <artifact name="moneta" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.javamoney', module='moneta', version='1.4.2')
)
libraryDependencies += "org.javamoney" % "moneta" % "1.4.2"
[org.javamoney/moneta "1.4.2"]

Dependencies

compile (6)

Group / Artifact Type Version
org.javamoney.moneta : moneta-core jar 1.4.2
org.javamoney.moneta : moneta-convert jar 1.4.2
org.javamoney.moneta : moneta-convert-imf jar 1.4.2
org.javamoney.moneta : moneta-convert-ecb jar 1.4.2
javax.money : money-api jar 1.1
javax.annotation : javax.annotation-api jar 1.3.2

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.13.1

Project Modules

There are no modules declared in this project.

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.4.2</version>
  <type>pom</type>
</dependency>

The same for Gradle:

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

SBT:

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

The release artifacts are accessible from the following repositories:

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.

org.javamoney

Money and Currency API | JavaMoney

Money and Currency API | JavaMoney Project

Versions

Version
1.4.2
1.4.1
1.4
1.3
1.2.1
1.2
1.1
1.0
1.0-RC3
1.0-RC2
1.0-RC1
0.9
0.8