com.webmethods.caf.faces.data.calendar
Class CalendarDay

java.lang.Object
  extended by com.webmethods.caf.faces.data.calendar.CalendarDay
All Implemented Interfaces:
ICalendarDay

public class CalendarDay
extends Object
implements ICalendarDay

The Date that this calendar day encapsulates


Field Summary
protected  Date m_date
           
 
Constructor Summary
CalendarDay(Calendar calendar, Date date)
          Constructor for defining this calendar date object.
 
Method Summary
 Date getDay()
          Time at midnight of day that this CalendarDay represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_date

protected Date m_date
Constructor Detail

CalendarDay

public CalendarDay(Calendar calendar,
                   Date date)
Constructor for defining this calendar date object.

Parameters:
calendar - The Calendar used to normalize the Date value returned by getDay.
date - The day represented by this CalendarDay.
Method Detail

getDay

public Date getDay()
Time at midnight of day that this CalendarDay represents.

Specified by:
getDay in interface ICalendarDay
Returns:
The day represented by this CalendarDay.