-
Notifications
You must be signed in to change notification settings - Fork 4
/
lib.html
187 lines (163 loc) · 10.4 KB
/
lib.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaMoney</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<meta name="keywords" content="">
<!-- Le styles -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/asciidoctor.css" rel="stylesheet">
<link href="/css/base.css" rel="stylesheet">
<link href="/css/bootstrap-responsive.min.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<!--<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">-->
<link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<div id="wrap">
<!-- Fixed navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="/">JavaMoney</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="/archive.html">Blog</a></li>
<li><a href="https://github.com/JavaMoney/" target="_blank">View on GitHub</a></li>
<li><a href="feed.xml" target="_blank">RSS Subscribe</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Links <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="nav-header">JSR 354</li>
<li><a href="/api.html">API</a></li>
<li><a href="apidocs/">API (JavaDoc)</a></li>
<li><a href="/ri.html">Moneta Reference Implementation (RI)</a></li>
<li><a href="/tck.html">Technical Compatibility Kit (TCK)</a></li>
<li><a href="https://jcp.org/en/jsr/detail?id=354" target="_blank">Detail Page</a></li>
<li class="divider"></li>
<li class="nav-header">JavaMoney</li>
<li><a href="/lib.html">Library</a></li>
<li><a href="/midas.html">Midas</a></li>
<li><a href="https://github.com/JavaMoney/javamoney-examples" target="_blank">Examples</a></li>
<li><a href="/shelter.html">Shelter</a></li>
<li><a href="http://jadira.sourceforge.net/usertype.extended/" target="_blank">Jadira Usertype Extended (Hibernate support)</a></li>
<li><a href="https://github.com/zalando/jackson-datatype-money" target="_blank">Jackson Datatype Money by Zalando</a></li>
<li class="divider"></li>
<li class="nav-header">Additional Information</li>
<li><a href="https://groups.io/g/javamoney/" target="_blank">[email protected]</a></li>
<li><a href="https://github.com/JavaMoney/jsr354-api-bp" target="_blank">API - Backport to Java 7 (API BP)</a></li>
<li><a href="https://github.com/JavaMoney/jsr354-ri-bp" target="_blank">Moneta Reference Implementation - Backport to Java 7 (RI BP)</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<div class="page-header">
<h1>Library</h1>
</div>
<p><em>10 Juli 2016</em></p>
<p>
<header>
<h1>JavaMoney Library</h1>
<h2>JavaMoney financial library, evolved from JSR 354 development.</h2>
</header>
<section id="downloads" class="clearfix">
<a href="https://github.com/JavaMoney/javamoney-lib/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
<a href="https://github.com/JavaMoney/javamoney-lib/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
<a href="https://github.com/JavaMoney/javamoney-lib" id="view-on-github" class="button"><span>View on GitHub</span></a>
</section>
<hr>
<section id="main_content">
<h3>
<a name="welcome-to-the-javamoney-financial-library" class="anchor" href="#welcome-to-the-javamoney-financial-library"><span class="octicon octicon-link"></span></a>Welcome to the JavaMoney financial library.</h3>
<p><a href="https://github.com/JavaMoney/javamoney-lib" target="_blank">JavaMoney-lib</a> is a financial library that is built upon JSR 354 (or compatible libraries). Whereas the JSR 354 API and reference implementation provides the fundamentals like monetary amounts, customizable currencies and interfaces for interoperation this library adds additional powerful APIs and SPIs that were implemented during JSR development as a proof of concept:</p>
<ul>
<!--
<li>
<strong>Currency Conversion</strong>, supporting multiple conversion data providers, direct and derived (chained) rates, current, as well as historic conversion. Also feed implementations from the European Central Bank (EZB) and the International Monetary Funds (IMF) were available, that support currency conversion back to 1995 for almost every ISO currency.</li>
<li>
<strong>Currency Services</strong>, provide a EE styled service, which allows querying currencies available and supports mapping between different currency naming schemes.</li>
<li>
<strong>Formatting</strong> provides an extensible formatting library that allows to define complex formatters, that can be configured in arbitrary ways using <code>LocalizationStyle</code> instances. Also available is a flexible Builder for creating arbitrary complex formatters and parsers based on an ordered set of arbitrary tokens.</li>
<li>
<strong>Region API</strong> provides a forest (a set of trees) of regions. This allows to model regional hierarchies in a more flexible and intuitive way, than adding all functionalities into <code>java.util.Locale</code>. By default the Unicode CLDR region tree, well as ISO countries defined by the 2- or 3-letter country code are available. Of course, the API is fully extendible, so customer related regions such as legal units, customer segments etc can be mapped easily to this API, also.</li>
<li>
<strong>Validity API</strong> This API provides a generic API for accessing historic validity information for arbitrary items, and for relationships between items. By default the API provides access to the historic relationship of currencies to countries using the Unicode CLDR data.</li>
<li>
<strong>common</strong> provides general functionality, such as an automatic data loader, which allows to update and locally cache arbitrary remote resources, and inform clients, if a new version of a resource was detected.</li>
-->
<li>
<strong>calc</strong> finally provides a set of monetary calculations and formulas. The idea here is to provide a comprehensive set of algorithms and tools to perform complex financial mathematics. </li>
<li>
<strong>bundles</strong> finally provides the library in different flavors, targeting different execution environments:
<ul>
<li><strong>se</strong> loading SPIs only using the JDK <code>ServiceLoader</code>.</li>
<li><strong>se-cdi</strong> loading SPIs based on a Weld SE container.</li>
<li><strong>ee</strong> loading SPIs based on CDI in a Java EE environment >= EE6.</li>
</ul>
</li>
</ul>
<!--
<p>To use the library you simply have to add the Maven dependency to your project.</p>
<pre><code><dependency>
<groupId>org.javamoney</groupId>
<artifactId>javamoney-${module}<artifactId>
<versionId>the current version</version>
</dependency>
</code></pre>
<p>
The release artifacts should be accessible from the following repositories:
<ul>
<li>Maven Central</li>
</ul>
</p>
-->
<h3>
<a name="authors-and-contributors" class="anchor" href="#authors-and-contributors"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>
<p>Different people have contributed to this project. During the development of JSR 354, <a href="https://github.com/atsticks" class="user-mention">@atsticks</a> and <a href="https://github.com/keilw" class="user-mention">@keilw</a> founded this project and were also the main contributors. Nevertheless everybody is really welcome to help us, to make this library more feasible and add features.</p>
<h3>
<a name="javamoney-shelter" class="anchor" href="#javamoney-shelter"><span class="octicon octicon-link"></span></a>javamoney-shelter</h3>
<p>The <a href="shelter.html">JavaMoney Shelter</a> module is for testing out new features or modules before they may enter the official JavaMoney library.
</p>
</section>
</p>
<hr>
</div>
<div id="push"></div>
</div>
<div id="footer">
<div class="container">
<p>Having trouble with JavaMoney?
Ask your question at <a href="https://stackoverflow.com/questions/tagged/java-money+jsr354" target="_blank">StackOverflow</a> with tag <code>java-money</code>.
Join the Gitter chat <a href="https://gitter.im/orgs/JavaMoney/rooms" target="_blank"><img src="https://badges.gitter.im/Join%20Chat.svg"/></a>.
Or contact <a href="mailto:[email protected]">[email protected]</a>
</p>
<p class="muted credit">© 2024 JavaMoney | Mixed with <a href="https://getbootstrap.com/">Bootstrap v2.3.2</a> | Baked with <a href="http://jbake.org">JBake v2.6.7</a></p>
</div>
</div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery-1.9.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/run_prettify.js"></script>
</body>
</html>