|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.calendar.CalendarDay
public class CalendarDay
An almanach day is a day within a calendar.
| Constructor Summary | |
|---|---|
protected |
CalendarDay(Date date,
String locale)
Constructs a new CalendarDay instance from the specified date. |
| Method Summary | |
|---|---|
Date |
getDate()
Gets this day as a Date instance. |
int |
getDayOfMonth()
Gets the day of the month (from 1 to 31). |
int |
getMonth()
Gets the month. |
int |
getWeekOfYear()
Gets the week number (from 1 to 53). |
int |
getYear()
Gets the year. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CalendarDay(Date date,
String locale)
date - the date of the day.locale - the locale.| Method Detail |
|---|
public int getDayOfMonth()
public int getMonth()
public int getYear()
public int getWeekOfYear()
public Date getDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||