time 1.3.0 time: ^1.3.0 copied to clipboard
Type-safe DateTime and Duration calculations, powered by extensions.
1.3.0 #
- Introduce
delay
extension toDuration
- Introduce
copyWith
extension toDateTime
1.2.0 #
- Iterate through a
DateTime
range:
final DateTime start = DateTime(2019, 12, 2);
final DateTime end = start + 1.weeks;
final DateTime tuesday = start.to(end).firstWhere((date) => date.weekday == DateTime.tuesday);
1.1.1 #
- Fix breaking change from v1.1.0 by introducing @deprecated flag
1.1.0 #
- Breaking Change: renamed
later
tofromNow
to align with other ecosystems - Introduced support for other variants of
num
i.edouble
1.0.0 #
- Named extensions to allow discoverability
- Introduced quality control test cases
0.0.1+1 #
- Unify extensions for int, Duration & DateTime
0.0.1 #
- Initial version