Skip to main content

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 from ParseTime's duration-string grammar, reused by Vali-Duration's IParsable<ValiDuration> so both packages agree on exactly one grammar.
  • HumanizeCulture enum (En/Es), reused by Vali-Age's Humanize() relative-time formatter.
  • Constants.IsClampedMonthEnd(originalDay, candidate) — shared month-end-clamp detection, reused by ValiAge.Exact().
  • net10.0 target framework.

Changed​

  • StartOfWeek/IsWeekend/IsWeekday consolidated into DateTimeExtensions as 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​

  • ValiTime with conversions across 8 time units (milliseconds, seconds, minutes, hours, days, weeks, months, years).
  • ValiDate with date arithmetic and a full Quarter API (15+ methods).
  • IValiTime and IValiDate interfaces for dependency injection and testing.
  • AddValiTime() extension method for IServiceCollection DI registration.

Fixed​

  • SubtractTimes now returns correct values for negative time differences instead of throwing or returning zero.
  • EndOf tick precision corrected to return the last tick of the period rather than the start of the next.
  • TryConvert and TryParseTime exception narrowing: only FormatException and OverflowException are caught; unexpected exceptions propagate correctly.