date_n_time 1.0.7 date_n_time: ^1.0.7 copied to clipboard
Dart Package for working with Dates without Times and/or Zones.
Changelog #
1.0.7 #
- Modified
LocalDateRange
constructor to actually allow for zero-length ranges.
1.0.6 #
- Added
period
property forLocalDateRange
. - Modified
LocalDateRange
constructor to allow for zero-length ranges.
1.0.5 #
- Fixed a bug where
Temporal.atEndOfMonth()
would return a wrong result for dates near the end of the month, ironically.
1.0.4 #
- Updated
intl
dependency to version>=0.19 <0.21.0
, fixing resolve issue for flutter.
1.0.3 #
- Improved package description.
1.0.2 #
- New:
WeekFields
- for localized week aspects. - Added
atStartOfWeek(locale)
extension forTemporal
. - Added
of(int)
constructor forDayOfWeek
. - Added
value
property forDayOfWeek
. - Added
ofEpochDay(int)
constructor forLocalDate
. - Added
ChronoField.epochDay
adjust/get support forLocalDate
. - Added
fromMicrosecondsSinceEpoch(int, ZoneId)
constructor forLocalDateTime
. - Added
ofMicrosecondOfDay(int)
constructor forLocalTime
. - Added
ChronoField.microsecondOfDay
get support forLocalTime
. - Added
copyWith
method toPeriod
. - Added
fromMicrosecondsSinceEpoch(int, ZoneId)
constructor forZonedDateTime
. - Added
copyWith
method toZonedDateTime
. - Added
toLocalDateTime()
extension forDateTime
. - Added
toZonedDateTime()
extension forDateTime
. - Modified
LocalDate.from(Temporal)
to useChronoField.epochDay
instead of components. - Modified
LocalTime.from(Temporal)
to useChronoField.microsecondOfDay
instead of components. - Updated
intl
dependency to version0.20.1
. - Improved documentation coverage.
1.0.1 #
- Fixed missing exports.
1.0.0 #
- Initial release.