Java Reference
In-Depth Information
ZONE_OFFSET
DST_OFFSET
FIELD_COUNT
An int is used to store values for all these calendar field types. You use
these constantsor any others defined by a particular calendar classto
specify a calendar field to the following methods (always as the first ar-
gument):
Returns the value of the field
get
Sets the value of the field to the provided int
set
Clears the value of the field to "unspecified"
clear
Returns true if the field has been set
isSet
Adds an int amount to the specified field
add
Rolls the field up to the next value if the
second boolean argument is true , or down if it
is false
roll
Gets the minimum valid value for the field
getMinimum
Gets the maximum valid value for the field
getMaximum
 
Search WWH ::




Custom Search