Package org.apache.commons.lang3.time
Class TimeZones
java.lang.Object
org.apache.commons.lang3.time.TimeZones
Helps to deal with 
TimeZones.- Since:
- 3.7
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic TimeZonetoTimeZone(TimeZone timeZone) Returns the given TimeZone if non-null, otherwiseTimeZone.getDefault().
- 
Field Details- 
GMT_IDA public version ofTimeZone's package privateGMT_IDfield.- See Also:
 
- 
GMTThe GMT time zone.- Since:
- 3.13.0
 
 
- 
- 
Method Details- 
toTimeZoneReturns the given TimeZone if non-null, otherwiseTimeZone.getDefault().- Parameters:
- timeZone- a locale or- null.
- Returns:
- the given locale if non-null, otherwiseTimeZone.getDefault().
- Since:
- 3.13.0
 
 
-