teno_datetime 1.0.2 teno_datetime: ^1.0.2 copied to clipboard
Extensions for DateTime for a more convenient way of using it. Inspired by Jiffy and MonentJS but no introducing new data type.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add teno_datetime
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
teno_datetime: ^1.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:teno_datetime/teno_datetime.dart';