org.joda.time.chrono |
org.joda.time.chrono package
Package containing the chronology classes which define the calendar systems.
This package contains all of the chronology implementations within the library.
A chronology represents all the rules of a calendar system.
Applications will create chronologies using the static factory methods on
each specific Chronology class - getInstance.
The currently provided chronology implementations are:
- ISO
- GJ (GregorianJulian)
- Gregorian
- Julian
- Buddhist
- Coptic
- Ethiopic
- Islamic
The package also contains all of the specialised field implementations.
These classes are package scoped, along with various other chronology helper classes.
The package scoped classes (which are not shown in the javadoc) do not form part
of the public API of Joda-Time and may change at any time.
|
Java Source File Name | Type | Comment |
AssembledChronology.java | Class | Abstract Chronology that enables chronologies to be assembled from
a container of fields. |
BaseChronology.java | Class | BaseChronology provides a skeleton implementation for chronology
classes. |
BasicChronology.java | Class | Abstract implementation for calendar systems that use a typical
day/month/year/leapYear model. |
BasicDayOfMonthDateTimeField.java | Class | Provides time calculations for the day of the month component of time. |
BasicDayOfYearDateTimeField.java | Class | Provides time calculations for the day of the year component of time. |
BasicFixedMonthChronology.java | Class | Abstract implementation of a calendar system based around fixed length months. |
BasicGJChronology.java | Class | Abstract Chronology for implementing chronologies based on Gregorian/Julian formulae. |
BasicMonthOfYearDateTimeField.java | Class | Provides time calculations for the month of the year component of time. |
BasicSingleEraDateTimeField.java | Class | Provides time calculations for the coptic era component of time. |
BasicWeekOfWeekyearDateTimeField.java | Class | Provides time calculations for the week of a week based year component of time. |
BasicWeekyearDateTimeField.java | Class | Provides time calculations for the week of the weekyear component of time. |
BasicYearDateTimeField.java | Class | A year field suitable for many calendars. |
BuddhistChronology.java | Class | A chronology that matches the BuddhistCalendar class supplied by Sun.
The chronology is identical to the Gregorian/Julian, except that the
year is offset by +543 and the era is named 'BE' for Buddhist Era.
This class was intended by Sun to model the calendar used in Thailand.
However, the actual rules for Thailand are much more involved than
this class covers. |
CopticChronology.java | Class | Implements the Coptic calendar system, which defines every fourth year as
leap, much like the Julian calendar. |
EthiopicChronology.java | Class | Implements the Ethiopic calendar system, which defines every fourth year as
leap, much like the Julian calendar. |
GJChronology.java | Class | Implements the Gregorian/Julian calendar system which is the calendar system
used in most of the world. |
GJDayOfWeekDateTimeField.java | Class | GJDayOfWeekDateTimeField provides time calculations for the
day of the week component of time. |
GJEraDateTimeField.java | Class | Provides time calculations for the era component of time. |
GJLocaleSymbols.java | Class | Utility class used by a few of the GJDateTimeFields. |
GJMonthOfYearDateTimeField.java | Class | Provides time calculations for the month of the year component of time. |
GJYearOfEraDateTimeField.java | Class | Provides time calculations for the year of era component of time. |
GregorianChronology.java | Class | Implements a pure proleptic Gregorian calendar system, which defines every
fourth year as leap, unless the year is divisible by 100 and not by 400.
This improves upon the Julian calendar leap year rule.
Although the Gregorian calendar did not exist before 1582 CE, this
chronology assumes it did, thus it is proleptic. |
IslamicChronology.java | Class | Implements the Islamic, or Hijri, calendar system using arithmetic rules.
This calendar is a lunar calendar with a shorter year than ISO.
Year 1 in the Islamic calendar began on July 16, 622 CE (Julian), thus
Islamic years do not begin at the same time as Julian years. |
ISOChronology.java | Class | Implements a chronology that follows the rules of the ISO8601 standard,
which is compatible with Gregorian for all modern dates.
When ISO does not define a field, but it can be determined (such as AM/PM)
it is included.
With the exception of century related fields, ISOChronology is exactly the
same as
GregorianChronology . |
ISOYearOfEraDateTimeField.java | Class | This field is not publicy exposed by ISOChronology, but rather it is used to
build the yearOfCentury and centuryOfEra fields. |
JulianChronology.java | Class | Implements a pure proleptic Julian calendar system, which defines every
fourth year as leap. |
LenientChronology.java | Class | Wraps another Chronology, ensuring all the fields are lenient. |
LimitChronology.java | Class | Wraps another Chronology to impose limits on the range of instants that
the fields within a Chronology may support. |
StrictChronology.java | Class | Wraps another Chronology, ensuring all the fields are strict. |
TestAll.java | Class | Entry point for all tests in this package. |
TestBuddhistChronology.java | Class | This class is a Junit unit test for BuddhistChronology. |
TestCopticChronology.java | Class | This class is a Junit unit test for CopticChronology. |
TestEthiopicChronology.java | Class | This class is a Junit unit test for EthiopicChronology. |
TestGJChronology.java | Class | This class is a Junit unit test for GJChronology. |
TestGregorianChronology.java | Class | This class is a Junit unit test for GregorianChronology. |
TestIslamicChronology.java | Class | This class is a Junit unit test for IslamicChronology. |
TestISOChronology.java | Class | This class is a Junit unit test for ISOChronology. |
TestJulianChronology.java | Class | This class is a Junit unit test for JulianChronology. |
TestLenientChronology.java | Class | |
ZonedChronology.java | Class | Wraps another Chronology to add support for time zones. |