simple_date

Last updated:

0 purchases

simple_date Image
simple_date Images
Add to Cart

Description:

simple date

Simple Date #
A simple date class with no notion of time.
Can be used as a simpler alternative to Dart's DateTime.
Usage #
final today = SimpleDate.today();
final moonLanding = SimpleDate(1969, 07, 20);

print(today.isAfter(moonLanding)); // true

final birthday = SimpleDate(1998, 07, 20);
final age = birthday.difference(today);
print(age); // My current age!
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the GitHub repository.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.