class TimeSpan implements Comparable<TimeSpan>, Serializable, TimeSpanProvider, SizeProvider {

    public TimeSpan minus(Duration dur)
    {
        if (dur.isZero())
        {
            return this;
        }
        return plus(dur.negate());
    }

}