Modifier and Type | Field and Description |
---|---|
static TimeZone |
GMT
The GMT time zone.
|
static String |
GMT_ID
A public version of
TimeZone 's package private GMT_ID field. |
Modifier and Type | Method and Description |
---|---|
static TimeZone |
toTimeZone(TimeZone timeZone)
Returns the given TimeZone if non-
null , otherwise TimeZone.getDefault() . |
public static final String GMT_ID
TimeZone
's package private GMT_ID
field.public static TimeZone toTimeZone(TimeZone timeZone)
null
, otherwise TimeZone.getDefault()
.timeZone
- a locale or null
.null
, otherwise TimeZone.getDefault()
.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.