Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.

Status ID Uploaded By Description Work Items Action
Being evaluated
719 Jan 21 at 4:52 PM stephenbt TzTimeZone.cs:
- Updated to use Olson 2007k.
- Move calculation of zone line UTC until times into TzDatabase.cs
- Time Zone initialisers include the zone line until times in UTC format.
- Fix to obtaining Daylight Times and abbrevations in years when rules start e.g. Australia/Perth in 2007

TzDatabase.cs
- Zone line UTC until time calculation is done during ReadDatabase
Download

Being evaluated
673 Jan 10 at 12:31 PM stephenbt Fix to issue 14475.
Fix to problem getting timezone abbreviations in for example Asia/Tokio where modifier text is required, but DST does not currently operate.

TzTimeZone.cs:
- GetDaylightChanges - overloaded to return std and dst abbreviations along with the change information.
- FindZone - comparison to find zone line takes account of Kind of supplied time value
- GetAbbreviation - makes use of the new GetDaylightChanges method
- Code has been added to convert the until data into a utc DateTime + offset to local time when TimeZoneInfo objects are created. (These values would ideally be calculated in TzTests and included in the intialisers, but are here for now)

TzDatabase
- zone line objects can now store until times in utc + offset to local time (calculated in TzTimeZone).
- TzZone.GetUntilDateTime uses the utc+offset values if they are valid, otherwise it uses the original calculations
- FormatModifier - updated to supply correct abbreviation when e.g. zone.Format= "GMT/BST". In this case, dst status is determinedby SaveTime (same method as used in Olson code)
- TzZone.IsGreaterThanUntil - checks the kind of the supplied DateTime
- ApplyTimeModifier conversions corrected.

Download

Being evaluated
392 Oct 16 2007 at 11:28 AM MathiasHolmgren Possible fix for the 13336 issue.

TzTimeZone.CurrentTimeZone now initializes to a valid (=non null) TzTimeZone instance representing UTC when current OS time zone is set to GMT.
Download

Being evaluated
367 Oct 10 2007 at 9:47 PM jang Attached is the 7zip (http://www.7-zip.org/) compressed archive containing:
- Unix Unified Diff format comparing my changes to TzTimeZone.cs to 0.2.27.0
- HTML Diff comparing my changes to TzTimeZone.cs to 0.2.27.0
- The modified TzTimeZone.cs

This is not really the final form that I wish to have implemented, but this is good enough. :D

The ideal is to have a Dictionary mapping the hashcode to the appropriate delegate for InitializeZones*(). I am not sure how expensive it is to initialize this dictionary in the static constructor.

Let me know if you have any questions.

Download

Updating...