You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nothing pins that DateTimeRange Shift, Expand and Split keep DateTimeKind #221
area/rangesRange unions, variants and the shape enginespackage/coreAffects CodoMetis.ValueRangestestsAdds or changes tests only (oracles, harnesses); no library code
Nothing pins that DateTimeRange.Shift, Expand and Split keep each bound's DateTimeKind. The pre-tag analysis (#179) seeded value => new DateTime(value.Add(delta).Ticks) into both bounds of Shift. Every behavioural test passed: core, NodaTime, EF, EF-NodaTime and integration. Only EveryWaiver_StillMatchesADivergence failed, and only because the source text no longer matched a clone waiver. Any edit there would trip it, so it pins nothing.
The current code is right. DateTimeKind matters because the EF read leg treats Unspecified and Local differently from Utc (E09).
Change
A test that, for each Kind (Unspecified, Local, Utc), holds Start.Kind and End.Kind through Shift, Expand and every Split piece, for DateTimeRange (and DateTimeOffsetRange's offset, if the analysis applies there too). Seed the defect above and show the test fails.
area/rangesRange unions, variants and the shape enginespackage/coreAffects CodoMetis.ValueRangestestsAdds or changes tests only (oracles, harnesses); no library code
Activity