java.lang.Object | |
↳ | com.google.gwt.user.datepicker.client.CalendarUtil |
Useful utilities for creating views of a calendar.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the given number of days to a date.
| |||||||||||
Adds the given number of months to a date.
| |||||||||||
Copies a date.
| |||||||||||
Returns the number of days between the two dates.
| |||||||||||
Returns the day of the week on which week starts in the current locale.
| |||||||||||
Check if two dates represent the same date of the same year, even if they
have different times.
| |||||||||||
Sets a date object to be at the beginning of the month and no time
specified.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds the given number of days to a date.
date | the date |
---|---|
days | number of days |
Adds the given number of months to a date.
date | the date |
---|---|
months | number of months |
Returns the number of days between the two dates. Time is ignored.
start | starting date |
---|---|
finish | ending date |
Returns the day of the week on which week starts in the current locale. The range between 0 for Sunday and 6 for Saturday.
Check if two dates represent the same date of the same year, even if they have different times.
date0 | a date |
---|---|
date1 | a second date |
Sets a date object to be at the beginning of the month and no time specified.
date | the date |
---|