date_time 0.11.0 copy "date_time: ^0.11.0" to clipboard
date_time: ^0.11.0 copied to clipboard

Package to work with Date & Time in separation and with its Ranges.

0.11.0 #

  • [Update] dependencies
  • sdk: ">=3.1.3 <4.0.0"
  • intl: ^0.19.0
  • json_annotation: ^4.9.0

0.10.0 #

  • [Update] dependencies

0.9.0 #

  • [Add] Time.zero
  • [Update] dependencies

0.8.0 #

  • [Changed] Time formatting with enum
  • [Changed] Time toString now is 'HH:mm:ss:SSS'
  • [Remove] totalMilliseconds use inMilliseconds instead
  • [Fix] typos

0.7.1 #

  • [Add] milliseconds

0.6.1 #

  • [Add] extension on DateFormat to format Date

0.6.0 #

  • [BREAKING CHANGE] getters now of Date and Time into method now()
  • [BREAKING CHANGE] constructors of Date and Time with required named parameters
  • [Add] copyWith() for Date and Time

0.5.0 #

  • [Add] getter now for Date
  • [Add] methods parse & tryParse for Date
  • [Add] methods addDuration(dur:), closeTo(), formatAs() for Time
  • [Add] new date functions and manipulations. Inspirited by dart_date (thanks for westito)

0.4.5 #

  • [Add] arithmetic operators

0.4.4 #

  • [Add] OverflowedTime
  • [Add] more tests

0.3.3 #

[Add] roundToTheNearestMin for Time

0.2.2 #

[Fix] addDays of Date

0.1.2 #

  • [Add] upTo for TimeRange
  • [Add] format for Time
  • [Rename] isInRange to contains

0.0.2 #

  • [Add] examples

0.0.1 #

  • [Add] Date and DateRange classes
  • [Add] Time and TimeRange classes
  • [Add] extensions for DateTime to separate Date & Time
18
likes
130
points
891
downloads

Publisher

verified publisherdevcraft.ninja

Weekly Downloads

Package to work with Date & Time in separation and with its Ranges.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

clock, intl, json_annotation, quiver

More

Packages that depend on date_time