From 36f2e73589310ea6abfc4206613d18dc826fda0f Mon Sep 17 00:00:00 2001 From: Massimo Gatti Date: Thu, 5 Sep 2019 16:02:02 -0700 Subject: [PATCH 1/2] Remove Transition to Dummy group --- .../TimeZones/TimeZoneDefinition.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ComplexProperties/TimeZones/TimeZoneDefinition.cs b/ComplexProperties/TimeZones/TimeZoneDefinition.cs index cd1491e2..f2f50239 100644 --- a/ComplexProperties/TimeZones/TimeZoneDefinition.cs +++ b/ComplexProperties/TimeZones/TimeZoneDefinition.cs @@ -164,22 +164,6 @@ internal TimeZoneDefinition(TimeZoneInfo timeZoneInfo) this.transitions.Add(transition); } - - // If the last adjustment rule's end date is not undefined (DateTime.MaxValue), - // we need to create another absolute date transition that occurs the date after - // the last rule's end date. We target this additional transition to a group that - // contains a single simple transition to the Standard period. - DateTime lastAdjustmentRuleEndDate = adjustmentRules[adjustmentRules.Length - 1].DateEnd; - - if (lastAdjustmentRuleEndDate < DateTime.MaxValue.Date) - { - AbsoluteDateTransition transitionToDummyGroup = new AbsoluteDateTransition( - this, - this.CreateTransitionGroupToPeriod(standardPeriod)); - transitionToDummyGroup.DateTime = lastAdjustmentRuleEndDate.AddDays(1); - - this.transitions.Add(transitionToDummyGroup); - } } } From 71b2948799d9efc033a0a38e841cb9ac7e723543 Mon Sep 17 00:00:00 2001 From: Massimo Gatti Date: Thu, 5 Sep 2019 16:20:53 -0700 Subject: [PATCH 2/2] bump version --- Properties/AssemblyInfoOpenSource.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Properties/AssemblyInfoOpenSource.cs b/Properties/AssemblyInfoOpenSource.cs index 49fc6645..aed6f77b 100644 --- a/Properties/AssemblyInfoOpenSource.cs +++ b/Properties/AssemblyInfoOpenSource.cs @@ -35,5 +35,5 @@ // Master branch will have version as 0.0.0.0, when a stable branch is created // this file will be updated with the appropriate version number and the release // will be built from there. -[assembly: AssemblyVersion("2.2.1")] -[assembly: AssemblyFileVersion("2.2.1.0")] \ No newline at end of file +[assembly: AssemblyVersion("2.2.5")] +[assembly: AssemblyFileVersion("2.2.5.0")] \ No newline at end of file