This is a Rust program that calculates the Western and Orthodox Easter dates for a given year. The Western Easter date is calculated using the Meeus/Jones/Butcher algorithm, while the Orthodox Easter date is calculated using different Meeus algorithms for the Julian and Gregorian calendars.
- Rust programming language (stable version)
-
Clone the repository:
git clone https://github.com/petrosppg/felixPascha.git
-
Navigate to the project directory:
cd felixPascha
-
Open the
main.rs
file and replace theyear
variable in themain
function with the desired year:let year = 2024; // Replace this with the year you want to calculate Easter for
-
Run the program:
rustc main.rs
The program will output the Western Easter date, followed by the Orthodox Easter dates in both the Julian and Gregorian calendars.
Contributions to the Rust Easter Date Calculator project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.