java.lang.Object | |
↳ | com.google.gwt.user.datepicker.client.CalendarModel |
Model used to get calendar information for DatePicker
and its
subclasses.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DAYS_IN_WEEK | Number of days normally displayed in a week. | |||||||||
int | WEEKS_IN_MONTH | The number of weeks normally displayed in a month. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Formats the current specified month.
| |||||||||||
Formats a date's day of month.
| |||||||||||
Format a day in the week.
| |||||||||||
Gets the first day of the first week in the currently specified month.
| |||||||||||
Gets the date representation of the currently specified month.
| |||||||||||
Is a date in the currently specified month?
| |||||||||||
Sets the currently specified date.
| |||||||||||
Shifts the currently specified date by the given number of months.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the date of month formatter.
| |||||||||||
Gets the day of week formatter.
| |||||||||||
Gets the month and year formatter.
| |||||||||||
Refresh the current model as needed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Number of days normally displayed in a week.
The number of weeks normally displayed in a month.
Constructor.
Formats the current specified month. For example "Sep".
Formats a date's day of month. For example "1".
date | the date |
---|
Format a day in the week. So, for example "Monday".
dayInWeek | the day in week to format |
---|
Gets the first day of the first week in the currently specified month.
Gets the date representation of the currently specified month. Used to access both the month and year information.
Is a date in the currently specified month?
date | the date |
---|
Sets the currently specified date.
currentDate | the currently specified date |
---|
Shifts the currently specified date by the given number of months. The day of the month will be pinned to the original value as far as possible.
deltaMonths | - number of months to be added to the current date |
---|
Gets the date of month formatter.
Gets the day of week formatter.
Gets the month and year formatter.
Refresh the current model as needed.