Home » tomahawk-1.1.6-src » org.apache.myfaces » custom » schedule » model » [javadoc | source]
org.apache.myfaces.custom.schedule.model
public class: ScheduleDay [javadoc | source]
java.lang.Object
   org.apache.myfaces.custom.schedule.model.Day
      org.apache.myfaces.custom.schedule.model.ScheduleDay

All Implemented Interfaces:
    Serializable, Comparable

This class represents one day in the schedule component

Constructor:
 public ScheduleDay(Date date) 
    Creates a new ScheduleDay object.
    Parameters:
    date - the date
Method from org.apache.myfaces.custom.schedule.model.ScheduleDay Summary:
addEntry,   clear,   getFirstEventHour,   getLastEventHour,   isEmpty,   iterator,   remove,   size
Methods from org.apache.myfaces.custom.schedule.model.Day:
compareTo,   equals,   equalsDate,   getDate,   getDayEnd,   getDayStart,   getSpecialDayName,   hashCode,   isWorkingDay,   setSpecialDayName,   setWorkingDay
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.myfaces.custom.schedule.model.ScheduleDay Detail:
 public boolean addEntry(ScheduleEntry entry) 

    Add an entry to this day

 public  void clear() 

    Remove all entries from this day

 public int getFirstEventHour() 
    Get the inclusive hour in which the first event on this day starts. All day events are not included, as their start time is implicit.
 public int getLastEventHour() 
    Get the non-inclusive hour by which all events on this day have completed. All day events are not included, as their end time is implicit.
 public boolean isEmpty() 
 public Iterator iterator() 
 public boolean remove(ScheduleEntry entry) 

    Remove an entry from this day

 public int size()