Changelog
All notable changes to Vali-Age are documented here. Follows Keep a Changelog and Semantic Versioning.
[1.0.0] — 2025-07-01
Added
AgeResultstruct withYears,Months,Days, andTotalDaysproperties.ValiAgewith age calculation methods:Years,Exact.- Formatting helpers:
FormatandRelative. - Birthday utilities:
IsBirthday,NextBirthday,DaysUntilBirthday. - Threshold check:
IsAtLeast. - Correct handling of February 29 birthdays in non-leap years (resolved to Feb 28).
AddValiAge()extension method forIServiceCollectionDI registration.
Fixed
NextBirthdaynow correctly advances to the following year when the birthday has already occurred in the current year, instead of returning a past date.