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

A dart package that extends some date time utilities from Jiffy.

Calendar DateTime Extension #

Calendar DateTime Extension CI

calendar_datetime_extension is a Dart library that provides extension functions for DateTime objects, utilizing the power of the Jiffy library under the hood.

Features #

  • Simplified date and time for dates such as weekends and weekdays
  • Easy-to-use extension methods
  • Leverages Jiffy for robust date and time handling

Installation #

Add the following dependency to your pubspec.yaml file:

dependencies:
  calendar_datetime_extension: ^1.0.0

Usage #

Import the library and start using the extension methods:

import 'package:calendar_datetime_extension/calendar_datetime_extension.dart';

void main() {
    DateTime now = DateTime.now();

    // Example usage of an extension method
    DateTime nextWeek = now.addWeeks(1);
    print(nextWeek);
}

License #

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing #

Contributions are welcome! Please open an issue or submit a pull request.

Acknowledgements #

  • Jiffy - A powerful date and time manipulation library for Dart
0
likes
0
points
76
downloads

Publisher

verified publisherthemobilecoder.com

Weekly Downloads

A dart package that extends some date time utilities from Jiffy.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, jiffy

More

Packages that depend on calendar_datetime_extension