GregorianCalendar.roll
Class Overview | Class Members |
This Package |
All Packages
public void roll( int field,
boolean up )
Parameters
- field
- the time field.
- up
- Indicates if rolling up or rolling down the field value.
Description
Overrides Calendar
Time Field Rolling function.
Rolls (up/down) a single unit of time on the given time field.
Exceptions
IllegalArgumentException
if an unknown field value is given.
Overrides
roll in class Calendar