class Value implements Monetary, Comparable<Value>, Serializable {

    public boolean within(Value min, Value max) {
        return compareTo(min) >=0 && compareTo(max) <= 0;
    }

      Value(final ValueType type, final long units);

}