Uses of Class
org.joda.time.Chronology
Packages that use Chronology
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Package containing the chronology classes which define the calendar systems.
Implementation package providing conversion between date and time objects.
Implementation package providing abstract and standard field classes.
Provides printing and parsing support for instants and durations.
-
Uses of Chronology in org.joda.time
Methods in org.joda.time that return ChronologyModifier and TypeMethodDescriptionprotected 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 final ChronologyDateTimeUtils.getChronology(Chronology chrono) Gets the chronology handling null.Instant.getChronology()Gets the chronology of the instant, which is ISO in the UTC zone.LocalDate.getChronology()Gets the chronology of the date.protected ChronologyLocalDate.Property.getChronology()Gets the chronology of the datetime that this property is linked to.LocalDateTime.getChronology()Gets the chronology of the datetime.protected ChronologyLocalDateTime.Property.getChronology()Gets the chronology of the datetime that this property is linked to.LocalTime.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.Partial.getChronology()Gets the chronology of the partial which is never null.ReadableInstant.getChronology()Gets the chronology of the instant.ReadableInterval.getChronology()Gets the chronology of the interval, which is the chronology of the first datetime.ReadablePartial.getChronology()Gets the chronology of the partial which is never null.static final ChronologyDateTimeUtils.getInstantChronology(ReadableInstant instant) Gets the chronology from the specified instant object handling null.static final ChronologyDateTimeUtils.getIntervalChronology(ReadableInstant start, ReadableInstant end) Gets the chronology from the specified instant based interval handling null.static final 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 ChronologyModifier and TypeMethodDescriptionvoidMutablePeriod.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 final 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.abstract DurationFieldDurationFieldType.getField(Chronology chronology) Gets a suitable field for this type from the given 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.DateTime.toDateTime(Chronology chronology) Get this object as a DateTime, returningthisif possible.DateMidnight.withChronology(Chronology newChronology) Deprecated.Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways.DateTime.withChronology(Chronology newChronology) Returns a copy of this datetime with a different chronology.Interval.withChronology(Chronology chronology) Creates a new interval with the same start and end, but a different chronology.MonthDay.withChronologyRetainFields(Chronology newChronology) Returns a copy of this month-day with the specified chronology.Partial.withChronologyRetainFields(Chronology newChronology) Creates a new Partial instance with the specified chronology.TimeOfDay.withChronologyRetainFields(Chronology newChronology) Deprecated.Returns a copy of this time with the specified chronology.YearMonth.withChronologyRetainFields(Chronology newChronology) Returns a copy of this year-month with the specified chronology.YearMonthDay.withChronologyRetainFields(Chronology newChronology) Deprecated.Returns a copy of this date with the specified chronology.Constructors in org.joda.time with parameters of type ChronologyModifierConstructorDescriptionDateMidnight(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(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(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(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(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(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(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(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.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(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(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(Object period, Chronology chrono) Creates a period by converting or copying from another object.MutablePeriod(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(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(Object period, Chronology chrono) Creates a period by converting or copying from another object.Period(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(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.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(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.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(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. -
Uses of Chronology in org.joda.time.base
Methods in org.joda.time.base that return ChronologyModifier and TypeMethodDescriptionprotected ChronologyBaseDateTime.checkChronology(Chronology chronology) Checks the specified chronology before storing it, potentially altering it.BaseDateTime.getChronology()Gets the chronology of the datetime.BaseInterval.getChronology()Gets the chronology of this interval.BasePartial.getChronology()Gets the chronology of the partial which is never null.Methods in org.joda.time.base with parameters of type ChronologyModifier and TypeMethodDescriptionprotected 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.AbstractInstant.toDateTime(Chronology chronology) Get this object as a DateTime using the given chronology and its zone.AbstractInstant.toMutableDateTime(Chronology chronology) Get this object as a MutableDateTime using the given chronology and its zone.BaseDuration.toPeriod(Chronology chrono) Converts this duration to a Period instance using the standard period type and the specified chronology.BaseDuration.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 ChronologyModifierConstructorDescriptionBaseDateTime(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(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.protectedBaseInterval(long startInstant, long endInstant, Chronology chrono) Constructs an interval from a start and end instant.protectedBaseInterval(Object interval, Chronology chrono) Constructs a time interval converting or copying from another object that describes an interval.protectedBasePartial(int[] values, Chronology chronology) Constructs a partial with specified time field values and chronology.protectedBasePartial(long instant, Chronology chronology) Constructs a partial extracting the partial fields from the specified milliseconds using the chronology provided.protectedBasePartial(Object instant, Chronology chronology) Constructs a partial from an Object that represents a time, using the specified chronology.protectedBasePartial(Object instant, Chronology chronology, DateTimeFormatter parser) Constructs a partial from an Object that represents a time, using the specified chronology.protectedBasePartial(BasePartial base, Chronology chrono) Private constructor to be used by subclasses only which performs no validation.protectedBasePartial(Chronology chronology) Constructs a partial with the current time, using the specified chronology and zone to extract the fields.protectedBasePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono) Creates a period from the given interval endpoints.protectedBasePeriod(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.protectedBasePeriod(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.chronoModifier and TypeClassDescriptionclassAbstract Chronology that enables chronologies to be assembled from a container of fields.classBaseChronology provides a skeleton implementation for chronology classes.final classA chronology that matches the BuddhistCalendar class supplied by Sun.final classImplements the Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar.final classImplements the Ethiopic calendar system, which defines every fourth year as leap, much like the Julian calendar.final classImplements the Gregorian/Julian calendar system which is the calendar system used in most of the world.final classImplements a pure proleptic Gregorian calendar system, which defines every fourth year as leap, unless the year is divisible by 100 and not by 400.final classImplements the Islamic, or Hijri, calendar system using arithmetic rules.final classImplements a chronology that follows the rules of the ISO8601 standard, which is compatible with Gregorian for all modern dates.final classImplements a pure proleptic Julian calendar system, which defines every fourth year as leap.final classWraps another Chronology, ensuring all the fields are lenient.final classWraps another Chronology to impose limits on the range of instants that the fields within a Chronology may support.final classWraps another Chronology, ensuring all the fields are strict.final classWraps another Chronology to add support for time zones.Methods in org.joda.time.chrono that return ChronologyModifier and TypeMethodDescriptionprotected final 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.BuddhistChronology.withUTC()Gets the Chronology in the UTC time zone.CopticChronology.withUTC()Gets the Chronology in the UTC time zone.EthiopicChronology.withUTC()Gets the Chronology in the UTC time zone.GJChronology.withUTC()Gets the Chronology in the UTC time zone.GregorianChronology.withUTC()Gets the Chronology in the UTC time zone.IslamicChronology.withUTC()Gets the Chronology in the UTC time zone.ISOChronology.withUTC()Gets the Chronology in the UTC time zone.JulianChronology.withUTC()Gets the Chronology in the UTC time zone.LenientChronology.withUTC()LimitChronology.withUTC()If this LimitChronology is already UTC, then this is returned.StrictChronology.withUTC()ZonedChronology.withUTC()abstract ChronologyBaseChronology.withZone(DateTimeZone zone) Returns an instance of this Chronology that operates in any time zone.BuddhistChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.CopticChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.EthiopicChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.GJChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.GregorianChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.IslamicChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.ISOChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.JulianChronology.withZone(DateTimeZone zone) Gets the Chronology in a specific time zone.LenientChronology.withZone(DateTimeZone zone) LimitChronology.withZone(DateTimeZone zone) If this LimitChronology has the same time zone as the one given, then this is returned.StrictChronology.withZone(DateTimeZone zone) ZonedChronology.withZone(DateTimeZone zone) Methods in org.joda.time.chrono with parameters of type ChronologyModifier and TypeMethodDescriptionvoidAssembledChronology.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 ChronologyModifierConstructorDescriptionprotectedAssembledChronology(Chronology base, Object param) Constructor calls the assemble method, enabling subclasses to define its supported fields. -
Uses of Chronology in org.joda.time.convert
Methods in org.joda.time.convert that return ChronologyModifier and TypeMethodDescriptionAbstractConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology is specified.AbstractConverter.getChronology(Object object, DateTimeZone zone) Extracts the chronology from an object of this converter's type where the time zone is specified.InstantConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology may be specified.InstantConverter.getChronology(Object object, DateTimeZone zone) Extracts the chronology from an object of this converter's type where the time zone is specified.PartialConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology is specified.PartialConverter.getChronology(Object object, DateTimeZone zone) Extracts the chronology from an object of this converter's type where the time zone is specified.Methods in org.joda.time.convert with parameters of type ChronologyModifier and TypeMethodDescriptionAbstractConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology is specified.InstantConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology may be specified.PartialConverter.getChronology(Object object, Chronology chrono) Extracts the chronology from an object of this converter's type where the chronology is specified.longAbstractConverter.getInstantMillis(Object object, Chronology chrono) Extracts the millis from an object of this converter's type.longInstantConverter.getInstantMillis(Object object, Chronology chrono) Extracts the millis from an object of this converter's type.int[]AbstractConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono) Extracts the values of the partial from an object of this converter's type.int[]AbstractConverter.getPartialValues(ReadablePartial fieldSource, 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, Object object, Chronology chrono) Extracts the values of the partial from an object of this converter's type.int[]PartialConverter.getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono, DateTimeFormatter parser) Extracts the values of the partial from an object of this converter's type.booleanAbstractConverter.isReadableInterval(Object object, Chronology chrono) Checks if the input is a ReadableInterval.booleanIntervalConverter.isReadableInterval(Object object, Chronology chrono) Checks if the input is a ReadableInterval.voidIntervalConverter.setInto(ReadWritableInterval writableInterval, Object object, Chronology chrono) Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.voidPeriodConverter.setInto(ReadWritablePeriod period, 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
Methods in org.joda.time.field that return ChronologyModifier and TypeMethodDescriptionprotected ChronologyAbstractReadableInstantFieldProperty.getChronology()Gets the chronology of the datetime that this property is linked to.Methods in org.joda.time.field with parameters of type ChronologyModifier and TypeMethodDescriptionstatic DateTimeFieldLenientDateTimeField.getInstance(DateTimeField field, Chronology base) Returns a lenient version of the given field.Constructors in org.joda.time.field with parameters of type ChronologyModifierConstructorDescriptionprotectedLenientDateTimeField(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
Methods in org.joda.time.format that return ChronologyModifier and TypeMethodDescriptionDateTimeFormatter.getChronolgy()Deprecated.Use the method with the correct spellingDateTimeFormatter.getChronology()Gets the chronology to use as an override.DateTimeParserBucket.getChronology()Gets the chronology of the bucket, which will be a local (UTC) chronology.Methods in org.joda.time.format with parameters of type ChronologyModifier and TypeMethodDescriptionvoidDateTimePrinter.printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.voidDateTimePrinter.printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.DateTimeFormatter.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 ChronologyModifierConstructorDescriptionDateTimeParserBucket(long instantLocal, Chronology chrono, Locale locale) Deprecated.Use longer constructorDateTimeParserBucket(long instantLocal, Chronology chrono, Locale locale, Integer pivotYear) Deprecated.Use longer constructorDateTimeParserBucket(long instantLocal, Chronology chrono, Locale locale, Integer pivotYear, int defaultYear) Constructs a bucket, with the option of specifying the pivot year for two-digit year parsing.