Java Reference
In-Depth Information
The
Calendar
class defines many kinds of
calendar fields
for calendar ob-
jects, such as
DAY_OF_WEEK
in the preceding code. These calendar fields
are constants used in the methods that manipulate parts of the time:
MILLISECOND
SECOND
MINUTE
HOUR
HOUR_OF_DAY
AM_PM
DAY_OF_WEEK
DAY_OF_WEEK_IN_MONTH
DAY_OF_MONTH
DATE
DAY_OF_YEAR
WEEK_OF_MONTH
WEEK_OF_YEAR
MONTH
YEAR
ERA