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

    public boolean equalsIgnoreUnits(Duration other)
    {
        return this == other || other != null && isConvertibleTo(other) && compareTo(other) == 0;
    }

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

}