Uses of Class
org.joda.time.Chronology
-
Packages that use Chronology Package Description org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials.org.joda.time.base Implementation package providing abstract and base time classes.org.joda.time.chrono Package containing the chronology classes which define the calendar systems.org.joda.time.convert Implementation package providing conversion between date and time objects.org.joda.time.field Implementation package providing abstract and standard field classes.org.joda.time.format Provides printing and parsing support for instants and durations.org.joda.time.tz Implementation package supporting the time zones. -
-
Uses of Chronology in org.joda.time
Fields in org.joda.time declared as Chronology Modifier and Type Field Description private ChronologyLocalDate. iChronologyThe chronology to use in UTC.private ChronologyLocalDateTime. iChronologyThe chronology to use in UTCprivate ChronologyLocalTime. iChronologyThe chronology to use, in UTCprivate ChronologyPartial. iChronologyThe chronology in use.Methods in org.joda.time that return Chronology Modifier and Type Method Description protected ChronologyDateMidnight.Property. getChronology()Gets the chronology of the datetime that this property is linked to.protected ChronologyDateTime.Property. getChronology()Gets the chronology of the datetime that this property is linked to.static ChronologyDateTimeUtils. getChronology(Chronology chrono)Gets the chronology handling null.ChronologyInstant. getChronology()Gets the chronology of the instant, which is ISO in the UTC zone.ChronologyLocalDate. getChronology()Gets the chronology of the date.protected ChronologyLocalDate.Property. getChronology()Gets the chronology of the datetime that this property is linked to.ChronologyLocalDateTime. getChronology()Gets the chronology of the datetime.protected ChronologyLocalDateTime.Property. getChronology()Gets the chronology of the datetime that this property is linked to.ChronologyLocalTime. getChronology()Gets the chronology of the time.protected ChronologyLocalTime.Property. getChronology()Gets the chronology of the datetime that this property is linked to.protected ChronologyMutableDateTime.Property. getChronology()Gets the chronology of the datetime that this property is linked to.ChronologyPartial. getChronology()Gets the chronology of the partial which is never null.ChronologyReadableInstant. getChronology()Gets the chronology of the instant.ChronologyReadableInterval. getChronology()Gets the chronology of the interval, which is the chronology of the first datetime.ChronologyReadablePartial. getChronology()Gets the chronology of the partial which is never null.static ChronologyDateTimeUtils. getInstantChronology(ReadableInstant instant)Gets the chronology from the specified instant object handling null.static ChronologyDateTimeUtils. getIntervalChronology(ReadableInstant start, ReadableInstant end)Gets the chronology from the specified instant based interval handling null.static ChronologyDateTimeUtils. getIntervalChronology(ReadableInterval interval)Gets the chronology from the specified interval object handling null.abstract ChronologyChronology. withUTC()Returns an instance of this Chronology that operates in the UTC time zone.abstract ChronologyChronology. withZone(DateTimeZone zone)Returns an instance of this Chronology that operates in any time zone.Methods in org.joda.time with parameters of type Chronology Modifier and Type Method Description voidMutablePeriod. add(long duration, Chronology chrono)Adds a millisecond duration to this one by dividing the duration into fields and callingMutablePeriod.add(ReadablePeriod).protected longDateMidnight. checkInstant(long instant, Chronology chronology)Deprecated.Rounds the specified instant to midnight.static LocalTimeLocalTime. fromMillisOfDay(long millisOfDay, Chronology chrono)Constructs a LocalTime from the specified millis of day using the specified chronology.static TimeOfDayTimeOfDay. fromMillisOfDay(long millisOfDay, Chronology chrono)Deprecated.Constructs a TimeOfDay from the specified millis of day using the specified chronology.static ChronologyDateTimeUtils. getChronology(Chronology chrono)Gets the chronology handling null.abstract DateTimeFieldDateTimeFieldType. getField(Chronology chronology)Gets a suitable field for this type from the given Chronology.DateTimeFieldDateTimeFieldType.StandardDateTimeFieldType. getField(Chronology chronology)abstract DurationFieldDurationFieldType. getField(Chronology chronology)Gets a suitable field for this type from the given Chronology.DurationFieldDurationFieldType.StandardDurationFieldType. getField(Chronology chronology)protected DateTimeFieldLocalDate. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldLocalDateTime. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldLocalTime. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldMonthDay. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldPartial. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldTimeOfDay. getField(int index, Chronology chrono)Deprecated.Gets the field for a specific index in the chronology specified.protected DateTimeFieldYearMonth. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected DateTimeFieldYearMonthDay. getField(int index, Chronology chrono)Deprecated.Gets the field for a specific index in the chronology specified.booleanDateTimeFieldType. isSupported(Chronology chronology)Checks whether this field supported in the given Chronology.booleanDurationFieldType. isSupported(Chronology chronology)Checks whether this field supported in the given Chronology.static DateMidnightDateMidnight. now(Chronology chronology)Deprecated.Obtains aDateMidnightset to the current system millisecond time using the specified chronology.static DateTimeDateTime. now(Chronology chronology)Obtains aDateTimeset to the current system millisecond time using the specified chronology.static LocalDateLocalDate. now(Chronology chronology)Obtains aLocalDateset to the current system millisecond time using the specified chronology.static LocalDateTimeLocalDateTime. now(Chronology chronology)Obtains aLocalDateTimeset to the current system millisecond time using the specified chronology.static LocalTimeLocalTime. now(Chronology chronology)Obtains aLocalTimeset to the current system millisecond time using the specified chronology.static MonthDayMonthDay. now(Chronology chronology)Obtains aMonthDayset to the current system millisecond time using the specified chronology.static MutableDateTimeMutableDateTime. now(Chronology chronology)Obtains aMutableDateTimeset to the current system millisecond time using the specified chronology.static YearMonthYearMonth. now(Chronology chronology)Obtains aYearMonthset to the current system millisecond time using the specified chronology.voidMutableDateTime. setChronology(Chronology chronology)Set the chronology of the datetime.voidMutableInterval. setChronology(Chronology chrono)Sets the chronology of this time interval.voidReadWritableInstant. setChronology(Chronology chronology)Sets the chronology of the datetime, which has no effect if not applicable.voidReadWritableInterval. setChronology(Chronology chrono)Sets the chronology of this time interval.voidMutablePeriod. setPeriod(long startInstant, long endInstant, Chronology chrono)Sets all the fields in one go from a millisecond interval.voidMutablePeriod. setPeriod(long duration, Chronology chrono)Sets all the fields in one go from a millisecond duration.voidMutablePeriod. setPeriod(ReadableDuration duration, Chronology chrono)Sets all the fields in one go from a duration dividing the fields using the period type.DateTimeDateTime. toDateTime(Chronology chronology)Get this object as a DateTime, returningthisif possible.DateMidnightDateMidnight. withChronology(Chronology newChronology)Deprecated.Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways.DateTimeDateTime. withChronology(Chronology newChronology)Returns a copy of this datetime with a different chronology.IntervalInterval. withChronology(Chronology chronology)Creates a new interval with the same start and end, but a different chronology.MonthDayMonthDay. withChronologyRetainFields(Chronology newChronology)Returns a copy of this month-day with the specified chronology.PartialPartial. withChronologyRetainFields(Chronology newChronology)Creates a new Partial instance with the specified chronology.TimeOfDayTimeOfDay. withChronologyRetainFields(Chronology newChronology)Deprecated.Returns a copy of this time with the specified chronology.YearMonthYearMonth. withChronologyRetainFields(Chronology newChronology)Returns a copy of this year-month with the specified chronology.YearMonthDayYearMonthDay. withChronologyRetainFields(Chronology newChronology)Deprecated.Returns a copy of this date with the specified chronology.Constructors in org.joda.time with parameters of type Chronology Constructor Description DateMidnight(int year, int monthOfYear, int dayOfMonth, Chronology chronology)Deprecated.Constructs an instance from datetime field values using the specified chronology.DateMidnight(long instant, Chronology chronology)Deprecated.Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.DateMidnight(java.lang.Object instant, Chronology chronology)Deprecated.Constructs an instance from an Object that represents a datetime, using the specified chronology.DateMidnight(Chronology chronology)Deprecated.Constructs an instance set to the current system millisecond time using the specified chronology.DateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Constructs an instance from datetime field values using the specified chronology.DateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, Chronology chronology)Constructs an instance from datetime field values using the specified chronology.DateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, Chronology chronology)Constructs an instance from datetime field values using the specified chronology.DateTime(long instant, Chronology chronology)Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.DateTime(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.DateTime(Chronology chronology)Constructs an instance set to the current system millisecond time using the specified chronology.Interval(long startInstant, long endInstant, Chronology chronology)Constructs an interval from a start and end instant with the specified chronology.Interval(java.lang.Object interval, Chronology chronology)Constructs a time interval by converting or copying from another object, overriding the chronology.LocalDate(int year, int monthOfYear, int dayOfMonth, Chronology chronology)Constructs an instance set to the specified date and time using the specified chronology, whose zone is ignored.LocalDate(long instant, Chronology chronology)Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.LocalDate(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.LocalDate(Chronology chronology)Constructs an instance set to the current local time evaluated using specified chronology.LocalDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Constructs an instance set to the specified date and time using the specified chronology, whose zone is ignored.LocalDateTime(long instant, Chronology chronology)Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.LocalDateTime(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.LocalDateTime(Chronology chronology)Constructs an instance set to the current local time evaluated using specified chronology.LocalTime(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Constructs an instance set to the specified time using the specified chronology, whose zone is ignored.LocalTime(long instant, Chronology chronology)Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.LocalTime(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.LocalTime(Chronology chronology)Constructs an instance set to the current local time evaluated using specified chronology and zone.MonthDay(int monthOfYear, int dayOfMonth, Chronology chronology)Constructs an instance set to the specified monthOfYear and dayOfMonth using the specified chronology, whose zone is ignored.MonthDay(long instant, Chronology chronology)Constructs a MonthDay extracting the partial fields from the specified milliseconds using the chronology provided.MonthDay(java.lang.Object instant, Chronology chronology)Constructs a MonthDay from an Object that represents some form of time, using the specified chronology.MonthDay(Chronology chronology)Constructs a MonthDay with the current month-day, using the specified chronology and zone to extract the fields.MonthDay(MonthDay partial, Chronology chrono)Constructs a MonthDay with values from this instance and a new chronology.MutableDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Constructs an instance from datetime field values using the specified chronology.MutableDateTime(long instant, Chronology chronology)Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.MutableDateTime(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.MutableDateTime(Chronology chronology)Constructs an instance set to the current system millisecond time using the specified chronology.MutableInterval(long startInstant, long endInstant, Chronology chronology)Constructs an interval from a start and end instant with a chronology.MutableInterval(java.lang.Object interval, Chronology chronology)Constructs a time interval by converting or copying from another object, overriding the chronology.MutablePeriod(long startInstant, long endInstant, Chronology chrono)Creates a period from the given interval endpoints using the standard set of fields.MutablePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)Creates a period from the given interval endpoints.MutablePeriod(long duration, Chronology chronology)Creates a period from the given millisecond duration using the standard set of fields.MutablePeriod(long duration, PeriodType type, Chronology chronology)Creates a period from the given millisecond duration.MutablePeriod(java.lang.Object period, Chronology chrono)Creates a period by converting or copying from another object.MutablePeriod(java.lang.Object period, PeriodType type, Chronology chrono)Creates a period by converting or copying from another object.Partial(Chronology chrono)Constructs a Partial with no fields or values, which can be considered to represent any date.Partial(Chronology chronology, DateTimeFieldType[] types, int[] values)Constructs a Partial with the specified chronology, fields and values.Partial(DateTimeFieldType[] types, int[] values, Chronology chronology)Constructs a Partial with the specified fields and values.Partial(DateTimeFieldType type, int value, Chronology chronology)Constructs a Partial with the specified field and value.Period(long startInstant, long endInstant, Chronology chrono)Creates a period from the given interval endpoints using the standard set of fields.Period(long startInstant, long endInstant, PeriodType type, Chronology chrono)Creates a period from the given interval endpoints.Period(long duration, Chronology chronology)Creates a period from the given millisecond duration using the standard set of fields.Period(long duration, PeriodType type, Chronology chronology)Creates a period from the given millisecond duration.Period(java.lang.Object period, Chronology chrono)Creates a period by converting or copying from another object.Period(java.lang.Object period, PeriodType type, Chronology chrono)Creates a period by converting or copying from another object.TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Deprecated.Constructs a TimeOfDay with specified time field values and chronology.TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, Chronology chronology)Deprecated.Constructs a TimeOfDay with specified time field values and zero milliseconds.TimeOfDay(int hourOfDay, int minuteOfHour, Chronology chronology)Deprecated.Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds.TimeOfDay(long instant, Chronology chronology)Deprecated.Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the chronology provided.TimeOfDay(java.lang.Object instant, Chronology chronology)Deprecated.Constructs a TimeOfDay from an Object that represents a time, using the specified chronology.TimeOfDay(Chronology chronology)Deprecated.Constructs a TimeOfDay with the current time, using the specified chronology and zone to extract the fields.TimeOfDay(TimeOfDay partial, Chronology chrono)Deprecated.Constructs a TimeOfDay with values from this instance and a new chronology.YearMonth(int year, int monthOfYear, Chronology chronology)Constructs an instance set to the specified year and month using the specified chronology, whose zone is ignored.YearMonth(long instant, Chronology chronology)Constructs a YearMonth extracting the partial fields from the specified milliseconds using the chronology provided.YearMonth(java.lang.Object instant, Chronology chronology)Constructs a YearMonth from an Object that represents some form of time, using the specified chronology.YearMonth(Chronology chronology)Constructs a YearMonth with the current year-month, using the specified chronology and zone to extract the fields.YearMonth(YearMonth partial, Chronology chrono)Constructs a YearMonth with values from this instance and a new chronology.YearMonthDay(int year, int monthOfYear, int dayOfMonth, Chronology chronology)Deprecated.Constructs a YearMonthDay with specified time field values.YearMonthDay(long instant, Chronology chronology)Deprecated.Constructs a YearMonthDay extracting the partial fields from the specified milliseconds using the chronology provided.YearMonthDay(java.lang.Object instant, Chronology chronology)Deprecated.Constructs a YearMonthDay from an Object that represents a time, using the specified chronology.YearMonthDay(Chronology chronology)Deprecated.Constructs a YearMonthDay with the current date, using the specified chronology and zone to extract the fields.YearMonthDay(YearMonthDay partial, Chronology chrono)Deprecated.Constructs a YearMonthDay with values from this instance and a new chronology. -
Uses of Chronology in org.joda.time.base
Fields in org.joda.time.base declared as Chronology Modifier and Type Field Description private ChronologyBaseDateTime. iChronologyThe chronology to useprivate ChronologyBaseInterval. iChronologyThe chronology of the intervalprivate ChronologyBasePartial. iChronologyThe chronology in useMethods in org.joda.time.base that return Chronology Modifier and Type Method Description protected ChronologyBaseDateTime. checkChronology(Chronology chronology)Checks the specified chronology before storing it, potentially altering it.ChronologyBaseDateTime. getChronology()Gets the chronology of the datetime.ChronologyBaseInterval. getChronology()Gets the chronology of this interval.ChronologyBasePartial. getChronology()Gets the chronology of the partial which is never null.Methods in org.joda.time.base with parameters of type Chronology Modifier and Type Method Description protected ChronologyBaseDateTime. checkChronology(Chronology chronology)Checks the specified chronology before storing it, potentially altering it.protected longBaseDateTime. checkInstant(long instant, Chronology chronology)Checks the specified instant before storing it, potentially altering it.protected abstract DateTimeFieldAbstractPartial. getField(int index, Chronology chrono)Gets the field for a specific index in the chronology specified.protected voidBaseDateTime. setChronology(Chronology chronology)Sets the chronology of the datetime.protected voidBaseInterval. setInterval(long startInstant, long endInstant, Chronology chrono)Sets this interval from two millisecond instants and a chronology.DateTimeAbstractInstant. toDateTime(Chronology chronology)Get this object as a DateTime using the given chronology and its zone.MutableDateTimeAbstractInstant. toMutableDateTime(Chronology chronology)Get this object as a MutableDateTime using the given chronology and its zone.PeriodBaseDuration. toPeriod(Chronology chrono)Converts this duration to a Period instance using the standard period type and the specified chronology.PeriodBaseDuration. toPeriod(PeriodType type, Chronology chrono)Converts this duration to a Period instance using the specified period type and chronology.Constructors in org.joda.time.base with parameters of type Chronology Constructor Description BaseDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)Constructs an instance from datetime field values using the specified chronology.BaseDateTime(long instant, Chronology chronology)Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.BaseDateTime(java.lang.Object instant, Chronology chronology)Constructs an instance from an Object that represents a datetime, using the specified chronology.BaseDateTime(Chronology chronology)Constructs an instance set to the current system millisecond time using the specified chronology.BaseInterval(long startInstant, long endInstant, Chronology chrono)Constructs an interval from a start and end instant.BaseInterval(java.lang.Object interval, Chronology chrono)Constructs a time interval converting or copying from another object that describes an interval.BasePartial(int[] values, Chronology chronology)Constructs a partial with specified time field values and chronology.BasePartial(long instant, Chronology chronology)Constructs a partial extracting the partial fields from the specified milliseconds using the chronology provided.BasePartial(java.lang.Object instant, Chronology chronology)Constructs a partial from an Object that represents a time, using the specified chronology.BasePartial(java.lang.Object instant, Chronology chronology, DateTimeFormatter parser)Constructs a partial from an Object that represents a time, using the specified chronology.BasePartial(BasePartial base, Chronology chrono)Private constructor to be used by subclasses only which performs no validation.BasePartial(Chronology chronology)Constructs a partial with the current time, using the specified chronology and zone to extract the fields.BasePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)Creates a period from the given interval endpoints.BasePeriod(long duration, PeriodType type, Chronology chrono)Creates a period from the given millisecond duration, which is only really suitable for durations less than one day.BasePeriod(java.lang.Object period, PeriodType type, Chronology chrono)Creates a new period based on another using theConverterManager. -
Uses of Chronology in org.joda.time.chrono
Subclasses of Chronology in org.joda.time.chrono Modifier and Type Class Description classAssembledChronologyAbstract Chronology that enables chronologies to be assembled from a container of fields.classBaseChronologyBaseChronology provides a skeleton implementation for chronology classes.(package private) classBasicChronologyAbstract implementation for calendar systems that use a typical day/month/year/leapYear model.(package private) classBasicFixedMonthChronologyAbstract implementation of a calendar system based around fixed length months.(package private) classBasicGJChronologyAbstract Chronology for implementing chronologies based on Gregorian/Julian formulae.classBuddhistChronologyA chronology that matches the BuddhistCalendar class supplied by Sun.classCopticChronologyImplements the Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar.classEthiopicChronologyImplements the Ethiopic calendar system, which defines every fourth year as leap, much like the Julian calendar.classGJChronologyImplements the Gregorian/Julian calendar system which is the calendar system used in most of the world.classGregorianChronologyImplements a pure proleptic Gregorian calendar system, which defines every fourth year as leap, unless the year is divisible by 100 and not by 400.classIslamicChronologyImplements the Islamic, or Hijri, calendar system using arithmetic rules.classISOChronologyImplements a chronology that follows the rules of the ISO8601 standard, which is compatible with Gregorian for all modern dates.classJulianChronologyImplements a pure proleptic Julian calendar system, which defines every fourth year as leap.classLenientChronologyWraps another Chronology, ensuring all the fields are lenient.classLimitChronologyWraps another Chronology to impose limits on the range of instants that the fields within a Chronology may support.classStrictChronologyWraps another Chronology, ensuring all the fields are strict.classZonedChronologyWraps another Chronology to add support for time zones.Fields in org.joda.time.chrono declared as Chronology Modifier and Type Field Description private ChronologyAssembledChronology. iBaseprivate ChronologyLenientChronology. iWithUTCprivate ChronologyStrictChronology. iWithUTCMethods in org.joda.time.chrono that return Chronology Modifier and Type Method Description protected ChronologyAssembledChronology. getBase()Returns the same base chronology as passed into the constructor.abstract ChronologyBaseChronology. withUTC()Returns an instance of this Chronology that operates in the UTC time zone.ChronologyBuddhistChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyCopticChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyEthiopicChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyGJChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyGregorianChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyIslamicChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyISOChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyJulianChronology. withUTC()Gets the Chronology in the UTC time zone.ChronologyLenientChronology. withUTC()ChronologyLimitChronology. withUTC()If this LimitChronology is already UTC, then this is returned.ChronologyStrictChronology. withUTC()ChronologyZonedChronology. withUTC()abstract ChronologyBaseChronology. withZone(DateTimeZone zone)Returns an instance of this Chronology that operates in any time zone.ChronologyBuddhistChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyCopticChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyEthiopicChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyGJChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyGregorianChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyIslamicChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyISOChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyJulianChronology. withZone(DateTimeZone zone)Gets the Chronology in a specific time zone.ChronologyLenientChronology. withZone(DateTimeZone zone)ChronologyLimitChronology. withZone(DateTimeZone zone)If this LimitChronology has the same time zone as the one given, then this is returned.ChronologyStrictChronology. withZone(DateTimeZone zone)ChronologyZonedChronology. withZone(DateTimeZone zone)Methods in org.joda.time.chrono with parameters of type Chronology Modifier and Type Method Description private static longGJChronology. convertByWeekyear(long instant, Chronology from, Chronology to)Convert a datetime from one chronology to another.private static longGJChronology. convertByYear(long instant, Chronology from, Chronology to)Convert a datetime from one chronology to another.voidAssembledChronology.Fields. copyFieldsFrom(Chronology chrono)Copy the supported fields from a chronology into this container.static LenientChronologyLenientChronology. getInstance(Chronology base)Create a LenientChronology for any chronology.static LimitChronologyLimitChronology. getInstance(Chronology base, ReadableDateTime lowerLimit, ReadableDateTime upperLimit)Wraps another chronology, with datetime limits.static StrictChronologyStrictChronology. getInstance(Chronology base)Create a StrictChronology for any chronology.static ZonedChronologyZonedChronology. getInstance(Chronology base, DateTimeZone zone)Create a ZonedChronology for any chronology, overriding any time zone it may already have.Constructors in org.joda.time.chrono with parameters of type Chronology Constructor Description AssembledChronology(Chronology base, java.lang.Object param)Constructor calls the assemble method, enabling subclasses to define its supported fields.BasicChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)BasicFixedMonthChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Restricted constructor.BasicGJChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Constructor.BuddhistChronology(Chronology base, java.lang.Object param)Restricted constructor.CopticChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Restricted constructor.EthiopicChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Restricted constructor.GJChronology(Chronology base, JulianChronology julian, GregorianChronology gregorian, Instant cutoverInstant)Called when applying a time zone.GregorianChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Restricted constructorIslamicChronology(Chronology base, java.lang.Object param, IslamicChronology.LeapYearPatternType leapYears)Restricted constructor.ISOChronology(Chronology base)Restricted constructorJulianChronology(Chronology base, java.lang.Object param, int minDaysInFirstWeek)Restricted constructorLenientChronology(Chronology base)Create a LenientChronology for any chronology.LimitChronology(Chronology base, DateTime lowerLimit, DateTime upperLimit)Wraps another chronology, with datetime limits.StrictChronology(Chronology base)Create a StrictChronology for any chronology.ZonedChronology(Chronology base, DateTimeZone zone)Restricted constructor -
Uses of Chronology in org.joda.time.convert
Methods in org.joda.time.convert that return Chronology Modifier and Type Method Description ChronologyAbstractConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology is specified.ChronologyAbstractConverter. getChronology(java.lang.Object object, DateTimeZone zone)Extracts the chronology from an object of this converter's type where the time zone is specified.ChronologyCalendarConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology.ChronologyCalendarConverter. getChronology(java.lang.Object object, DateTimeZone zone)Gets the chronology, which is the GJChronology if a GregorianCalendar is used, BuddhistChronology if a BuddhistCalendar is used or ISOChronology otherwise.ChronologyInstantConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology may be specified.ChronologyInstantConverter. getChronology(java.lang.Object object, DateTimeZone zone)Extracts the chronology from an object of this converter's type where the time zone is specified.ChronologyPartialConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology is specified.ChronologyPartialConverter. getChronology(java.lang.Object object, DateTimeZone zone)Extracts the chronology from an object of this converter's type where the time zone is specified.ChronologyReadableInstantConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology, which is taken from the ReadableInstant.ChronologyReadableInstantConverter. getChronology(java.lang.Object object, DateTimeZone zone)Gets the chronology, which is taken from the ReadableInstant.ChronologyReadablePartialConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology, which is taken from the ReadableInstant.ChronologyReadablePartialConverter. getChronology(java.lang.Object object, DateTimeZone zone)Gets the chronology, which is taken from the ReadablePartial.Methods in org.joda.time.convert with parameters of type Chronology Modifier and Type Method Description ChronologyAbstractConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology is specified.ChronologyCalendarConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology.ChronologyInstantConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology may be specified.ChronologyPartialConverter. getChronology(java.lang.Object object, Chronology chrono)Extracts the chronology from an object of this converter's type where the chronology is specified.ChronologyReadableInstantConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology, which is taken from the ReadableInstant.ChronologyReadablePartialConverter. getChronology(java.lang.Object object, Chronology chrono)Gets the chronology, which is taken from the ReadableInstant.longAbstractConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Extracts the millis from an object of this converter's type.longCalendarConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Gets the millis, which is the Calendar millis value.longDateConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Gets the millis, which is the Date millis value.longInstantConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Extracts the millis from an object of this converter's type.longLongConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Gets the millisecond instant, which is the Long value.longReadableInstantConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Extracts the millis from an object of this converter's type.longStringConverter. getInstantMillis(java.lang.Object object, Chronology chrono)Gets the millis, which is the ISO parsed string value.int[]AbstractConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono)Extracts the values of the partial from an object of this converter's type.int[]AbstractConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono, DateTimeFormatter parser)Extracts the values of the partial from an object of this converter's type.int[]PartialConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono)Extracts the values of the partial from an object of this converter's type.int[]PartialConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono, DateTimeFormatter parser)Extracts the values of the partial from an object of this converter's type.int[]ReadablePartialConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono)Extracts the values of the partial from an object of this converter's type.int[]StringConverter. getPartialValues(ReadablePartial fieldSource, java.lang.Object object, Chronology chrono, DateTimeFormatter parser)Extracts the values of the partial from an object of this converter's type.booleanAbstractConverter. isReadableInterval(java.lang.Object object, Chronology chrono)Checks if the input is a ReadableInterval.booleanIntervalConverter. isReadableInterval(java.lang.Object object, Chronology chrono)Checks if the input is a ReadableInterval.booleanReadableIntervalConverter. isReadableInterval(java.lang.Object object, Chronology chrono)Checks if the input is a ReadableInterval.voidIntervalConverter. setInto(ReadWritableInterval writableInterval, java.lang.Object object, Chronology chrono)Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.voidNullConverter. setInto(ReadWritableInterval writableInterval, java.lang.Object object, Chronology chrono)Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.voidNullConverter. setInto(ReadWritablePeriod duration, java.lang.Object object, Chronology chrono)Sets the given ReadWritableDuration to zero milliseconds.voidPeriodConverter. setInto(ReadWritablePeriod period, java.lang.Object object, Chronology chrono)Extracts duration values from an object of this converter's type, and sets them into the given ReadWritableDuration.voidReadableDurationConverter. setInto(ReadWritablePeriod writablePeriod, java.lang.Object object, Chronology chrono)Extracts duration values from an object of this converter's type, and sets them into the given ReadWritableDuration.voidReadableIntervalConverter. setInto(ReadWritableInterval writableInterval, java.lang.Object object, Chronology chrono)Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.voidReadableIntervalConverter. setInto(ReadWritablePeriod writablePeriod, java.lang.Object object, Chronology chrono)Sets the values of the mutable duration from the specified interval.voidReadablePeriodConverter. setInto(ReadWritablePeriod duration, java.lang.Object object, Chronology chrono)Extracts duration values from an object of this converter's type, and sets them into the given ReadWritablePeriod.voidStringConverter. setInto(ReadWritableInterval writableInterval, java.lang.Object object, Chronology chrono)Sets the value of the mutable interval from the string.voidStringConverter. setInto(ReadWritablePeriod period, java.lang.Object object, Chronology chrono)Extracts duration values from an object of this converter's type, and sets them into the given ReadWritableDuration. -
Uses of Chronology in org.joda.time.field
Fields in org.joda.time.field declared as Chronology Modifier and Type Field Description private ChronologyLenientDateTimeField. iBaseprivate ChronologySkipDateTimeField. iChronologyThe chronology to wrap.private ChronologySkipUndoDateTimeField. iChronologyThe chronology to wrap.Methods in org.joda.time.field that return Chronology Modifier and Type Method Description protected ChronologyAbstractReadableInstantFieldProperty. getChronology()Gets the chronology of the datetime that this property is linked to.Methods in org.joda.time.field with parameters of type Chronology Modifier and Type Method Description static DateTimeFieldLenientDateTimeField. getInstance(DateTimeField field, Chronology base)Returns a lenient version of the given field.Constructors in org.joda.time.field with parameters of type Chronology Constructor Description LenientDateTimeField(DateTimeField field, Chronology base)SkipDateTimeField(Chronology chronology, DateTimeField field)Constructor that skips zero.SkipDateTimeField(Chronology chronology, DateTimeField field, int skip)Constructor.SkipUndoDateTimeField(Chronology chronology, DateTimeField field)Constructor that reinserts zero.SkipUndoDateTimeField(Chronology chronology, DateTimeField field, int skip)Constructor. -
Uses of Chronology in org.joda.time.format
Fields in org.joda.time.format declared as Chronology Modifier and Type Field Description private ChronologyDateTimeFormatter. iChronoThe chronology to use as an override.private ChronologyDateTimeParserBucket. iChronoThe chronology to use for parsing.Methods in org.joda.time.format that return Chronology Modifier and Type Method Description ChronologyDateTimeFormatter. getChronolgy()Deprecated.Use the method with the correct spellingChronologyDateTimeFormatter. getChronology()Gets the chronology to use as an override.ChronologyDateTimeParserBucket. getChronology()Gets the chronology of the bucket, which will be a local (UTC) chronology.private ChronologyDateTimeFormatter. selectChronology(Chronology chrono)Determines the correct chronology to use.Methods in org.joda.time.format with parameters of type Chronology Modifier and Type Method Description private intDateTimeFormatterBuilder.TwoDigitYear. getTwoDigitYear(long instant, Chronology chrono)private java.lang.StringDateTimeFormatterBuilder.TextField. print(long instant, Chronology chrono, java.util.Locale locale)voidDateTimeFormat.StyleFormatter. printTo(java.lang.Appendable appenadble, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)private voidDateTimeFormatter. printTo(java.lang.Appendable appendable, long instant, Chronology chrono)voidDateTimeFormatterBuilder.CharacterLiteral. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.Composite. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)protected voidDateTimeFormatterBuilder.Fraction. printTo(java.lang.Appendable appendable, long instant, Chronology chrono)voidDateTimeFormatterBuilder.Fraction. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.PaddedNumber. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.StringLiteral. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.TextField. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.TimeZoneId. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.TimeZoneName. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.TimeZoneOffset. printTo(java.lang.Appendable buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.TwoDigitYear. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimeFormatterBuilder.UnpaddedNumber. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidDateTimePrinter. printTo(java.io.Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.voidDateTimePrinter. printTo(java.lang.StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.voidDateTimePrinterInternalPrinter. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidInternalPrinter. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.voidInternalPrinterDateTimePrinter. printTo(java.io.Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidInternalPrinterDateTimePrinter. printTo(java.lang.Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)voidInternalPrinterDateTimePrinter. printTo(java.lang.StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, java.util.Locale locale)private ChronologyDateTimeFormatter. selectChronology(Chronology chrono)Determines the correct chronology to use.DateTimeFormatterDateTimeFormatter. withChronology(Chronology chrono)Returns a new formatter that will use the specified chronology in preference to that of the printed object, or ISO on a parse.Constructors in org.joda.time.format with parameters of type Chronology Constructor Description DateTimeFormatter(InternalPrinter printer, InternalParser parser, java.util.Locale locale, boolean offsetParsed, Chronology chrono, DateTimeZone zone, java.lang.Integer pivotYear, int defaultYear)Constructor.DateTimeParserBucket(long instantLocal, Chronology chrono, java.util.Locale locale)Deprecated.Use longer constructorDateTimeParserBucket(long instantLocal, Chronology chrono, java.util.Locale locale, java.lang.Integer pivotYear)Deprecated.Use longer constructorDateTimeParserBucket(long instantLocal, Chronology chrono, java.util.Locale locale, java.lang.Integer pivotYear, int defaultYear)Constructs a bucket, with the option of specifying the pivot year for two-digit year parsing. -
Uses of Chronology in org.joda.time.tz
Fields in org.joda.time.tz declared as Chronology Modifier and Type Field Description (package private) static ChronologyZoneInfoCompiler. cLenientISOMethods in org.joda.time.tz that return Chronology Modifier and Type Method Description (package private) static ChronologyZoneInfoCompiler. getLenientISOChronology()Methods in org.joda.time.tz with parameters of type Chronology Modifier and Type Method Description private longDateTimeZoneBuilder.OfYear. setDayOfMonth(Chronology chrono, long instant)private longDateTimeZoneBuilder.OfYear. setDayOfMonthNext(Chronology chrono, long next)If month-day is 02-29 and year isn't leap, advances to next leap year.private longDateTimeZoneBuilder.OfYear. setDayOfMonthPrevious(Chronology chrono, long prev)If month-day is 02-29 and year isn't leap, retreats to previous leap year.private longDateTimeZoneBuilder.OfYear. setDayOfWeek(Chronology chrono, long instant)
-