class TimelineUtilities {

    static Calendar getEndCalendar(TimeSpan span)
    {
        assert !span.isInstantaneous();
        Date endDate = span.getEndDate();
        return isAt0000(endDate) ? get0000(endDate) : getNext0000(endDate);
    }

    private  TimelineUtilities();

}