Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions ComplexProperties/TimeZones/TimeZoneDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfoOpenSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
[assembly: AssemblyVersion("2.2.5")]
[assembly: AssemblyFileVersion("2.2.5.0")]