Package | Description |
---|---|
java.util |
MID Profile Utility Classes included from Java 2 Standard
Edition.
|
Modifier and Type | Method and Description |
---|---|
static TimeZone |
TimeZone.getDefault()
Gets the default
TimeZone for this host. |
TimeZone |
Calendar.getTimeZone()
Gets the time zone.
|
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
Modifier and Type | Method and Description |
---|---|
static Calendar |
Calendar.getInstance(TimeZone zone)
Gets a calendar using the specified time zone.
|
void |
Calendar.setTimeZone(TimeZone value)
Sets the time zone with the given time zone value.
|
Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.