Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tommai4881/EasterDate

Repository files navigation

Easter Date Calculator / Trình Tính Lễ Phục Sinh

English:

This project provides a comprehensive set of tools and documentation for understanding and calculating the date of Easter. It explores various historical algorithms, offering both command-line and web-based interfaces for users to interact with the calculations. The goal is to make these complex algorithms accessible and easy to understand.

Tiếng Việt:

Dự án này cung cấp một bộ công cụ và tài liệu toàn diện để tìm hiểu và tính toán ngày Lễ Phục Sinh. Dự án khám phá các thuật toán lịch sử khác nhau, cung cấp cả giao diện dòng lệnh và giao diện web để người dùng tương tác với các phép tính. Mục tiêu là làm cho các thuật toán phức tạp này trở nên dễ tiếp cận và dễ hiểu.

Project Components / Thành phần Dự án

English:

  • DoomsdayEaster.py: A Python script for calculating Easter dates using the Doomsday, Gaussian, and Typikon algorithms.
  • Easter Calculator.html: A web-based calculator that allows users to compute Easter dates using various algorithms and visualize the steps.
  • EasterInfographic.html: An interactive infographic that explains the different Easter calculation algorithms visually.
  • Easter Date Algorithms.pdf: A detailed PDF document explaining the various algorithms.
  • easter table.md: A Markdown file with technical tables and code snippets related to Easter calculations.
  • easterdate.txt: A text file with a Vietnamese explanation of the Gaussian algorithm.
  • LICENSE: The project's license.

Tiếng Việt:

  • DoomsdayEaster.py: Một tập lệnh Python để tính ngày Lễ Phục Sinh bằng các thuật toán Doomsday, Gaussian và Typikon.
  • Easter Calculator.html: Một trình tính toán dựa trên web cho phép người dùng tính ngày Lễ Phục Sinh bằng các thuật toán khác nhau và hình dung các bước.
  • EasterInfographic.html: Một infographic tương tác giải thích trực quan các thuật toán tính Lễ Phục Sinh khác nhau.
  • Easter Date Algorithms.pdf: Một tài liệu PDF chi tiết giải thích các thuật toán khác nhau.
  • easter table.md: Một tệp Markdown với các bảng kỹ thuật và đoạn mã liên quan đến việc tính toán Lễ Phục Sinh.
  • easterdate.txt: Một tệp văn bản với lời giải thích bằng tiếng Việt về thuật toán Gaussian.
  • LICENSE: Giấy phép của dự án.

Algorithms / Các thuật toán

English:

This project implements and explains several algorithms for calculating the date of Easter, including:

  • Doomsday Algorithm: A method for calculating the day of the week for any given date.
  • Gaussian Algorithm: A mathematical algorithm devised by Carl Friedrich Gauss for calculating the date of Easter.
  • Typikon Algorithm: An algorithm used by the Orthodox Christian Church to determine the date of Pascha (Easter).
  • Clavian Algorithm: Based on the work of Christopher Clavius, this algorithm is used for the Gregorian calendar.
  • Meeus's Julian Algorithm: An algorithm for calculating Easter in the Julian calendar.

Tiếng Việt:

Dự án này triển khai và giải thích một số thuật toán để tính ngày Lễ Phục Sinh, bao gồm:

  • Thuật toán Doomsday: Một phương pháp để tính ngày trong tuần cho một ngày bất kỳ.
  • Thuật toán Gaussian: Một thuật toán toán học do Carl Friedrich Gauss nghĩ ra để tính ngày Lễ Phục Sinh.
  • Thuật toán Typikon: Một thuật toán được Giáo hội Chính thống giáo sử dụng để xác định ngày lễ Pascha (Lễ Phục Sinh).
  • Thuật toán Clavian: Dựa trên công trình của Christopher Clavius, thuật toán này được sử dụng cho lịch Gregorian.
  • Thuật toán Julian của Meeus: Một thuật toán để tính Lễ Phục Sinh theo lịch Julian.

Usage / Cách sử dụng

English:

Python Script

To use the Python script, run the following command in your terminal:

python DoomsdayEaster.py

The script will prompt you to enter a year, and it will then output the Easter date for that year.

Web Interface

To use the web-based calculator, open the Easter Calculator.html file in your web browser. You can then enter a year and select an algorithm to calculate the Easter date.

Tiếng Việt:

Tập lệnh Python

Để sử dụng tập lệnh Python, hãy chạy lệnh sau trong terminal của bạn:

python DoomsdayEaster.py

Tập lệnh sẽ nhắc bạn nhập một năm và sau đó nó sẽ xuất ra ngày Lễ Phục Sinh cho năm đó.

Giao diện Web

Để sử dụng trình tính toán dựa trên web, hãy mở tệp Easter Calculator.html trong trình duyệt web của bạn. Sau đó, bạn có thể nhập một năm và chọn một thuật toán để tính ngày Lễ Phục Sinh.

Further Reading / Đọc thêm

English:

For a more in-depth understanding of the algorithms and the history of Easter calculations, please refer to the following resources:

  • Easter Date Algorithms.pdf: A detailed PDF document explaining the various algorithms.
  • easter table.md: A Markdown file with technical tables and code snippets related to Easter calculations.
  • EasterInfographic.html: An interactive infographic that explains the different Easter calculation algorithms visually.

Tiếng Việt:

Để hiểu sâu hơn về các thuật toán và lịch sử tính toán Lễ Phục Sinh, vui lòng tham khảo các tài nguyên sau:

  • Easter Date Algorithms.pdf: Một tài liệu PDF chi tiết giải thích các thuật toán khác nhau.
  • easter table.md: Một tệp Markdown với các bảng kỹ thuật và đoạn mã liên quan đến việc tính toán Lễ Phục Sinh.
  • EasterInfographic.html: Một infographic tương tác giải thích trực quan các thuật toán tính Lễ Phục Sinh khác nhau.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •