Sets the values for the calendar fields YEAR
,
MONTH
, DAY_OF_MONTH
,
HOUR_OF_DAY
, and MINUTE
.
Previous values of other fields are retained. If this is not desired,
call clear()
first.
year | the value used to set the YEAR calendar field. | |
month | the value used to set the MONTH calendar field.
Month value is 0-based. e.g., 0 for January. | |
date | the value used to set the DAY_OF_MONTH calendar field. | |
hourOfDay | the value used to set the HOUR_OF_DAY calendar field. | |
minute | the value used to set the MINUTE calendar field. |
set(int,int), set(int,int,int), set(int,int,int,int,int,int)
Diagram: Calendar