- [Update] dependencies
sdk: ">=3.1.3 <4.0.0"
intl: ^0.19.0
json_annotation: ^4.9.0
- [Update] dependencies
- [Add] Time.zero
- [Update] dependencies
- [Changed]
Time
formatting withenum
- [Changed]
Time
toString now is 'HH:mm:ss:SSS' - [Remove]
totalMilliseconds
useinMilliseconds
instead - [Fix] typos
- [Add]
milliseconds
- [Add] extension on
DateFormat
to formatDate
- [BREAKING CHANGE] getters
now
ofDate
andTime
into methodnow()
- [BREAKING CHANGE] constructors of
Date
andTime
with required named parameters - [Add]
copyWith()
forDate
andTime
- [Add] getter
now
forDate
- [Add] methods
parse
&tryParse
forDate
- [Add] methods
addDuration(dur:)
,closeTo()
,formatAs()
forTime
- [Add] new date functions and manipulations. Inspirited by dart_date (thanks for westito)
- [Add] arithmetic operators
- [Add]
OverflowedTime
- [Add] more tests
[Add] roundToTheNearestMin
for Time
[Fix] addDays
of Date
- [Add]
upTo
forTimeRange
- [Add]
format
forTime
- [Rename]
isInRange
tocontains
- [Add] examples
- [Add]
Date
andDateRange
classes - [Add]
Time
andTimeRange
classes - [Add] extensions for
DateTime
to separateDate
&Time