Bug 492924 - TimeZoneInfo.FromSerializedString Throws NotImplementedException
Summary: TimeZoneInfo.FromSerializedString Throws NotImplementedException
Status: NEW
Alias: None
Product: Mono: Class Libraries
Classification: Mono
Component: Sys.Core (show other bugs)
Version: SVN
Hardware: All All
: P5 - None : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 16:28 UTC by Joe Audette
Modified: 2010-04-13 12:51 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
an aspx page with inline code example (29.58 KB, application/xml)
2009-04-07 16:30 UTC, Joe Audette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Audette 2009-04-07 16:28:52 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19

I'm posting this bug with example code that works on Windows and could be used as a test case for implementation.
I want to use code similar to this to support automatic adjustment of time zones during Daylight Savings in mojoPortal CMS. I don't want to break compatibility with Mono so I'm holding off on implementing this in mojoPortal for now but really hoping someone could implement this soon.
I serialized all the time zones on my system into constants and want to be able to deserialize them from the constants.

Reproducible: Always

Steps to Reproduce:
1. See the attached .aspx page with inline code.
2. If you click the button on the page it will try to create the list of TimeZoneInfo objects but will throw NotImplemented on the first call to TimeZoneInfo.FromSerializedString
3.
Actual Results:  
throws NotImplementedException

Expected Results:  
builds a list of TimeZoneInfo objects by deserializing the string data and binds to the dropdown list in the page.
Comment 1 Joe Audette 2009-04-07 16:30:31 UTC
Created attachment 284545 [details]
an aspx page with inline code example
Comment 2 Stephane Delcroix 2009-04-22 14:10:22 UTC
ToSerializedStrint throws a NIE too