class Duration implements Cloneable, Serializable, Comparable<Duration>, JAXBable<JAXBDuration> {

    public BigDecimal getMagnitude()
    {
        return BigDecimal.valueOf(myUnscaledMagnitude, myScale);
    }

    public  Duration(BigDecimal magnitude);
    protected  Duration(long unscaledMagnitude, int scale);

}