All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.moneta-bp.1.3.source-code.javamoney.properties Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.4.1
Show newest version
# Copyright (c) 2012, 2015, Credit Suisse (Anatole Tresch), Werner Keil and others by the @author tag.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
#
# Default MathContext for Money
#-------------------------------
# Custom MathContext, overrides entries from 
{-1}org.javamoney.moneta.Money.defaults.precision=256
# RoundingMode enum values
{-1}org.javamoney.moneta.Money.defaults.roundingMode=HALF_EVEN
# or, use one of DECIMAL32,DECIMAL64(default),DECIMAL128,UNLIMITED
# org.javamoney.moneta.Money.defaults.mathContext=DECIMAL128

# ResourceLoader-Configuration (optional)
# ECB Rates
{-1}load.ECBCurrentRateProvider.type=SCHEDULED
{-1}load.ECBCurrentRateProvider.period=03:00
{-1}load.ECBCurrentRateProvider.resource=/java-money/defaults/ECB/eurofxref-daily.xml
{-1}load.ECBCurrentRateProvider.urls=https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

{-1}load.ECBHistoric90RateProvider.type=SCHEDULED
{-1}load.ECBHistoric90RateProvider.period=03:00
#{-1}load.ECBHistoric90RateProvider.at=12:00
{-1}load.ECBHistoric90RateProvider.resource=/java-money/defaults/ECB/eurofxref-hist-90d.xml
{-1}load.ECBHistoric90RateProvider.urls=https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml

{-1}load.ECBHistoricRateProvider.type=SCHEDULED
{-1}load.ECBHistoricRateProvider.period=24:00
{-1}load.ECBHistoricRateProvider.delay=01:00
{-1}load.ECBHistoricRateProvider.at=07:00
{-1}load.ECBHistoricRateProvider.resource=/java-money/defaults/ECB/eurofxref-hist.xml
{-1}load.ECBHistoricRateProvider.urls=https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml

# IMF Rates
{-1}load.IMFRateProvider.type=SCHEDULED
{-1}load.IMFRateProvider.period=06:00
#{-1}load.IMFRateProvider.delay=12:00
#{-1}load.IMFRateProvider.at=12:00
{-1}load.IMFRateProvider.resource=/java-money/defaults/IMF/rms_five.xls
{-1}load.IMFRateProvider.urls=https://www.imf.org/external/np/fin/data/rms_five.aspx?tsvflag=Y

#Currency Conversion
{-1}conversion.default-chain=IDENT,ECB,IMF,ECB-HIST,ECB-HIST90

#Values to Test Override Mechanism
{1}theWinner1=theWinner1
theWinner2=theLooser1
{-1}theWinner3=theLooser1




© 2015 - 2024 Weber Informatics LLC | Privacy Policy