tempo
1.2.6, released 3 weeks ago by niladic.org
A time and date solution replacing core DateTime with advanced arithmetic and time zone support.
What it does
Tempo replaces Dart's core DateTime with a rich set of date and time classes. It offers advanced arithmetic features like human-like month/year addition and full time zone support.
AI-written summary of version 1.2.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need robust time zone handling and conversions.
- You want advanced date/time arithmetic that handles months and leap years correctly.
Skip it when
- You only need basic, native DateTime operations without additional dependencies.
Strengths
- Comprehensive time zone support with TZDB updates.
- Human-like date arithmetic.
Weaknesses
- Introduces a new custom date/time API instead of using core types.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 8
// Example usage not provided in READMEAlternatives
Packages that do the same job and could replace tempo.
- timezone
Time zone databases and time zone aware DateTime class in Dart.
94Compare - syncfusion_flutter_core
Core dependency for Syncfusion Flutter widgets, providing shared functionality.
90Compare - jiffy
Parse, manipulate, query, and format dates and times in Dart and Flutter.
70Compare - sugar
Standard library extension for date-times, timezones, collections, and monads.
68Compare
Works with
Packages commonly used together with tempo: ones it builds on, ones built on it, and its own family.
- built_valuetempo depends on itImmutable value types with builders, enum classes and JSON serialization for Dart.
- clocktempo depends on itA fakeable wrapper for dart:core clock APIs.
- testtempo depends on itA full featured library for writing and running Dart tests across platforms.
- intltempo depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- string_scannertempo depends on itA class for parsing strings using a sequence of patterns.
- built_collectiontempo depends on itImmutable collections based on SDK collections with builder pattern.