README

NAME

Date::Easter - Provides routines to calculate the dates of Easter and related events in the Christian calendar

SYNOPSIS

use Date::Easter;
say Easter 2022; # OUTPUT: «2022-04-17␤»

DESCRIPTION

Date::Easter is a module which provides a subroutine to calculate the dates of Easter in the Christian calendar. The sub returns a Raku Date object.

The routine's code is the Raku version of the algorithm shown at Isn’t there a simpler way to calculate Easter?. The website is a treasure trove of calendar information, courtesy of the very generous and talented Claus Tøndering, to whom I am greatly indebted.

Another routine returns a hash of Date::Events for use with the Calendar module. The hash is keyed by a Date with each key's value an array of Date::Event objects whose attributes describe the Lenten and post-Lenten Christian celebratory events of:

  • Ash Wednesday

    The beginning of Lent [46 days before Easter]

  • Palm Sunday

    Jesus Christ's entry into Jerusalem [the Sunday before Easter]

  • Good Friday

    Jesus Christ's crucifixion [the Friday before Easter]

  • Easter Sunday

    The resurrection of Jesus Christ

  • Ascension

    The ascension into Heaven of Jesus Christ [40 days after Easter]

  • Pentecost

    The descent of the Holy Sprit upon the Virgin Mary and the Disciples of Jesus Christ [50 days after Easter]

The subroutine exporting all the events

sub get-easter-events-hashlist(:$year --> Hash) is export {...}

AUTHOR

Tom Browder [email protected]

COPYRIGHT AND LICENSE

© 2021-2024 Tom Browder

This library is free software; you may redistribute it or modify it under the Artistic License 2.0.

Date::Easter v0.0.5

Provides a routine to calculate the date of Easter in the Christian calendar

Authors

  • Tom Browder

License

Artistic-2.0

Dependencies

Date::Event:ver<0.0.12>

Test Dependencies

Provides

  • Date::Easter

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.