Package org.apache.commons.lang3.time
Class TimeZones
- java.lang.Object
-
- org.apache.commons.lang3.time.TimeZones
-
public class TimeZones extends java.lang.ObjectHelps to deal withTimeZones.- Since:
- 3.7
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.TimeZonetoTimeZone(java.util.TimeZone timeZone)Returns the given TimeZone if non-null, otherwiseTimeZone.getDefault().
-
-
-
Field Detail
-
GMT_ID
public static final java.lang.String GMT_ID
A public version ofTimeZone's package privateGMT_IDfield.- See Also:
- Constant Field Values
-
GMT
public static final java.util.TimeZone GMT
The GMT time zone.- Since:
- 3.13.0
-
-