OXIESEC PANEL
- Current Dir:
/
/
lib
/
python3.9
/
site-packages
/
dateutil
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 12:06:29 PM
rwxr-xr-x
📄
__init__.cpython-39.opt-1.pyc
333 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
__init__.cpython-39.pyc
333 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
_common.cpython-39.opt-1.pyc
1.36 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
_common.cpython-39.pyc
1.36 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
_version.cpython-39.opt-1.pyc
199 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
_version.cpython-39.pyc
199 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
easter.cpython-39.opt-1.pyc
2.12 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
easter.cpython-39.pyc
2.12 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
relativedelta.cpython-39.opt-1.pyc
14.39 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
relativedelta.cpython-39.pyc
14.43 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
rrule.cpython-39.opt-1.pyc
42.29 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
rrule.cpython-39.pyc
42.29 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
tzwin.cpython-39.opt-1.pyc
164 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
tzwin.cpython-39.pyc
164 bytes
09/27/2023 01:27:27 AM
rw-r--r--
📄
utils.cpython-39.opt-1.pyc
2.17 KB
09/27/2023 01:27:27 AM
rw-r--r--
📄
utils.cpython-39.pyc
2.17 KB
09/27/2023 01:27:27 AM
rw-r--r--
Editing: easter.cpython-39.opt-1.pyc
Close
a ���[| � @ s0 d Z ddlZg d�ZdZdZdZefdd�ZdS ) zx This module offers a generic easter computing method for any given year, using Western, Orthodox or Julian algorithms. � N)�easter� EASTER_JULIAN�EASTER_ORTHODOX�EASTER_WESTERN� � � c C sj d| krdksn t d��| }|d }d}|dk r�d| d d }||d | d }|d kr�d}|dkr�||d d |d d d }n�|d }||d d| d d d| d d }||d d|d d|d d| d }||d | d | |d d }|| | } d| d | d d d } d| d d }t�t|�t|�t| ��S )a This method was ported from the work done by GM Arts, on top of the algorithm by Claus Tondering, which was based in part on the algorithm of Ouding (1940), as quoted in "Explanatory Supplement to the Astronomical Almanac", P. Kenneth Seidelmann, editor. This algorithm implements three different easter calculation methods: 1 - Original calculation in Julian calendar, valid in dates after 326 AD 2 - Original method, with date converted to Gregorian calendar, valid in years 1583 to 4099 3 - Revised method, in Gregorian calendar, valid in years 1583 to 4099 as well These methods are represented by the constants: * ``EASTER_JULIAN = 1`` * ``EASTER_ORTHODOX = 2`` * ``EASTER_WESTERN = 3`` The default method is method 3. More about the algorithm may be found at: `GM Arts: Easter Algorithms <http://www.gmarts.org/index.php?go=415>`_ and `The Calendar FAQ: Easter <https://www.tondering.dk/claus/cal/easter.php>`_ r r zinvalid method� r � � � � r � i@ �d � � � � � � � � � � �( � � )� ValueError�datetime�date�int)Zyear�method�y�g�e�i�j�c�h�p�d�m� r, �3/usr/lib/python3.9/site-packages/dateutil/easter.pyr s( $",0$r )�__doc__r �__all__r r r r r, r, r, r- �<module> s