| java.lang.Object org.joda.time.Chronology org.joda.time.chrono.BaseChronology org.joda.time.chrono.AssembledChronology
All known Subclasses: org.joda.time.chrono.LimitChronology, org.joda.time.chrono.ZonedChronology, org.joda.time.chrono.BasicChronology, org.joda.time.chrono.LenientChronology, org.joda.time.chrono.ISOChronology, org.joda.time.chrono.StrictChronology, org.joda.time.chrono.GJChronology, org.joda.time.chrono.BuddhistChronology,
AssembledChronology | abstract public class AssembledChronology extends BaseChronology (Code) | | Abstract Chronology that enables chronologies to be assembled from
a container of fields.
AssembledChronology is thread-safe and immutable.
author: Brian S O'Neill since: 1.0 |
Inner Class :final public static class Fields | |
Method Summary | |
abstract protected void | assemble(Fields fields) Invoked by the constructor and after deserialization to allow subclasses
to define all of its supported fields. | final public DurationField | centuries() | final public DateTimeField | centuryOfEra() | final public DateTimeField | clockhourOfDay() | final public DateTimeField | clockhourOfHalfday() | final public DateTimeField | dayOfMonth() | final public DateTimeField | dayOfWeek() | final public DateTimeField | dayOfYear() | final public DurationField | days() | final public DateTimeField | era() | final public DurationField | eras() | final protected Chronology | getBase() Returns the same base chronology as passed into the constructor. | public long | getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay) | public long | getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) | public long | getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) | final protected Object | getParam() Returns the same param object as passed into the constructor. | public DateTimeZone | getZone() | final public DateTimeField | halfdayOfDay() | final public DurationField | halfdays() | final public DateTimeField | hourOfDay() | final public DateTimeField | hourOfHalfday() | final public DurationField | hours() | final public DurationField | millis() | final public DateTimeField | millisOfDay() | final public DateTimeField | millisOfSecond() | final public DateTimeField | minuteOfDay() | final public DateTimeField | minuteOfHour() | final public DurationField | minutes() | final public DateTimeField | monthOfYear() | final public DurationField | months() | final public DateTimeField | secondOfDay() | final public DateTimeField | secondOfMinute() | final public DurationField | seconds() | final public DateTimeField | weekOfWeekyear() | final public DurationField | weeks() | final public DateTimeField | weekyear() | final public DateTimeField | weekyearOfCentury() | final public DurationField | weekyears() | final public DateTimeField | year() | final public DateTimeField | yearOfCentury() | final public DateTimeField | yearOfEra() | final public DurationField | years() |
AssembledChronology | protected AssembledChronology(Chronology base, Object param)(Code) | | Constructor calls the assemble method, enabling subclasses to define its
supported fields. If a base chronology is supplied, the field set
initially contains references to each base chronology field.
Other methods in this class will delegate to the base chronology, if it
can be determined that the base chronology will produce the same results
as AbstractChronology.
Parameters: base - optional base chronology to copy initial fields from Parameters: param - optional param object avalable for assemble method |
assemble | abstract protected void assemble(Fields fields)(Code) | | Invoked by the constructor and after deserialization to allow subclasses
to define all of its supported fields. All unset fields default to
unsupported instances.
Parameters: fields - container of fields |
getBase | final protected Chronology getBase()(Code) | | Returns the same base chronology as passed into the constructor.
|
getDateTimeMillis | public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code) | | |
getDateTimeMillis | public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code) | | |
getParam | final protected Object getParam()(Code) | | Returns the same param object as passed into the constructor.
|
Methods inherited from org.joda.time.chrono.BaseChronology | public long add(ReadablePeriod period, long instant, int scalar)(Code)(Java Doc) public long add(long instant, long duration, int scalar)(Code)(Java Doc) public DurationField centuries()(Code)(Java Doc) public DateTimeField centuryOfEra()(Code)(Java Doc) public DateTimeField clockhourOfDay()(Code)(Java Doc) public DateTimeField clockhourOfHalfday()(Code)(Java Doc) public DateTimeField dayOfMonth()(Code)(Java Doc) public DateTimeField dayOfWeek()(Code)(Java Doc) public DateTimeField dayOfYear()(Code)(Java Doc) public DurationField days()(Code)(Java Doc) public DateTimeField era()(Code)(Java Doc) public DurationField eras()(Code)(Java Doc) public int[] get(ReadablePartial partial, long instant)(Code)(Java Doc) public int[] get(ReadablePeriod period, long startInstant, long endInstant)(Code)(Java Doc) public int[] get(ReadablePeriod period, long duration)(Code)(Java Doc) public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay) throws IllegalArgumentException(Code)(Java Doc) public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)(Java Doc) public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)(Java Doc) abstract public DateTimeZone getZone()(Code)(Java Doc) public DateTimeField halfdayOfDay()(Code)(Java Doc) public DurationField halfdays()(Code)(Java Doc) public DateTimeField hourOfDay()(Code)(Java Doc) public DateTimeField hourOfHalfday()(Code)(Java Doc) public DurationField hours()(Code)(Java Doc) public DurationField millis()(Code)(Java Doc) public DateTimeField millisOfDay()(Code)(Java Doc) public DateTimeField millisOfSecond()(Code)(Java Doc) public DateTimeField minuteOfDay()(Code)(Java Doc) public DateTimeField minuteOfHour()(Code)(Java Doc) public DurationField minutes()(Code)(Java Doc) public DateTimeField monthOfYear()(Code)(Java Doc) public DurationField months()(Code)(Java Doc) public DateTimeField secondOfDay()(Code)(Java Doc) public DateTimeField secondOfMinute()(Code)(Java Doc) public DurationField seconds()(Code)(Java Doc) public long set(ReadablePartial partial, long instant)(Code)(Java Doc) abstract public String toString()(Code)(Java Doc) public void validate(ReadablePartial partial, int[] values)(Code)(Java Doc) public DateTimeField weekOfWeekyear()(Code)(Java Doc) public DurationField weeks()(Code)(Java Doc) public DateTimeField weekyear()(Code)(Java Doc) public DateTimeField weekyearOfCentury()(Code)(Java Doc) public DurationField weekyears()(Code)(Java Doc) abstract public Chronology withUTC()(Code)(Java Doc) abstract public Chronology withZone(DateTimeZone zone)(Code)(Java Doc) public DateTimeField year()(Code)(Java Doc) public DateTimeField yearOfCentury()(Code)(Java Doc) public DateTimeField yearOfEra()(Code)(Java Doc) public DurationField years()(Code)(Java Doc)
|
Methods inherited from org.joda.time.Chronology | abstract public long add(ReadablePeriod period, long instant, int scalar)(Code)(Java Doc) abstract public long add(long instant, long duration, int scalar)(Code)(Java Doc) abstract public DurationField centuries()(Code)(Java Doc) abstract public DateTimeField centuryOfEra()(Code)(Java Doc) abstract public DateTimeField clockhourOfDay()(Code)(Java Doc) abstract public DateTimeField clockhourOfHalfday()(Code)(Java Doc) abstract public DateTimeField dayOfMonth()(Code)(Java Doc) abstract public DateTimeField dayOfWeek()(Code)(Java Doc) abstract public DateTimeField dayOfYear()(Code)(Java Doc) abstract public DurationField days()(Code)(Java Doc) abstract public DateTimeField era()(Code)(Java Doc) abstract public DurationField eras()(Code)(Java Doc) abstract public int[] get(ReadablePartial partial, long instant)(Code)(Java Doc) abstract public int[] get(ReadablePeriod period, long startInstant, long endInstant)(Code)(Java Doc) abstract public int[] get(ReadablePeriod period, long duration)(Code)(Java Doc) public static Chronology getBuddhist()(Code)(Java Doc) public static Chronology getBuddhist(DateTimeZone zone)(Code)(Java Doc) public static Chronology getBuddhistUTC()(Code)(Java Doc) public static Chronology getCoptic()(Code)(Java Doc) public static Chronology getCoptic(DateTimeZone zone)(Code)(Java Doc) public static Chronology getCopticUTC()(Code)(Java Doc) abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay)(Code)(Java Doc) abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code)(Java Doc) abstract public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code)(Java Doc) public static Chronology getGJ()(Code)(Java Doc) public static Chronology getGJ(DateTimeZone zone)(Code)(Java Doc) public static Chronology getGJUTC()(Code)(Java Doc) public static Chronology getGregorian()(Code)(Java Doc) public static Chronology getGregorian(DateTimeZone zone)(Code)(Java Doc) public static Chronology getGregorianUTC()(Code)(Java Doc) public static Chronology getISO()(Code)(Java Doc) public static Chronology getISO(DateTimeZone zone)(Code)(Java Doc) public static Chronology getISOUTC()(Code)(Java Doc) public static Chronology getJulian()(Code)(Java Doc) public static Chronology getJulian(DateTimeZone zone)(Code)(Java Doc) public static Chronology getJulianUTC()(Code)(Java Doc) abstract public DateTimeZone getZone()(Code)(Java Doc) abstract public DateTimeField halfdayOfDay()(Code)(Java Doc) abstract public DurationField halfdays()(Code)(Java Doc) abstract public DateTimeField hourOfDay()(Code)(Java Doc) abstract public DateTimeField hourOfHalfday()(Code)(Java Doc) abstract public DurationField hours()(Code)(Java Doc) abstract public DurationField millis()(Code)(Java Doc) abstract public DateTimeField millisOfDay()(Code)(Java Doc) abstract public DateTimeField millisOfSecond()(Code)(Java Doc) abstract public DateTimeField minuteOfDay()(Code)(Java Doc) abstract public DateTimeField minuteOfHour()(Code)(Java Doc) abstract public DurationField minutes()(Code)(Java Doc) abstract public DateTimeField monthOfYear()(Code)(Java Doc) abstract public DurationField months()(Code)(Java Doc) abstract public DateTimeField secondOfDay()(Code)(Java Doc) abstract public DateTimeField secondOfMinute()(Code)(Java Doc) abstract public DurationField seconds()(Code)(Java Doc) abstract public long set(ReadablePartial partial, long instant)(Code)(Java Doc) abstract public String toString()(Code)(Java Doc) abstract public void validate(ReadablePartial partial, int[] values)(Code)(Java Doc) abstract public DateTimeField weekOfWeekyear()(Code)(Java Doc) abstract public DurationField weeks()(Code)(Java Doc) abstract public DateTimeField weekyear()(Code)(Java Doc) abstract public DateTimeField weekyearOfCentury()(Code)(Java Doc) abstract public DurationField weekyears()(Code)(Java Doc) abstract public Chronology withUTC()(Code)(Java Doc) abstract public Chronology withZone(DateTimeZone zone)(Code)(Java Doc) abstract public DateTimeField year()(Code)(Java Doc) abstract public DateTimeField yearOfCentury()(Code)(Java Doc) abstract public DateTimeField yearOfEra()(Code)(Java Doc) abstract public DurationField years()(Code)(Java Doc)
|
|
|