Hi All, Could anyone advise on when/if this method might be implemented?
TimeZoneInfo.FromSerializedString(string source) http://msdn.microsoft.com/en-us/library/system.timezoneinfo.fromserializedstring.aspx I would like to use this to implement better support for TimeZones in mojoPortal, it will allow automatically adjusting time offsets according to changes during Daylight savings. I serialized all the installed TimeZones on my machine and made them into constants like this: public const string EasternStandardTime = "Eastern Standard Time;-300;(GMT-05:00) Eastern Time (US & Canada);Eastern Standard Time;Eastern Daylight Time;[01:01:0001;12:31:2006;60;[0;02:00:00;4;1;0;];[0;02:00:00;10;5;0;];][01:01:2007;12:31:9999;60;[0;02:00:00;3;2;0;];[0;02:00:00;11;1;0;];];"; and I'm building a list of them like this: List<TimeZoneInfo> timeZones = new List<TimeZoneInfo>(); timeZones.Add(TimeZoneInfo.FromSerializedString(AfghanistanStandardTime)); timeZones.Add(TimeZoneInfo.FromSerializedString(AlaskanStandardTime)); ... It works nice on Windows but on Mono it throws NotImplementedException. Any advice or information much appreciated. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [email protected] http://www.sourcetreesolutions.com http://www.mojoportal.com _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
