|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Date | |
|---|---|
| org.nakedobjects.applib.value | |
| Uses of Date in org.nakedobjects.applib.value |
|---|
| Methods in org.nakedobjects.applib.value that return Date | |
|---|---|
Date |
Date.add(int years,
int months,
int days)
Add the specified days, years and months to this date value and return a new date object containing the result. |
protected Date |
Date.createDate(java.util.Date time)
|
Date |
Date.endOfMonth()
Calculates, and returns, a date representing the last day of the month relative to the current date. |
Date |
Date.startOfMonth()
Calculates, and returns, a date representing the first day of the month relative to the current date. |
Date |
Date.startOfWeek()
Calculates, and returns, a date representing the first day of the week relative to the current date. |
Date |
Date.startOfYear()
Calculates, and returns, a date representing the first day of the year relative to the current date. |
| Methods in org.nakedobjects.applib.value with parameters of type Date | |
|---|---|
boolean |
Date.sameDayOfMonthAs(Date as)
Determines if this date and the specified date represent the same day of the month, eg both dates are for the 3rd. |
boolean |
Date.sameDayOfWeekAs(Date as)
Determines if this date and the specified date represent the same day of the week, eg both dates are on a Tuesday. |
boolean |
Date.sameDayOfYearAs(Date as)
Determines if this date and the specified date represent the same day of the year, eg both dates are for the 108th day of the year. |
boolean |
Date.sameMonthAs(Date as)
Determines if this date and the specified date represent the same month, eg both dates are for the March. |
boolean |
Date.sameWeekAs(Date as)
Determines if this date and the specified date represent the same week in the year, eg both dates are the for the 18th week of the year. |
boolean |
Date.sameYearAs(Date as)
Determines if this date and the specified date represent the same year. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||