|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides date arithmetic services based on a business calendar. It provides
stateless versions of the date arithmetic methods of
java.util.Calendar.
| Method Summary | |
java.util.Date |
add(java.util.Date base,
DurationUnit unit,
int interval,
java.lang.String user)
Wraps the Calendar Date Arithmetic function. |
java.util.Date |
add(java.util.Date base,
int field,
int interval,
java.lang.String user)
Wraps the Calendar Date Arithmetic function. |
| Method Detail |
public java.util.Date add(java.util.Date base,
int field,
int interval,
java.lang.String user)
base - The base date.field - The JDK calendar field code.interval - The amount of date or time to be added to the field.user - The (optional) user name for which the computation is being
performed. Calendar implementations can use this information to ensure
that temporal computations take proper account of a user's time zone.
public java.util.Date add(java.util.Date base,
DurationUnit unit,
int interval,
java.lang.String user)
base - The base date.unit - The XPDL duration unit to use.interval - The amount of date or time to be added to the field.user - The (optional) user name for which the computation is being
performed. Calendar implementations can use this information to ensure
that temporal computations take proper account of a user's time zone.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||