{
ambiguousStartModified = ambiguousStart.AddYears(1);
ambiguousEndModified = ambiguousEnd.AddYears(1);
- isAmbiguousLocalDst = (time >= ambiguousStart && time < ambiguousEnd);
+ isAmbiguousLocalDst = (time >= ambiguousStartModified && time < ambiguousEndModified);
}
catch (ArgumentOutOfRangeException) { }
{
ambiguousStartModified = ambiguousStart.AddYears(-1);
ambiguousEndModified = ambiguousEnd.AddYears(-1);
- isAmbiguousLocalDst = (time >= ambiguousStart && time < ambiguousEnd);
+ isAmbiguousLocalDst = (time >= ambiguousStartModified && time < ambiguousEndModified);
}
catch (ArgumentOutOfRangeException) { }
}