KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jscience > economics > money > Money


1 /*
2  * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
3  * Copyright (C) 2006 - JScience (http://jscience.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package org.jscience.economics.money;
10
11 import javax.measure.quantities.Quantity;
12 import javax.measure.units.BaseUnit;
13
14 /**
15  * This interface represents something generally accepted as a medium of
16  * exchange, a measure of value, or a means of payment. The units for money
17  * quantities is of type {@link Currency}.
18  *
19  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
20  * @version 3.0, February 13, 2006
21  */

22 public interface Money extends Quantity<Money> {
23
24     /**
25      * Holds the base unit for money quantities (symbol "¤", currency symbol).
26      */

27     public final static BaseUnit<Money> BASE_UNIT = new BaseUnit<Money>("¤");
28
29 }
Popular Tags