⏰ Type-safe DateTime and Duration calculations, powered by extensions.
MIT License
Bot releases are visible (Hide)
DateTime.shift
method by @FMorschel in https://github.com/jogboms/time.dart/pull/71
Full Changelog: https://github.com/jogboms/time.dart/compare/v2.1.3...v2.1.4
Published by jogboms about 2 years ago
isWorkday
and isWeekday
by @FMorschel in https://github.com/jogboms/time.dart/pull/65
Full Changelog: https://github.com/jogboms/time.dart/compare/v2.1.2...v2.1.3
Published by jogboms about 2 years ago
date
by @Paitomax in https://github.com/jogboms/time.dart/pull/60
Duration.clamp
min=max bug by @FMorschel in https://github.com/jogboms/time.dart/pull/63
Full Changelog: https://github.com/jogboms/time.dart/compare/v2.1.1...v2.1.2
Published by jogboms over 2 years ago
Full Changelog: https://github.com/jogboms/time.dart/compare/v2.1.0...v2.1.1
Published by jogboms almost 3 years ago
package:clock
dependency for more predictable testingPublished by jogboms almost 3 years ago
copyWith
operationPublished by jogboms over 3 years ago
Published by jogboms over 3 years ago
isAtSameYearAs
extension to DateTime
isAtSameMonthAs
extension to DateTime
isAtSameDayAs
extension to DateTime
isAtSameHourAs
extension to DateTime
isAtSameMinuteAs
extension to DateTime
isAtSameMillisecondAs
extension to DateTime
isAtSameMicrosecondAs
extension to DateTime
Published by jogboms almost 4 years ago
Published by jogboms almost 4 years ago
isToday
extension to Duration
isTomorrow
extension to DateTime
wasYesterday
extension to DateTime
Published by jogboms over 4 years ago
delay
extension to Duration
copyWith
extension to DateTime
Published by jogboms almost 5 years ago
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);
Published by jogboms almost 5 years ago
Published by jogboms almost 5 years ago
Published by jogboms about 5 years ago