author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Wed, 01 Oct 2008 11:23:11 +0200 | |
changeset 32 | 2198184978d5 |
parent 6 | 97662396c0fd |
permissions | -rw-r--r-- |
1 package org.apidesign.apifest08.currency;
3 import java.math.BigDecimal;
5 /**
6 * Provider for conversion constant from any source
7 * @author Ladislav Vitasek
8 */
9 public interface ConversionRatioProvider {
10 public BigDecimal getCurrency1ToCurrency2Constant() throws CannotProvideValueException;
11 public BigDecimal getCurrency2ToCurrency1Constant() throws CannotProvideValueException;
12 }