Re: dst and IsDaylightSaving
Rich Armstrong <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <000001c75047$49bbc110$dd334330$@com> |
>> ... from the TimeZone information Windows has in the registry. Most of it, anyway. Microsoft supports year-to-year DST policy changes through Dynamic DST subkeys for those time zones whose DST policy "fluctuates." That's how the US changes for 2007 are implemented; for an example of DST policy that _really_ requires this treatment, check out Israel's Dynamic DST values. Unlike the KB article you cite in your source code (Q115231), I haven't found any documentation for the Dynamic DST keys. Does anyone know where they're described? (Or know of a System.TimeZone derivative that uses them? :) ) While we're on the subject, MS has been asked more than once why they didn't simply expose the time zone database in .NET -- probably somewhere in System.Globalization. IIRC, their response was that it was being considered, but that the impediments to doing so were more political than technical. Is anyone aware of anything new in that discussion? --Rich -----Original Message----- From: Discussion of building .NET applications targeted for the Web [mailto:[email protected]] On Behalf Of Dean Cleaver Sent: Tuesday, February 13, 2007 8:20 PM To: [email protected] Subject: Re: [DOTNET-WEB] dst and IsDaylightSaving Phil, My TimeZones collection populates from the TimeZone information Windows has in the registry. If the wacky timezone is in there, my classes will load it in. There's also nothing to stop you from populating my timezone classes yourself (I did publish full source) from another source if desired. Dino =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com