|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use TimeZone |
|
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
class |
SimpleTimeZone is a concrete subclass of TimeZone
that represents a time zone for use with a Gregorian calendar.
|
Calendar.getTimeZone()
Gets the time zone.
|
|
GregorianCalendar.getTimeZone()
Gets the time zone.
|
|
static TimeZone |
TimeZone.getDefault()
Gets the default TimeZone of the Java virtual machine.
|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the TimeZone for the given ID.
|
static TimeZone |
TimeZone.getTimeZone(ZoneId zoneId)
Gets the TimeZone for the given zoneId.
|
static Calendar |
Calendar.getInstance(TimeZone zone)
Gets a calendar using the specified time zone and default locale.
|
static Calendar |
Gets a calendar with the specified time zone and locale.
|
void |
Calendar.setTimeZone(TimeZone value)
Sets the time zone with the given time zone value.
|
Calendar.Builder.setTimeZone(TimeZone zone)
Sets the time zone parameter to the given zone.
|
|
void |
GregorianCalendar.setTimeZone(TimeZone zone)
Sets the time zone with the given time zone value.
|
boolean |
SimpleTimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rules and offset as another zone.
|
boolean |
TimeZone.hasSameRules(TimeZone other)
Returns true if this zone has the same rule and offset as another zone.
|
static void |
TimeZone.setDefault(TimeZone zone)
Sets the TimeZone that is returned by the getDefault
method.
|
protected |
Constructs a calendar with the specified time zone and locale.
|
public |
GregorianCalendar(TimeZone zone)
Constructs a GregorianCalendar based on the current time
in the given time zone with the default
FORMAT locale.
|
public |
Constructs a GregorianCalendar based on the current time
in the given time zone with the given locale.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |