com.webmethods.caf.faces.data.calendar
Class CalendarDay
java.lang.Object
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
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 |
m_date
protected Date m_date
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.
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.