| java.lang.Object org.joda.time.Chronology
All known Subclasses: org.joda.time.chrono.BaseChronology,
Chronology | abstract public class Chronology (Code) | | Chronology provides access to the individual date time fields for a
chronological calendar system.
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:
- ISO - Based on the ISO8601 standard and suitable for use after about 1600
- GJ - Historically accurate calendar with Julian followed by Gregorian
- Gregorian - The Gregorian calendar system used for all time (proleptic)
- Julian - The Julian calendar system used for all time (proleptic)
- Buddhist - The Buddhist calendar system which is an offset in years from GJ
- Coptic - The Coptic calendar system which defines 30 day months
- Ethiopic - The Ethiopic calendar system which defines 30 day months
Hopefully future releases will contain more chronologies.
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 Also: org.joda.time.chrono.ISOChronology See Also: org.joda.time.chrono.GJChronology See Also: org.joda.time.chrono.GregorianChronology See Also: org.joda.time.chrono.JulianChronology See Also: org.joda.time.chrono.CopticChronology See Also: org.joda.time.chrono.BuddhistChronology See Also: org.joda.time.chrono.EthiopicChronology author: Stephen Colebourne author: Brian S O'Neill since: 1.0 |
Method Summary | |
abstract public long | add(ReadablePeriod period, long instant, int scalar) Adds the period to the instant, specifying the number of times to add. | abstract public long | add(long instant, long duration, int scalar) Adds the duration to the instant, specifying the number of times to add. | abstract public DurationField | centuries() Get the centuries duration field for this chronology. | abstract public DateTimeField | centuryOfEra() Get the century of era field for this chronology. | abstract public DateTimeField | clockhourOfDay() Get the hour of day (offset to 1-24) field for this chronology. | abstract public DateTimeField | clockhourOfHalfday() Get the hour of am/pm (offset to 1-12) field for this chronology. | abstract public DateTimeField | dayOfMonth() Get the day of month field for this chronology. | abstract public DateTimeField | dayOfWeek() Get the day of week field for this chronology. | abstract public DateTimeField | dayOfYear() Get the day of year field for this chronology. | abstract public DurationField | days() Get the days duration field for this chronology. | abstract public DateTimeField | era() Get the era field for this chronology. | abstract public DurationField | eras() Get the eras duration field for this chronology. | abstract public int[] | get(ReadablePartial partial, long instant) Gets the values of a partial from an instant. | abstract public int[] | get(ReadablePeriod period, long startInstant, long endInstant) Gets the values of a period from an interval. | abstract public int[] | get(ReadablePeriod period, long duration) Gets the values of a period from an interval. | public static Chronology | getBuddhist() Gets an instance of the BuddhistChronology in the default zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. | public static Chronology | getBuddhist(DateTimeZone zone) Gets an instance of the BuddhistChronology in the specified zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. | public static Chronology | getBuddhistUTC() Gets an instance of the BuddhistChronology in the UTC zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. | public static Chronology | getCoptic() Gets an instance of the CopticChronology in the default zone. | public static Chronology | getCoptic(DateTimeZone zone) Gets an instance of the CopticChronology in the specified zone. | public static Chronology | getCopticUTC() Gets an instance of the CopticChronology in the UTC zone. | abstract public long | getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay) Returns a datetime millisecond instant, formed from the given year,
month, day, and millisecond values. | abstract public long | getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) Returns a datetime millisecond instant, formed from the given year,
month, day, hour, minute, second, and millisecond values. | abstract public long | getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) Returns a datetime millisecond instant, from from the given instant,
hour, minute, second, and millisecond values. | public static Chronology | getGJ() Gets an instance of the GJChronology in the default zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. | public static Chronology | getGJ(DateTimeZone zone) Gets an instance of the GJChronology in the specified zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. | public static Chronology | getGJUTC() Gets an instance of the GJChronology in the UTC zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. | public static Chronology | getGregorian() Gets an instance of the GregorianChronology in the default zone. | public static Chronology | getGregorian(DateTimeZone zone) Gets an instance of the GregorianChronology in the specified zone. | public static Chronology | getGregorianUTC() Gets an instance of the GregorianChronology in the UTC zone. | public static Chronology | getISO() Gets an instance of the ISOChronology in the default zone. | public static Chronology | getISO(DateTimeZone zone) Gets an instance of the ISOChronology in the specified zone. | public static Chronology | getISOUTC() Gets an instance of the ISOChronology in the UTC zone. | public static Chronology | getJulian() Gets an instance of the JulianChronology in the default zone. | public static Chronology | getJulian(DateTimeZone zone) Gets an instance of the JulianChronology in the specified zone. | public static Chronology | getJulianUTC() Gets an instance of the JulianChronology in the UTC zone. | abstract public DateTimeZone | getZone() Returns the DateTimeZone that this Chronology operates in, or null if
unspecified. | abstract public DateTimeField | halfdayOfDay() Get the AM(0) PM(1) field for this chronology. | abstract public DurationField | halfdays() Get the halfdays duration field for this chronology. | abstract public DateTimeField | hourOfDay() Get the hour of day (0-23) field for this chronology. | abstract public DateTimeField | hourOfHalfday() Get the hour of am/pm (0-11) field for this chronology. | abstract public DurationField | hours() Get the hours duration field for this chronology. | abstract public DurationField | millis() Get the millis duration field for this chronology. | abstract public DateTimeField | millisOfDay() Get the millis of day field for this chronology. | abstract public DateTimeField | millisOfSecond() Get the millis of second field for this chronology. | abstract public DateTimeField | minuteOfDay() Get the minute of day field for this chronology. | abstract public DateTimeField | minuteOfHour() Get the minute of hour field for this chronology. | abstract public DurationField | minutes() Get the minutes duration field for this chronology. | abstract public DateTimeField | monthOfYear() Get the month of year field for this chronology. | abstract public DurationField | months() Get the months duration field for this chronology. | abstract public DateTimeField | secondOfDay() Get the second of day field for this chronology. | abstract public DateTimeField | secondOfMinute() Get the second of minute field for this chronology. | abstract public DurationField | seconds() Get the seconds duration field for this chronology. | abstract public long | set(ReadablePartial partial, long instant) Sets the partial into the instant. | abstract public String | toString() Gets a debugging toString. | abstract public void | validate(ReadablePartial partial, int[] values) Validates whether the values are valid for the fields of a partial instant. | abstract public DateTimeField | weekOfWeekyear() Get the week of a week based year field for this chronology. | abstract public DurationField | weeks() Get the weeks duration field for this chronology. | abstract public DateTimeField | weekyear() Get the year of a week based year field for this chronology. | abstract public DateTimeField | weekyearOfCentury() Get the year of a week based year in a century field for this chronology. | abstract public DurationField | weekyears() Get the weekyears duration field for this chronology. | abstract public Chronology | withUTC() Returns an instance of this Chronology that operates in the UTC time
zone. | abstract public Chronology | withZone(DateTimeZone zone) Returns an instance of this Chronology that operates in any time zone. | abstract public DateTimeField | year() Get the year field for this chronology. | abstract public DateTimeField | yearOfCentury() Get the year of century field for this chronology. | abstract public DateTimeField | yearOfEra() Get the year of era field for this chronology. | abstract public DurationField | years() Get the years duration field for this chronology. |
add | abstract public long add(ReadablePeriod period, long instant, int scalar)(Code) | | Adds the period to the instant, specifying the number of times to add.
Parameters: period - the period to add, null means add nothing Parameters: instant - the instant to add to Parameters: scalar - the number of times to add the updated instant |
add | abstract public long add(long instant, long duration, int scalar)(Code) | | Adds the duration to the instant, specifying the number of times to add.
Parameters: instant - the instant to add to Parameters: duration - the duration to add Parameters: scalar - the number of times to add the updated instant |
centuries | abstract public DurationField centuries()(Code) | | Get the centuries duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
centuryOfEra | abstract public DateTimeField centuryOfEra()(Code) | | Get the century of era field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
clockhourOfDay | abstract public DateTimeField clockhourOfDay()(Code) | | Get the hour of day (offset to 1-24) field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
clockhourOfHalfday | abstract public DateTimeField clockhourOfHalfday()(Code) | | Get the hour of am/pm (offset to 1-12) field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
dayOfMonth | abstract public DateTimeField dayOfMonth()(Code) | | Get the day of month field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
dayOfWeek | abstract public DateTimeField dayOfWeek()(Code) | | Get the day of week field for this chronology.
DayOfWeek values are defined in
DateTimeConstants .
They use the ISO definitions, where 1 is Monday and 7 is Sunday.
DateTimeField or UnsupportedDateTimeField if unsupported |
dayOfYear | abstract public DateTimeField dayOfYear()(Code) | | Get the day of year field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
days | abstract public DurationField days()(Code) | | Get the days duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
era | abstract public DateTimeField era()(Code) | | Get the era field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
eras | abstract public DurationField eras()(Code) | | Get the eras duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
get | abstract public int[] get(ReadablePartial partial, long instant)(Code) | | Gets the values of a partial from an instant.
Parameters: partial - the partial instant to use Parameters: instant - the instant to query the values of this partial extracted from the instant |
get | abstract public int[] get(ReadablePeriod period, long startInstant, long endInstant)(Code) | | Gets the values of a period from an interval.
Parameters: period - the period instant to use Parameters: startInstant - the start instant of an interval to query Parameters: endInstant - the start instant of an interval to query the values of the period extracted from the interval |
get | abstract public int[] get(ReadablePeriod period, long duration)(Code) | | Gets the values of a period from an interval.
Parameters: period - the period instant to use Parameters: duration - the duration to query the values of the period extracted from the duration |
getBuddhist | public static Chronology getBuddhist()(Code) | | Gets an instance of the BuddhistChronology in the default zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. The chronology cannot be used before
year 1 in the Buddhist calendar.
the Buddhist chronology |
getBuddhist | public static Chronology getBuddhist(DateTimeZone zone)(Code) | | Gets an instance of the BuddhistChronology in the specified zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. The chronology cannot be used before
year 1 in the Buddhist calendar.
Parameters: zone - the zone to use, null means default zone the Buddhist chronology |
getBuddhistUTC | public static Chronology getBuddhistUTC()(Code) | | Gets an instance of the BuddhistChronology in the UTC zone.
BuddhistChronology defines all fields using standard meanings,
however the year is offset by 543. The chronology cannot be used before
year 1 in the Buddhist calendar.
the Buddhist chronology |
getCoptic | public static Chronology getCoptic()(Code) | | Gets an instance of the CopticChronology in the default zone.
CopticChronology defines fields sensibly for the Coptic calendar system.
The Coptic calendar system defines every fourth year as leap.
The year is broken down into 12 months, each 30 days in length.
An extra period at the end of the year is either 5 or 6 days in length
and is returned as a 13th month.
Year 1 in the Coptic calendar began on August 29, 284 CE (Julian).
The chronology cannot be used before the first Coptic year.
the Coptic chronology |
getCoptic | public static Chronology getCoptic(DateTimeZone zone)(Code) | | Gets an instance of the CopticChronology in the specified zone.
CopticChronology defines fields sensibly for the Coptic calendar system.
The Coptic calendar system defines every fourth year as leap.
The year is broken down into 12 months, each 30 days in length.
An extra period at the end of the year is either 5 or 6 days in length
and is returned as a 13th month.
Year 1 in the Coptic calendar began on August 29, 284 CE (Julian).
The chronology cannot be used before the first Coptic year.
Parameters: zone - the zone to use, null means default zone the Coptic chronology |
getCopticUTC | public static Chronology getCopticUTC()(Code) | | Gets an instance of the CopticChronology in the UTC zone.
CopticChronology defines fields sensibly for the Coptic calendar system.
The Coptic calendar system defines every fourth year as leap.
The year is broken down into 12 months, each 30 days in length.
An extra period at the end of the year is either 5 or 6 days in length
and is returned as a 13th month.
Year 1 in the Coptic calendar began on August 29, 284 CE (Julian).
The chronology cannot be used before the first Coptic year.
the Coptic chronology |
getDateTimeMillis | abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay)(Code) | | Returns a datetime millisecond instant, formed from the given year,
month, day, and millisecond values. The set of given values must refer
to a valid datetime, or else an IllegalArgumentException is thrown.
The default implementation calls upon separate DateTimeFields to
determine the result. Subclasses are encouraged to provide a more
efficient implementation.
Parameters: year - year to use Parameters: monthOfYear - month to use Parameters: dayOfMonth - day of month to use Parameters: millisOfDay - millisecond to use millisecond instant from 1970-01-01T00:00:00Z throws: IllegalArgumentException - if the values are invalid |
getDateTimeMillis | abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code) | | Returns a datetime millisecond instant, formed from the given year,
month, day, hour, minute, second, and millisecond values. The set of
given values must refer to a valid datetime, or else an
IllegalArgumentException is thrown.
The default implementation calls upon separate DateTimeFields to
determine the result. Subclasses are encouraged to provide a more
efficient implementation.
Parameters: year - year to use Parameters: monthOfYear - month to use Parameters: dayOfMonth - day of month to use Parameters: hourOfDay - hour to use Parameters: minuteOfHour - minute to use Parameters: secondOfMinute - second to use Parameters: millisOfSecond - millisecond to use millisecond instant from 1970-01-01T00:00:00Z throws: IllegalArgumentException - if the values are invalid |
getDateTimeMillis | abstract public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code) | | Returns a datetime millisecond instant, from from the given instant,
hour, minute, second, and millisecond values. The set of given values
must refer to a valid datetime, or else an IllegalArgumentException is
thrown.
The default implementation calls upon separate DateTimeFields to
determine the result. Subclasses are encouraged to provide a more
efficient implementation.
Parameters: instant - instant to start from Parameters: hourOfDay - hour to use Parameters: minuteOfHour - minute to use Parameters: secondOfMinute - second to use Parameters: millisOfSecond - millisecond to use millisecond instant from 1970-01-01T00:00:00Z throws: IllegalArgumentException - if the values are invalid |
getGJ | public static Chronology getGJ()(Code) | | Gets an instance of the GJChronology in the default zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. Thus there is no year zero.
This method uses the standard Julian to Gregorian cutover date of
October 15th 1582. If you require a cutover on a different date, then use
the factories on GJChronology itself.
When dealing solely with dates in the modern era, from 1600 onwards,
we recommend using ISOChronology, which is the default.
the GJ chronology |
getGJ | public static Chronology getGJ(DateTimeZone zone)(Code) | | Gets an instance of the GJChronology in the specified zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. Thus there is no year zero.
This method uses the standard Julian to Gregorian cutover date of
October 15th 1582. If you require a cutover on a different date, then use
the factories on GJChronology itself.
When dealing solely with dates in the modern era, from 1600 onwards,
we recommend using ISOChronology, which is the default.
Parameters: zone - the zone to use, null means default zone the GJ chronology |
getGJUTC | public static Chronology getGJUTC()(Code) | | Gets an instance of the GJChronology in the UTC zone.
GJChronology defines all fields using standard meanings.
This chronology is intended to be used as a replacement for GregorianCalendar .
The Gregorian calendar system is used after October 15, 1582, while the
Julian calendar system is used before.
Unlike GregorianCalendar , this chronology returns a year of -1
for 1 BCE, -2 for 2 BCE and so on. Thus there is no year zero.
This method uses the standard Julian to Gregorian cutover date of
October 15th 1582. If you require a cutover on a different date, then use
the factories on GJChronology itself.
When dealing solely with dates in the modern era, from 1600 onwards,
we recommend using ISOChronology, which is the default.
the GJ chronology |
getGregorian | public static Chronology getGregorian()(Code) | | Gets an instance of the GregorianChronology in the default zone.
GregorianChronology defines all fields using standard meanings.
It uses the Gregorian calendar rules for all time (proleptic)
thus it is NOT a replacement for GregorianCalendar .
For that purpose, you should use
Chronology.getGJ() .
The Gregorian calendar system defines a leap year every four years,
except that every 100 years is not leap, but every 400 is leap.
Technically, this chronology is almost identical to the ISO chronology,
thus we recommend using ISOChronology instead, which is the default.
the Gregorian chronology |
getGregorian | public static Chronology getGregorian(DateTimeZone zone)(Code) | | Gets an instance of the GregorianChronology in the specified zone.
GregorianChronology defines all fields using standard meanings.
It uses the Gregorian calendar rules for all time (proleptic)
thus it is NOT a replacement for GregorianCalendar .
For that purpose, you should use
Chronology.getGJ() .
The Gregorian calendar system defines a leap year every four years,
except that every 100 years is not leap, but every 400 is leap.
Technically, this chronology is almost identical to the ISO chronology,
thus we recommend using ISOChronology instead, which is the default.
Parameters: zone - the zone to use, null means default zone the Gregorian chronology |
getGregorianUTC | public static Chronology getGregorianUTC()(Code) | | Gets an instance of the GregorianChronology in the UTC zone.
GregorianChronology defines all fields using standard meanings.
It uses the Gregorian calendar rules for all time (proleptic)
thus it is NOT a replacement for GregorianCalendar .
For that purpose, you should use
Chronology.getGJ() .
The Gregorian calendar system defines a leap year every four years,
except that every 100 years is not leap, but every 400 is leap.
Technically, this chronology is almost identical to the ISO chronology,
thus we recommend using ISOChronology instead, which is the default.
the Gregorian chronology |
getISO | public static Chronology getISO()(Code) | | Gets an instance of the ISOChronology in the default zone.
ISOChronology defines all fields in line with the ISO8601 standard.
This chronology is the default, and is suitable for all normal datetime processing.
It is unsuitable for historical datetimes before October 15, 1582
as it applies the modern Gregorian calendar rules before that date.
the ISO chronology |
getISO | public static Chronology getISO(DateTimeZone zone)(Code) | | Gets an instance of the ISOChronology in the specified zone.
ISOChronology defines all fields in line with the ISO8601 standard.
This chronology is the default, and is suitable for all normal datetime processing.
It is unsuitable for historical datetimes before October 15, 1582
as it applies the modern Gregorian calendar rules before that date.
Parameters: zone - the zone to use, null means default zone the ISO chronology |
getISOUTC | public static Chronology getISOUTC()(Code) | | Gets an instance of the ISOChronology in the UTC zone.
ISOChronology defines all fields in line with the ISO8601 standard.
This chronology is the default, and is suitable for all normal datetime processing.
It is unsuitable for historical datetimes before October 15, 1582
as it applies the modern Gregorian calendar rules before that date.
the ISO chronology |
getJulian | public static Chronology getJulian()(Code) | | Gets an instance of the JulianChronology in the default zone.
JulianChronology defines all fields using standard meanings.
It uses the Julian calendar rules for all time (proleptic).
The Julian calendar system defines a leap year every four years.
the Julian chronology |
getJulian | public static Chronology getJulian(DateTimeZone zone)(Code) | | Gets an instance of the JulianChronology in the specified zone.
JulianChronology defines all fields using standard meanings.
It uses the Julian calendar rules for all time (proleptic).
The Julian calendar system defines a leap year every four years.
Parameters: zone - the zone to use, null means default zone the Julian chronology |
getJulianUTC | public static Chronology getJulianUTC()(Code) | | Gets an instance of the JulianChronology in the UTC zone.
JulianChronology defines all fields using standard meanings.
It uses the Julian calendar rules for all time (proleptic).
The Julian calendar system defines a leap year every four years.
the Julian chronology |
getZone | abstract public DateTimeZone getZone()(Code) | | Returns the DateTimeZone that this Chronology operates in, or null if
unspecified.
the DateTimeZone, null if unspecified |
halfdayOfDay | abstract public DateTimeField halfdayOfDay()(Code) | | Get the AM(0) PM(1) field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
halfdays | abstract public DurationField halfdays()(Code) | | Get the halfdays duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
hourOfDay | abstract public DateTimeField hourOfDay()(Code) | | Get the hour of day (0-23) field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
hourOfHalfday | abstract public DateTimeField hourOfHalfday()(Code) | | Get the hour of am/pm (0-11) field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
hours | abstract public DurationField hours()(Code) | | Get the hours duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
millis | abstract public DurationField millis()(Code) | | Get the millis duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
millisOfDay | abstract public DateTimeField millisOfDay()(Code) | | Get the millis of day field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
millisOfSecond | abstract public DateTimeField millisOfSecond()(Code) | | Get the millis of second field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
minuteOfDay | abstract public DateTimeField minuteOfDay()(Code) | | Get the minute of day field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
minuteOfHour | abstract public DateTimeField minuteOfHour()(Code) | | Get the minute of hour field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
minutes | abstract public DurationField minutes()(Code) | | Get the minutes duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
monthOfYear | abstract public DateTimeField monthOfYear()(Code) | | Get the month of year field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
months | abstract public DurationField months()(Code) | | Get the months duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
secondOfDay | abstract public DateTimeField secondOfDay()(Code) | | Get the second of day field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
secondOfMinute | abstract public DateTimeField secondOfMinute()(Code) | | Get the second of minute field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
seconds | abstract public DurationField seconds()(Code) | | Get the seconds duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
set | abstract public long set(ReadablePartial partial, long instant)(Code) | | Sets the partial into the instant.
Parameters: partial - the partial instant to use Parameters: instant - the instant to update the updated instant |
toString | abstract public String toString()(Code) | | Gets a debugging toString.
a debugging string |
validate | abstract public void validate(ReadablePartial partial, int[] values)(Code) | | Validates whether the values are valid for the fields of a partial instant.
Parameters: partial - the partial instant to validate Parameters: values - the values to validate, not null, match fields in partial throws: IllegalArgumentException - if the instant is invalid |
weekOfWeekyear | abstract public DateTimeField weekOfWeekyear()(Code) | | Get the week of a week based year field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
weeks | abstract public DurationField weeks()(Code) | | Get the weeks duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
weekyear | abstract public DateTimeField weekyear()(Code) | | Get the year of a week based year field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
weekyearOfCentury | abstract public DateTimeField weekyearOfCentury()(Code) | | Get the year of a week based year in a century field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
weekyears | abstract public DurationField weekyears()(Code) | | Get the weekyears duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
withUTC | abstract public Chronology withUTC()(Code) | | Returns an instance of this Chronology that operates in the UTC time
zone. Chronologies that do not operate in a time zone or are already
UTC must return themself.
a version of this chronology that ignores time zones |
year | abstract public DateTimeField year()(Code) | | Get the year field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
yearOfCentury | abstract public DateTimeField yearOfCentury()(Code) | | Get the year of century field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
yearOfEra | abstract public DateTimeField yearOfEra()(Code) | | Get the year of era field for this chronology.
DateTimeField or UnsupportedDateTimeField if unsupported |
years | abstract public DurationField years()(Code) | | Get the years duration field for this chronology.
DurationField or UnsupportedDurationField if unsupported |
|
|