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

    public boolean isConvertibleTo(Class<? extends Duration> type)
    {
        return isZero() || getReferenceUnits() == create(type, 0L).getReferenceUnits();
    }

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

}