Package containing supported chronologies in ceylon.time library.
A Chronology is a set of functions and methods that define the calendar system. A Chronology is tightly coupled to the actual date implementation of that chronology.
Generally speaking, a chronology is an implementation detail of a calendar system that should not be overly visible to the users of the library unless they wish to implement their own calendrical systems.
Initial implementation contains only implementation for gregorian (and julian) chronologies. This API is considered experimental and can change significantly between releases, so dependency on this package is not advisable for general use.
Values | |
gregorian | Source Codeshared gregorian gregorian Represents the implementation of all calculations for the rules based on Gregorian Calendar. |
unixTime | Source Codeshared unixTime unixTime Common properties of Unix time. |
Functions | |
rd | Source Codeshared Integer rd(Integer t) Converts Rata Die day number to a fixed date value. Rata Die is fixed at Monday, January 1st, 1. (Gregorian). |
Interfaces | |
Chronology | Source Codeshared Chronology<Fields> Generic base interface of a calendar system. Chronology serves as a computational backend to a Date representation of the same calendar system. |
LeapYear | Source Codeshared LeapYear<Self,Fields> An interface for calendar system that defines leap year rules. Note: This interface is meant to convey a Calendar that has some sort of leap year syntax. |
Classes | |
GregorianCalendar | Source Codeshared abstract GregorianCalendar Base class for a gregorian calendar chronology. |
gregorian | Source Codeshared gregorian Represents the implementation of all calculations for the rules based on Gregorian Calendar. |
unixTime | Source Codeshared unixTime Common properties of Unix time. |