Method TimeZoneOffset
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
TimeZoneOffset(DxfTimeZone)
Gets the hours a time zone is ahead of universal time, as AutoCAD's TimeZoneOffset: 5.75 for
Kathmandu, -8 for Pacific; summer time is not counted.
public double TimeZoneOffset(DxfTimeZone tz)
Parameters
tzDxfTimeZoneThe time zone.
Returns
- double
The hours, below nought west of Greenwich.
Exceptions
- ArgumentOutOfRangeException
Thrown when the zone is not one of DxfTimeZone.