Changelog
All notable changes to Vali-Time are documented here. Follows Keep a Changelog and Semantic Versioning.
[1.1.0] — 2026-10-14
Added
DurationStringParser— public parser (Parse/TryParse) extracted fromParseTime's duration-string grammar, reused byVali-Duration'sIParsable<ValiDuration>so both packages agree on exactly one grammar.HumanizeCultureenum (En/Es), reused byVali-Age'sHumanize()relative-time formatter.Constants.IsClampedMonthEnd(originalDay, candidate)— shared month-end-clamp detection, reused byValiAge.Exact().net10.0target framework.
Changed
StartOfWeek/IsWeekend/IsWeekdayconsolidated intoDateTimeExtensionsas the single source of truth (previously duplicated across other packages).
[1.0.1] — 2026-03-25
Changed
- Version bump to align NuGet publish. No API changes.
[1.0.0] — 2025-07-01
Added
ValiTimewith conversions across 8 time units (milliseconds, seconds, minutes, hours, days, weeks, months, years).ValiDatewith date arithmetic and a full Quarter API (15+ methods).IValiTimeandIValiDateinterfaces for dependency injection and testing.AddValiTime()extension method forIServiceCollectionDI registration.
Fixed
SubtractTimesnow returns correct values for negative time differences instead of throwing or returning zero.EndOftick precision corrected to return the last tick of the period rather than the start of the next.TryConvertandTryParseTimeexception narrowing: onlyFormatExceptionandOverflowExceptionare caught; unexpected exceptions propagate correctly.