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

outdated

A small Dart package that calculates the date of Easter from 1583 to 4099.

easter #

Small Dart package that calculates the date of Easter from 1583 to 4099.

Usage #

Calling the getEaster() method with a year as parameter returns a DateTime object with year, month and day properties set for Easter Sunday of the specified year. The time part of the DateTime object is not set.

import 'package:easter/easter.dart';

var easter = getEaster(2019);
print(easter); // 2019-04-21 00:00:00.000
5
likes
0
pub points
35%
popularity

Publisher

verified publisherhesselholtskov.dk

A small Dart package that calculates the date of Easter from 1583 to 4099.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on easter