class TimelineUtilities {

    public static boolean isWeek(TimeSpan span)
    {
        Calendar startCal = CalendarUtilities.toCalendar(span.getStartDate());
        return startCal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY
                && CalendarUtilities.isClearedFrom(startCal, CalendarUtilities.HOUR_INDEX)
                && span.getDuration().equalsIgnoreUnits(Weeks.ONE);
    }

    private  TimelineUtilities();

}