Commit 66b9f233 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

Links to all calendars

parent e5ba83ee
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@

A class for php to work with pure dates (without time).

* Works with the proleptic Gregorian calendar by default
* Uses Julian day internally
* Works with the proleptic [Gregorian calendar](https://en.wikipedia.org/wiki/Gregorian_calendar) by default
* Uses [Julian day](https://en.wikipedia.org/wiki/Julian_day) internally
* Does not depend on the calendar extension
* Correctly supports full integer range for the dates
  (-5884323-05-15 to 5874898-06-03 on a 32-bit system, even more on 64-bit)
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@ Gregorian Calendar

.. highlight:: php

.. note::
    Gregorian calendar: https://en.wikipedia.org/wiki/Gregorian_calendar

Proleptic Gregorian calendar is the default calendar of the library.
Years are assumed to be in the astronomical notation. (``1 AD`` is ``1``, ``1 BC`` is ``0``, ``2 BC`` is ``-1``)
The date range is ``-5884323-05-15`` to ``5874898-06-03`` for a 32-bit system
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@ Julian Calendar

.. highlight:: php

.. note::
    Julian calendar: https://en.wikipedia.org/wiki/Julian_calendar

Proleptic Julian calendar is implemented by ``julian()`` helper and ``JulianCalendar`` factory.
Years are assumed to be in the astronomical notation. (``1 AD`` is ``1``, ``1 BC`` is ``0``, ``2 BC`` is ``-1``)
The date range is ``-5884202-03-16`` to ``5874777-10-17`` for a 32-bit system
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@ Revised Julian (Milanković) Calendar

.. highlight:: php

.. note::
    Revised Julian calendar: https://en.wikipedia.org/wiki/Revised_Julian_calendar

Proleptic Revised Julian calendar is implemented by ``milankovic()`` helper and ``MilankovicCalendar`` factory.
Years are assumed to be in the astronomical notation. (``1 AD`` is ``1``, ``1 BC`` is ``0``, ``2 BC`` is ``-1``)
The date range is ``-5884328-11-22`` to ``5874902-11-21`` for a 32-bit system