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

A comprehensive Flutter package providing useful extensions and utilities for DateTime and TimeOfDay manipulation, comparison, and formatting.

Changelog #

1.0.0 - 2025-09-17 #

Added #

  • Initial release of datetime_utils package
  • Comprehensive DateTime extensions with methods for:
    • Date manipulation (add/subtract months, rounding operations)
    • Date comparison (same day/month, between dates)
    • Boundary checks (first/last day of year/month/week)
    • Utility functions (days in month, week number)
  • TimeOfDay extensions with methods for:
    • Time comparison and range checking
    • Time difference calculation
    • Time formatting and conversion to minutes
  • DateTimeCalculator class with static methods for:
    • Date arithmetic operations
    • Date rounding utilities
    • Helper functions (leap year detection, days in month)

Documentation #

  • Added comprehensive Dart doc comments to all public methods
  • Updated README with detailed usage examples and feature descriptions
  • Created complete package documentation

Technical Details #

  • Compatible with Flutter SDK >= 1.17.0
  • Dart SDK ^3.8.1
  • Lightweight with no external dependencies beyond Flutter SDK
2
likes
150
points
89
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package providing useful extensions and utilities for DateTime and TimeOfDay manipulation, comparison, and formatting.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on datetime_utils