quiver_time 1.0.0-dev.3 copy "quiver_time: ^1.0.0-dev.3" to clipboard
quiver_time: ^1.0.0-dev.3 copied to clipboard

discontinuedreplaced by: quiver
outdatedDart 1 only

Utilities for working with time

Quiver Time #

Utilities for working with time.

Build Status Coverage Status

Documentation #

API Docs

Clock provides points in time relative to the current point in time, for example: now, 2 days ago, 4 weeks from now, etc. For tesability, use Clock rather than other ways of accessing time, like new DateTime(), so that you can use a fake time function in your tests to control time.

aMicrosecond, aMillisecond, aSecond, aMinute, anHour, aDay, and aWeek are unit duration constants to allow writing for example:

  • aDay vs. const Duration(days: 1)
  • aSecond * 30 vs. const Duration(seconds: 30)
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Utilities for working with time

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on quiver_time