Changelog
All notable changes to Vali-Calendar are documented here. Follows Keep a Changelog and Semantic Versioning.
[1.0.0] — 2025-07-01
Added
CalendarWeekstruct representing an ISO week with its year, week number, start date, and end date.ValiCalendarwith workday utilities:IsWorkday,WorkdaysBetween,AddWorkdays,NextWorkday,PreviousWorkday.- Week utilities:
WeekOf,WeeksInMonth. - Month and year aggregates:
WorkdaysInMonth,WorkdaysInYear,HolidaysInMonth,HolidaysInYear. - Optional
IHolidayProviderintegration to exclude holidays from workday calculations. AddValiCalendar()extension method forIServiceCollectionDI registration.
Performance
WeeksInMonthuses astatic readonly GregorianCalendarinstance to avoid repeated allocations on each call.