tempo 1.0.0 copy "tempo: ^1.0.0" to clipboard
tempo: ^1.0.0 copied to clipboard

A complete time and date solution that replaces Dart's core DateTime with a rich set of date and time classes, advanced arithmetic features and full time zone support.

GitHub Workflow Status

Tempo logo

Introduction #

Tempo is complete time and date solution that replaces Dart's core DateTime with a rich set of date and time classes, advanced arithmetic features and full time zone support.

Features #

  • Time zone-free date and time types for when you just need something simple:
    • Easier to think about and use
    • Fewer bugs and surprising behaviors
  • Zoned date time types for when you do need them
  • Convert to and from ISO 8601 strings
  • Formatting using the intl package
  • Lookup time zones by name, country and geographic coordinates
  • Calculate dates and times like a human would:
    • Add years and months to a datetime while keeping the day and time (no need to worry about leap years or time changes)
    • Count the number of actual months between two dates—not just the number of days divided by 30

Still not convinced? Read Why Tempo, or read my philosophy for this package.

Next Steps #

Contact #

6
likes
160
points
294
downloads

Publisher

verified publisherniladic.org

Weekly Downloads

A complete time and date solution that replaces Dart's core DateTime with a rich set of date and time classes, advanced arithmetic features and full time zone support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

built_collection, built_value, clock, collection, intl, meta, string_scanner, test

More

Packages that depend on tempo