<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>

<document>

 <properties>
  <title>Home</title>
  <author><NAME></author>
 </properties>

 <body>

<section name="Joda Money">
<p>
Joda-Money provides a library of classes to store amounts of money.
</p>
<p>
Joda-Money does not provide, nor is it intended to provide, monetary algorithms beyond the most basic and obvious.
This is because the requirements for these algorithms vary widely between domains.
This library is intended to act as the base layer, providing classes that should be in the JDK.
</p>
<!--p>
As a flavour of Joda-Money, here's some example code:
<source>
  <span class="comment">// create a monetary value</span>
  <a href="apidocs/org/joda/money/Money.html">Money</a> money = Money.parse("USD 23.87");
  
  <span class="comment">// add another amount with safe double conversion</span>
  <a href="apidocs/org/joda/money/CurrencyUnit.html">CurrencyUnit</a> usd = CurrencyUnit.of("USD");
  money = money.plus(Money.of(usd, 12.43d));
  
  <span class="comment">// subtracts an amount in dollars</span>
  money = money.minusMajor(2);
  
  <span class="comment">// multiplies by 3.5 with rounding</span>
  money = money.multipliedBy(3.5d, RoundingMode.DOWN);
  
  <span class="comment">// compare two amounts</span>
  boolean bigAmount = money.isGreaterThan(dailyWage);
  
  <span class="comment">// convert to GBP using a supplied rate</span>
  BigDecimal conversionRate = ...;  <span class="comment">// obtained from code outside Joda-Money</span>
  Money moneyGBP = money.convertTo(CurrencyUnit.GBP, conversionRate);
  
  <span class="comment">// use a BigMoney for more complex calculations where scale matters</span>
  <a href="apidocs/org/joda/money/BigMoney.html">BigMoney</a> moneyCalc = money.toBigMoney();
</source>
</p-->
<p>
Users are reminded that this software, like all open source software, is <a href="license.html">provided</a>
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
</p>
<p>
Version 0.5 was released on 2008-11-17 -
<a href="https://sourceforge.net/projects/joda-money/files/joda-money/0.5/">Download now</a><br />
Joda Money is licensed under the business-friendly <a href="license.html">Apache 2.0 licence</a>.
</p>
</section>


<section name="Documentation">
<p>
Various documentation is available:
<ul>
<li>The javadoc for the <a href="apidocs/index.html">current release</a></li>
<li>The <a href="userguide.html">user guide</a></li>
<!--li>A <a href="faq.html">FAQ</a> list</li-->
<li>The <a href="http://joda-money.svn.sourceforge.net/viewvc/joda-money/JodaMoney/trunk/">Subversion repository</a></li>
</ul>
</p>
</section>


<section name="Releases">
<p><commit_msg>Change svn repo to github repo<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>

<document>

 <properties>
  <title>Home</title>
  <author><NAME></author>
 </properties>

 <body>

<section name="Joda Money">
<p>
Joda-Money provides a library of classes to store amounts of money.
</p>
<p>
Joda-Money does not provide, nor is it intended to provide, monetary algorithms beyond the most basic and obvious.
This is because the requirements for these algorithms vary widely between domains.
This library is intended to act as the base layer, providing classes that should be in the JDK.
</p>
<!--p>
As a flavour of Joda-Money, here's some example code:
<source>
  <span class="comment">// create a monetary value</span>
  <a href="apidocs/org/joda/money/Money.html">Money</a> money = Money.parse("USD 23.87");
  
  <span class="comment">// add another amount with safe double conversion</span>
  <a href="apidocs/org/joda/money/CurrencyUnit.html">CurrencyUnit</a> usd = CurrencyUnit.of("USD");
  money = money.plus(Money.of(usd, 12.43d));
  
  <span class="comment">// subtracts an amount in dollars</span>
  money = money.minusMajor(2);
  
  <span class="comment">// multiplies by 3.5 with rounding</span>
  money = money.multipliedBy(3.5d, RoundingMode.DOWN);
  
  <span class="comment">// compare two amounts</span>
  boolean bigAmount = money.isGreaterThan(dailyWage);
  
  <span class="comment">// convert to GBP using a supplied rate</span>
  BigDecimal conversionRate = ...;  <span class="comment">// obtained from code outside Joda-Money</span>
  Money moneyGBP = money.convertTo(CurrencyUnit.GBP, conversionRate);
  
  <span class="comment">// use a BigMoney for more complex calculations where scale matters</span>
  <a href="apidocs/org/joda/money/BigMoney.html">BigMoney</a> moneyCalc = money.toBigMoney();
</source>
</p-->
<p>
Users are reminded that this software, like all open source software, is <a href="license.html">provided</a>
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
</p>
<p>
Version 0.5 was released on 2008-11-17 -
<a href="https://sourceforge.net/projects/joda-money/files/joda-money/0.5/">Download now</a><br />
Joda Money is licensed under the business-friendly <a href="license.html">Apache 2.0 licence</a>.
</p>
</section>


<section name="Documentation">
<p>
Various documentation is available:
<ul>
<li>The javadoc for the <a href="apidocs/index.html">current release</a></li>
<li>The <a href="userguide.html">user guide</a></li>
<li>A <a href="faq.html">FAQ</a> list</li>
<!--li>Information on <a href="installation.html">downloading and installing</a> Joda-Primitives</li-->
<li>The <a href="https://github.com/JodaOrg/joda-money">GitHub</a> source repository</li>
</ul>
</p>
</section>


<section name="Releases">
<p>
{'fraction_non_alphanumeric': 0.1582116788321168, 'fraction_numerical': 0.012408759124087591, 'mean_word_length': 4.604294478527607, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 2, '>': 161, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3590868', 'n_tokens_mistral': 1908, 'n_tokens_neox': 1778, 'n_words': 540}