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.

By: Diego Coronel, Roland Tepp
Values
gregorianSource Codeshared gregorian gregorian

Represents the implementation of all calculations for the rules based on Gregorian Calendar.

unixTimeSource Codeshared unixTime unixTime

Common properties of Unix time.

Functions
rdSource 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
ChronologySource 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.

LeapYearSource Codeshared LeapYear<Self,Fields>
given Self satisfies Chronology<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
GregorianCalendarSource Codeshared abstract GregorianCalendar

Base class for a gregorian calendar chronology.

gregorianSource Codeshared gregorian

Represents the implementation of all calculations for the rules based on Gregorian Calendar.

unixTimeSource Codeshared unixTime

Common properties of Unix time.