public static GPTimeZoneList sharedTimeZones() { if (tzlist == null) { tzlist = new GPTimeZoneList(); } return(tzlist); }
public double getTimeZoneOffsetHours() { if (timezone == null) { timezone = GPTimeZoneList.sharedTimeZones().GetTimezoneByName(timezoneName); } if (timezone != null) { return(Convert.ToDouble(timezone.OffsetSeconds) / 3600.0); } return(0.0); }
public void setTimeZoneName(string value) { timezoneName = value; timezone = GPTimeZoneList.sharedTimeZones().GetTimezoneByName(timezoneName); }