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

    public boolean formsContiguousRange(TimeSpan other)
    {
        return overlaps(other) || touches(other);
    }

}