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

    public boolean isBefore(TimeSpan o)
    {
        return precedesIntersectsOrTrails(o) > 0;
    }

}