Package ucar.nc2.time
Class CalendarTimeZone
java.lang.Object
ucar.nc2.time.CalendarTimeZone
Encapsulate TimeZone functionality.
- Since:
- 10/28/12
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGets a time zone instance for the specified time zone id.CalendarTimeZone(TimeZone zone) -
Method Summary
-
Field Details
-
UTC
-
-
Constructor Details
-
CalendarTimeZone
Gets a time zone instance for the specified time zone id.The time zone id may be one of those returned by getAvailableIDs. Short ids, as accepted by
TimeZone, are not accepted. All IDs must be specified in the long format. The exception is UTC, which is an acceptable id.Alternatively a locale independent, fixed offset, datetime zone can be specified. The form
[+-]hh:mmcan be used.- Parameters:
id- the ID of the datetime zone, null means default- Throws:
IllegalArgumentException- if the ID is not recognised
-
CalendarTimeZone
-
-
Method Details
-
getAvailableIDs
-