Various chronologies are supported by subclasses including ISO and GregorianJulian. To construct a Chronology you should use the factory methods on the chronology subclass in the chrono package.
For example, to obtain the current time in the coptic calendar system:
DateTime dt = new DateTime(CopticChronology.getInstance());
The provided chronology implementations are:
This class defines a number of fields with names from the ISO8601 standard. It does not 'strongly' define these fields however, thus implementations are free to interpret the field names as they wish. For example, a week could be defined as 10 days and a month as 40 days in a special WeirdChronology implementation. Clearly the GJ and ISO implementations provided use the field names as you would expect. @see com.facebook.presto.jdbc.internal.joda.time.chrono.ISOChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.GJChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.GregorianChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.JulianChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.CopticChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.BuddhistChronology @see com.facebook.presto.jdbc.internal.joda.time.chrono.EthiopicChronology @author Stephen Colebourne @author Brian S O'Neill @since 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|