com.vaadin.client.ui.calendar.schedule
Class WeekGridMinuteTimeRange

java.lang.Object
  extended by com.vaadin.client.ui.calendar.schedule.WeekGridMinuteTimeRange

public class WeekGridMinuteTimeRange
extends java.lang.Object

Internally used by the calendar

Since:
7.1

Constructor Summary
WeekGridMinuteTimeRange(java.util.Date start, java.util.Date end)
          Creates a Date time range between start and end date.
 
Method Summary
static boolean doesOverlap(WeekGridMinuteTimeRange a, WeekGridMinuteTimeRange b)
           
 java.util.Date getEnd()
           
 java.util.Date getStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeekGridMinuteTimeRange

public WeekGridMinuteTimeRange(java.util.Date start,
                               java.util.Date end)
Creates a Date time range between start and end date. Drops seconds from the range.

Parameters:
start - Start time of the range
end - End time of the range
clearSeconds - Boolean Indicates, if seconds should be dropped from the range start and end
Method Detail

getStart

public java.util.Date getStart()

getEnd

public java.util.Date getEnd()

doesOverlap

public static boolean doesOverlap(WeekGridMinuteTimeRange a,
                                  WeekGridMinuteTimeRange b)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.