NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #5832 most downloaded on pub.dev
Extensions for DateTime and Duration to easily add, convert, and work with time in Dart.
Last release 1 years ago
28 May 2025
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
7 releases · first in 2025
One column per month.
- Updated README
- Updated README
Added full suite of Duration → fractional unit getters:
Duration → fractional unit getters:
asMilliseconds, asSeconds, asMinutes, asHours, asDays, asWeeks, asMonths, asYears, asDecades, asCenturiesDateTime calendar-aware getters:
daysInMonth, daysInYearDuration creation from int and double:
1.days, 2.hours, 3.centuries and 1.5.hours, 0.25.years, 2.75.months, etc. Uses decomposition for precise accuracy.Duration:
30, 365, 3650, etc.)time vs time_plus comparison section to README:
time_plus is a modern, high-performance alternative to the time packageAll new additions are documented in the README and covered by tests.
For exact calendar logic, continue usingDateTimemethods.
Added comprehensive DateTime subtraction extensions with calendar-aware date arithmetic
DateTime subtraction extensions with calendar-aware date arithmeticDateTimeSubtractMonthsAndYearsExtension with subtractMonths, subtractYears, subtractMonth, subtractYear methodsDateTimeSubtractExtendingYearsExtension with subtractDecades, subtractCenturies, subtractDecade, subtractCentury methods>=2.12.0 <4.0.0 for wider compatibilityAdded DateTimeNextExtensions extension on DateTime class:
DateTimeNextExtensions extension on DateTime class:
nextWeekdayTime: Find the next occurrence of a specific weekday with optional timenextTimeOfDay: Find the next time matching a specific time of dayAdded DateTimeWeekdayExtensions extension on DateTime class:
DateTimeWeekdayExtensions extension on DateTime class:
yesterday: Returns start of previous daytomorrow: Returns start of next daynextWeekday: Returns weekday number of next daypreviousWeekday: Returns weekday number of previous dayAdded detailed README for enhanced user experience.
Added detailed README for enhanced user experience.
Your coding agent can read these notes before it upgrades. Set up the MCP server →