| Package | Description |
|---|---|
| java.util |
| 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 © 2026. All rights reserved.