<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>publicdomain Forum Rss Feed</title><link>http://www.codeplex.com/publicdomain/Project/ListForums.aspx</link><description>publicdomain Forum Rss Description</description><item><title>New Post: warning CS1734: XML comment </title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=238862</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;There just some methods that have xml comment errors. How can I modify the online code to fix those errors?&lt;/p&gt;
&lt;/div&gt;</description><author>orellabac</author><pubDate>Sat, 18 Dec 2010 21:45:01 GMT</pubDate><guid isPermaLink="false">New Post: warning CS1734: XML comment  20101218094501P</guid></item><item><title>New Post: Changed location for external link</title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=216024</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;The referenced codeproject article &amp;quot;&lt;em&gt;How to Use the Olson Time  Zone Database in .NET&lt;/em&gt;&amp;quot; is now at &lt;a title="http://www.codeproject.com/KB/dotnet/Using_time_zones_in_NET.aspx" href="http://www.codeproject.com/KB/dotnet/Using_time_zones_in_NET.aspx"&gt;http://www.codeproject.com/KB/dotnet/Using_time_zones_in_NET.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It looks like they've restructured their site.&lt;/p&gt;&lt;/div&gt;</description><author>BruceClement</author><pubDate>Tue, 15 Jun 2010 01:26:19 GMT</pubDate><guid isPermaLink="false">New Post: Changed location for external link 20100615012619A</guid></item><item><title>New Post: DST offset wrong for southern hemisphere</title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=68541</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;A while back I reported an issue with DST for southern hemisphere locations. Originally, in version 0.2.30.0, DST start and end dates were reversed. For example, today on Sep 10, 2009, Canberra, Melbourne, Sydney location, which normally has GTM +10:00 would return:&lt;/p&gt;
&lt;p&gt;- DST: On (incorrect)&lt;br&gt;- DST Offset: +01:00 (incorrect)&lt;br&gt;- DST Starts: 2009-04-05 03:00 (incorrect)&lt;br&gt;- DST Ends: 2009-10-04 02:00 (incorrect)&lt;br&gt;- Time Zone Offset from GMT: +10:00 (correct)&lt;/p&gt;
&lt;p&gt;The fix, which is the most recent version (0.2.47.0), looks like this:&lt;/p&gt;
&lt;p&gt;- DST: Off (correct)&lt;br&gt;- DST Offset: 00:00 (correct)&lt;br&gt;- DST Starts: 2009-10-04 02:00 (correct)&lt;br&gt;- DST Ends: 2009-04-05 03:00 (correct)&lt;br&gt;- Time Zone Offset from GMT: +11:00 hours (incorrect)&lt;/p&gt;
&lt;p&gt;From what I see, this affects all southern hemisphere time zones with DST (fortunately there aren't that many). You may want to be aware of this and correct the wrong values in your code.&lt;/p&gt;
&lt;p&gt;Here are PublicDomain.TzTimeZone methods that demonstrate how I get each of the above values. I took these out of my Time Zone test page where I have a lot of additional code, so I haven't tested these raw calls. You may have to replace now with a datetime variable which you explicitly set to local or UTC with DateTime.SpecifyKind(dtVariable, DateTimeKind.Local).&lt;/p&gt;
&lt;p&gt;Dim zone As PublicDomain.TzTimeZone&lt;br&gt;Dim sZone as string&lt;br&gt;sZone = &amp;quot;Australia/Melbourne&amp;quot;&lt;br&gt;'sZone = &amp;quot;America/Sao_Paulo&amp;quot;&lt;br&gt;zone = PublicDomain.TzTimeZone.GetTimeZone(sZone)&lt;br&gt;'Time Zone Offset from GMT: zone.GetUtcOffset(now)&lt;br&gt;'DST: zone.IsDaylightSavingTime(now)&lt;br&gt;'DST Offset: zone.GetDaylightChanges(now.year).Delta.Hours.ToString &amp;amp; &amp;quot;:&amp;quot; &amp;amp; zone.GetDaylightChanges(2009).Delta.Minutes.ToString&lt;br&gt;'DST Starts: zone.GetDaylightChanges(now.year).Start&lt;br&gt;'DST Ends: zone.GetDaylightChanges(now.year).End&lt;/p&gt;&lt;/div&gt;</description><author>MARIOIGREC</author><pubDate>Thu, 10 Sep 2009 15:23:01 GMT</pubDate><guid isPermaLink="false">New Post: DST offset wrong for southern hemisphere 20090910032301P</guid></item><item><title>New Post: Bangladesh / Dhaka switching to DST +07:00 on June 20, 2009</title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=58431</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Does anyone have a patch for this new Rule?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>alanbirenbaum</author><pubDate>Thu, 04 Jun 2009 11:05:30 GMT</pubDate><guid isPermaLink="false">New Post: Bangladesh / Dhaka switching to DST +07:00 on June 20, 2009 20090604110530A</guid></item><item><title>New Post: Time zone update tools, project</title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=13661</link><description>&lt;div style="line-height: normal;"&gt;Hi, sorry but this project is no longer under active development. The effort was part of a for-profit venture which is in hibernation. The source code is available and there were also some patches people had made to get it working as attachments in the bugs, although I never tested them myself and never fixed/added assertions to fix the bugs.&lt;br&gt;
There is also this alternative:&lt;br&gt;
http://www.codeproject.com/KB/locale/zoneinfo_dotnet_api.aspx&lt;br&gt;
I have been out of the space for some time so I'm not aware if there are other alternatives. I don't see anything new @ http://www.twinsun.com/tz/tz-link.htm&lt;br&gt;
Good luck! Let us know how you solve your problems...&lt;br&gt;
Regards&lt;br&gt;
&lt;/div&gt;</description><author>schizoidboy</author><pubDate>Sat, 18 Apr 2009 21:51:43 GMT</pubDate><guid isPermaLink="false">New Post: Time zone update tools, project 20090418095143P</guid></item><item><title>New Post: Time zone update tools, project</title><link>http://publicdomain.codeplex.com/Thread/View.aspx?ThreadId=13661</link><description>&lt;div style="line-height: normal;"&gt;I'm curious about whether this project is being maintained and what the current status is wrt bugs.&amp;nbsp; I'm desperately looking for the time zone functionality that's missing from .NET 2, but had a bit of trouble with the instructions outlined above (the assertions in TzTimeZoneTests.Bug13252a aren't right and couldn't have possibly been verified).&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>bbell2000</author><pubDate>Wed, 15 Apr 2009 00:21:36 GMT</pubDate><guid isPermaLink="false">New Post: Time zone update tools, project 20090415122136A</guid></item><item><title>New Post: Fix Documentation</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=45374</link><description>&lt;div style="line-height: normal;"&gt;Hi ingig, this is a security feature in Windows. After you download the CHM file, right click -&amp;gt; Properties, and then click &amp;quot;Unblock&amp;quot; at the bottom. You can also change your Internet Options security policy.&lt;br&gt;
I'll have to investigate adding an index. I use http://inchl.nl/SandcastleGUI/ for generating the CHM.&lt;br&gt;
Thanks,&lt;br&gt;
&lt;/div&gt;</description><author>schizoidboy</author><pubDate>Tue, 03 Feb 2009 06:35:43 GMT</pubDate><guid isPermaLink="false">New Post: Fix Documentation 20090203063543A</guid></item><item><title>New Post: Fix Documentation</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=45374</link><description>&lt;div style="line-height: normal;"&gt;Any chance that the documentation can be fixed? I get &amp;quot;The address is not valid&amp;quot; when I browse through the classes. Also is it possible to add Index to it?&lt;br&gt;
&lt;/div&gt;</description><author>ingig</author><pubDate>Tue, 27 Jan 2009 13:50:43 GMT</pubDate><guid isPermaLink="false">New Post: Fix Documentation 20090127015043P</guid></item><item><title>New Post: Known Issues and Bugs?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=40834</link><description>&lt;div style="line-height: normal;"&gt;Hi Chris, Unfortunately, I've had almost no free time to work on those bugs, so they are still open. The Issue Tracker is pretty up-to-date.&lt;br&gt;
Thanks,
&lt;/div&gt;</description><author>schizoidboy</author><pubDate>Sun, 30 Nov 2008 11:05:11 GMT</pubDate><guid isPermaLink="false">New Post: Known Issues and Bugs? 20081130110511A</guid></item><item><title>New Post: Known Issues and Bugs?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=40834</link><description>&lt;div style="line-height: normal;"&gt;Hi Kevin, &lt;br&gt;
&lt;br&gt;
May I know where can I find all the known issues and bugs of the current release (0.2.47.0)?&lt;br&gt;
&lt;br&gt;
As I browse through the discussion section, it didnt mention whether the bugs are solved. especially GetAbbreviation, GetUtcOffSet and DST.&lt;br&gt;
&lt;br&gt;
Appreciate your reply.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Chris Par
&lt;/div&gt;</description><author>chrispar</author><pubDate>Wed, 26 Nov 2008 06:33:43 GMT</pubDate><guid isPermaLink="false">New Post: Known Issues and Bugs? 20081126063343A</guid></item><item><title>New Post: Newbie question</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=39619</link><description>&lt;div style="line-height: normal;"&gt;Hi, sorry, this is only supported with .NET, not with older VB6.&lt;br&gt;
Thanks,
&lt;/div&gt;</description><author>schizoidboy</author><pubDate>Thu, 13 Nov 2008 23:25:44 GMT</pubDate><guid isPermaLink="false">New Post: Newbie question 20081113112544P</guid></item><item><title>New Post: Newbie question</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=39619</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
To use PublicDomain.dll in VB6, we must include the dll in our project directory. How do we reference it? I tryed manualy, and VB6 didn't accept it. I've runned regsvr32 and it didn't worked out.&lt;br&gt;
Sorry for the question...&lt;br&gt;
&lt;br&gt;
Kind regards,&lt;br&gt;
&lt;br&gt;
Kepler 
&lt;/div&gt;</description><author>kepler</author><pubDate>Mon, 10 Nov 2008 19:29:43 GMT</pubDate><guid isPermaLink="false">New Post: Newbie question 20081110072943P</guid></item><item><title>New Post: GetUtcOffset gives the wrong value</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=39245</link><description>&lt;div style="line-height: normal;"&gt;I'm testing GetUtcOffset either side of the daylight cut-over for Sydney, and I always get 11 hours:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TzTimeZone tzZone = TzTimeZone.GetTimeZone(&amp;quot;Australia/Sydney&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; double h1 = tzZone.GetUtcOffset(DateTime.Parse(&amp;quot;1-Oct-2008 12:00&amp;quot;)).TotalHours;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; double h2 = tzZone.GetUtcOffset(DateTime.Parse(&amp;quot;31-Oct-2008 12:00&amp;quot;)).TotalHours;&lt;br&gt;
&lt;br&gt;
Testing &amp;quot;IsDaylightSavingTime&amp;quot; definitely gives me the results I expect:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool b1 = tzZone.IsDaylightSavingTime(DateTime.Parse(&amp;quot;1-oct-2008 12:00&amp;quot;)); // gives false&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool b2 = tzZone.IsDaylightSavingTime(DateTime.Parse(&amp;quot;31-oct-2008 12:00&amp;quot;)); // gives true &lt;br&gt;
&lt;br&gt;

&lt;/div&gt;</description><author>russlau</author><pubDate>Wed, 05 Nov 2008 11:03:42 GMT</pubDate><guid isPermaLink="false">New Post: GetUtcOffset gives the wrong value 20081105110342A</guid></item><item><title>New Post: How to convert the given time based on TimeZone?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36326</link><description>&lt;div style="line-height: normal;"&gt;This should do what you want:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TzTimeZone perth = TzTimeZone.GetTimeZone(&amp;quot;Australia/Perth&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TzTimeZone adelaide = TzTimeZone.GetTimeZone(&amp;quot;Australia/Adelaide&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime utc = perth.ToUniversalTime(DateTime.Parse(&amp;quot;24-Sep-2008 12:00&amp;quot;));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime inAdelaide = adelaide.ToLocalTime(utc);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(inAdelaide.ToLongTimeString());&lt;br&gt;
&lt;br&gt;
There's more info on the CodeProject article: http://www.codeproject.com/KB/dotnet/Using_time_zones_in_NET.aspx&lt;br&gt;
&lt;/div&gt;</description><author>russlau</author><pubDate>Wed, 05 Nov 2008 10:58:57 GMT</pubDate><guid isPermaLink="false">New Post: How to convert the given time based on TimeZone? 20081105105857A</guid></item><item><title>New Post: How to convert the given time based on TimeZone?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36326</link><description>&lt;div style="line-height: normal;"&gt;Hi Guys,&lt;br&gt;
&lt;br&gt;
I am using Olson TimeZone, and I would like to convert the give datetime based on the TimeZone. &lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
TimeZone: Australia/Perth:&lt;br&gt;
Given Time: Wednesday, September 24, 2008 12:00:00PM&lt;br&gt;
&lt;br&gt;
Process... is to convert the Given Time based on the new TimeZone which is &amp;quot;Australia/Adelaide&amp;quot;&lt;br&gt;
&lt;br&gt;
Result Should be:&lt;br&gt;
&lt;br&gt;
TimeZone: Australia/Adelaide&lt;br&gt;
Converted Time: Wednesday, September 24, 2008 1:00:00PM&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I am having difficulty doing this process in PublicDomain. Can you share me some of your thougths on how to do this?&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>tallboy</author><pubDate>Wed, 24 Sep 2008 04:22:51 GMT</pubDate><guid isPermaLink="false">New Post: How to convert the given time based on TimeZone? 20080924042251A</guid></item><item><title>New Post: How to assign value in Zone manually?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36322</link><description>&lt;div style="line-height: normal;"&gt;Hi Guys,&lt;br&gt;
&lt;br&gt;
Please disregard this question of mine, because I already got it by using the TzTimeZone.GetTimeZone(&amp;quot;Australia/Perth&amp;quot;);
&lt;/div&gt;</description><author>tallboy</author><pubDate>Wed, 24 Sep 2008 02:57:52 GMT</pubDate><guid isPermaLink="false">New Post: How to assign value in Zone manually? 20080924025752A</guid></item><item><title>New Post: How to assign value in Zone manually?</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36322</link><description>&lt;div style="line-height: normal;"&gt;Hi, &lt;br&gt;
&lt;br&gt;
I am new to PublicDomain.dll and I would like to ask if is there any way to assign value to zone, manually? &lt;br&gt;
&lt;br&gt;
I tried this code below but it gives an error: (CS0029: Cannot implicitly convert type 'string' to 'PublicDomain.TzTimeZone'&lt;br&gt;
&lt;br&gt;
TzTimeZone zone = &amp;quot;Australia/Perth&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>tallboy</author><pubDate>Wed, 24 Sep 2008 02:18:05 GMT</pubDate><guid isPermaLink="false">New Post: How to assign value in Zone manually? 20080924021805A</guid></item><item><title>New Post: Just new to PublicDomain.dll</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36278</link><description>&lt;div style="line-height: normal;"&gt;Hi Guys,&lt;br&gt;
&lt;br&gt;
Just new to PublicDomain.dll&lt;br&gt;
&lt;br&gt;
I tried using the PublicDomain.dll in asp.net and it works fine. But I don't know which functions to use for&amp;nbsp;my particular task.&lt;br&gt;
&lt;br&gt;
I was given the task to create a function that will accept&amp;nbsp;2 parameters. First parameter is the datetime, second parameter is for the required&amp;nbsp;timezone for conversion. And it should return a converted datetime based on timezone.&lt;br&gt;
&lt;br&gt;
Can you help me on how to do the coding for this particular task of mine. Is&amp;nbsp;this possible?&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>tallboy</author><pubDate>Tue, 23 Sep 2008 16:36:36 GMT</pubDate><guid isPermaLink="false">New Post: Just new to PublicDomain.dll 20080923043636P</guid></item><item><title>New Post: I am new to Olson Time Zone Database .Net</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36236</link><description>&lt;div style="line-height: normal;"&gt;Hi schizoidboy,&lt;br&gt;
&lt;br&gt;
I just included the publicdomain.dll in my bin folder, and it is&amp;nbsp;working fine now.&lt;br&gt;
&lt;br&gt;
Thanks
&lt;/div&gt;</description><author>OliverTallo</author><pubDate>Tue, 23 Sep 2008 15:42:40 GMT</pubDate><guid isPermaLink="false">New Post: I am new to Olson Time Zone Database .Net 20080923034240P</guid></item><item><title>New Post: I am new to Olson Time Zone Database .Net</title><link>http://www.codeplex.com/publicdomain/Thread/View.aspx?ThreadId=36236</link><description>&lt;div style="line-height: normal;"&gt;Hi Oliver! To use TzTimeZone, just add a reference in your project to C:\Program Files\Public Domain\PublicDomain.dll. To do this from Visual Studio, right click on your project, click Add Reference, click on the Browse tab, and type in the file name above. Then everything should just work.&lt;br&gt;
Let me know if you have any other questions,&lt;br&gt;
Thanks,&lt;br&gt;
&lt;/div&gt;</description><author>schizoidboy</author><pubDate>Tue, 23 Sep 2008 00:49:01 GMT</pubDate><guid isPermaLink="false">New Post: I am new to Olson Time Zone Database .Net 20080923124901A</guid></item></channel></rss>