date_n_time 1.0.9
date_n_time: ^1.0.9 copied to clipboard
Dart Package for working with Dates without Times and/or Zones.
Changelog #
1.0.9 #
- Added
totalMonthsproperty forPeriod.
1.0.8 #
Hotfix for JS optimizations.
- Renamed
datetolocalDateforLocalDateTime/ZonedDateTime. - Renamed
dateTimetolocalDateTimeforZonedDateTime. - Renamed
timetolocalTimeforLocalDateTime/ZonedDateTime.
As it turns out, 'date' as a property seems to conflict with an internal JS type.
This primarily affected Flutter apps.
1.0.7 #
- Modified
LocalDateRangeconstructor to actually allow for zero-length ranges.
1.0.6 #
- Added
periodproperty forLocalDateRange. - Modified
LocalDateRangeconstructor 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
intldependency 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
valueproperty forDayOfWeek. - Added
ofEpochDay(int)constructor forLocalDate. - Added
ChronoField.epochDayadjust/get support forLocalDate. - Added
fromMicrosecondsSinceEpoch(int, ZoneId)constructor forLocalDateTime. - Added
ofMicrosecondOfDay(int)constructor forLocalTime. - Added
ChronoField.microsecondOfDayget support forLocalTime. - Added
copyWithmethod toPeriod. - Added
fromMicrosecondsSinceEpoch(int, ZoneId)constructor forZonedDateTime. - Added
copyWithmethod toZonedDateTime. - Added
toLocalDateTime()extension forDateTime. - Added
toZonedDateTime()extension forDateTime. - Modified
LocalDate.from(Temporal)to useChronoField.epochDayinstead of components. - Modified
LocalTime.from(Temporal)to useChronoField.microsecondOfDayinstead of components. - Updated
intldependency to version0.20.1. - Improved documentation coverage.
1.0.1 #
- Fixed missing exports.
1.0.0 #
- Initial release.