class TimelineUtilities {

    public static boolean isMonth(TimeSpan span)
    {
        Calendar startCal = CalendarUtilities.toCalendar(span.getStartDate());
        boolean isMonth = CalendarUtilities.isClearedFrom(startCal, CalendarUtilities.DAY_INDEX);
        if (isMonth)
        {
            startCal.add(Calendar.MONTH, 1);
            Calendar endCal = CalendarUtilities.toCalendar(span.getEndDate());
            isMonth = startCal.equals(endCal);
        }
        return isMonth;
    }

    private  TimelineUtilities();

}