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

    public TimeInstant getMidpointInstant()
    {
        return TimeInstant.get(getMidpoint());
    }

}