Uses of Class org.joda.time.Chronology

Uses in package org.joda.time.convert

Methods with parameter type org.joda.time.Chronology

Chronology
AbstractConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this convertor's type where the chronology is specified.
Chronology
InstantConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology may be specified.
Chronology
PartialConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology is specified.
long
Extracts the millis from an object of this convertor's type.
long
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[]
PartialConverter.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, DateTimeFormatter parser)
Extracts the values of the partial from an object of this converter's type.
boolean
Checks if the input is a ReadableInterval.
boolean
Checks if the input is a ReadableInterval.
void
IntervalConverter.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.
void
PeriodConverter.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.

Methods with return type org.joda.time.Chronology

Chronology
AbstractConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this convertor's type where the chronology is specified.
Chronology
InstantConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology may be specified.
Chronology
PartialConverter.getChronology(Object object, Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology is specified.
Chronology
Extracts the chronology from an object of this convertor's type where the time zone is specified.
Chronology
Extracts the chronology from an object of this converter's type where the time zone is specified.
Chronology
Extracts the chronology from an object of this converter's type where the time zone is specified.

Uses in package org.joda.time

Constructors with parameter type org.joda.time.Chronology

DateMidnight.DateMidnight(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
DateMidnight.DateMidnight(int year, int monthOfYear, int dayOfMonth, Chronology chronology)
Constructs an instance from datetime field values using the specified chronology.
DateMidnight.DateMidnight(long instant, Chronology chronology)
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
Constructs an instance set to the current system millisecond time using the specified chronology.
DateTime.DateTime(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
DateTime.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.DateTime(long instant, Chronology chronology)
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
Constructs an instance set to the current system millisecond time using the specified chronology.
Interval.Interval(Object interval, Chronology chronology)
Constructs a time interval by converting or copying from another object, overriding the chronology.
Interval.Interval(long startInstant, long endInstant, Chronology chronology)
Constructs an interval from a start and end instant with the specified chronology.
LocalDate.LocalDate(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
LocalDate.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.LocalDate(long instant, Chronology chronology)
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
Constructs an instance set to the current local time evaluated using specified chronology.
LocalDateTime.LocalDateTime(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
LocalDateTime.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.LocalDateTime(long instant, Chronology chronology)
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
Constructs an instance set to the current local time evaluated using specified chronology.
LocalTime.LocalTime(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
LocalTime.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.LocalTime(long instant, Chronology chronology)
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
Constructs an instance set to the current local time evaluated using specified chronology and zone.
MutableDateTime.MutableDateTime(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
MutableDateTime.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.MutableDateTime(long instant, Chronology chronology)
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
Constructs an instance set to the current system millisecond time using the specified chronology.
MutableInterval.MutableInterval(Object interval, Chronology chronology)
Constructs a time interval by converting or copying from another object, overriding the chronology.
MutableInterval.MutableInterval(long startInstant, long endInstant, Chronology chronology)
Constructs an interval from a start and end instant with a chronology.
MutablePeriod.MutablePeriod(Object period, Chronology chrono)
Creates a period by converting or copying from another object.
MutablePeriod.MutablePeriod(Object period, PeriodType type, Chronology chrono)
Creates a period by converting or copying from another object.
MutablePeriod.MutablePeriod(long startInstant, long endInstant, Chronology chrono)
Creates a period from the given interval endpoints using the standard set of fields.
MutablePeriod.MutablePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
MutablePeriod.MutablePeriod(long duration, Chronology chronology)
Creates a period from the given millisecond duration using the standard set of fields.
MutablePeriod.MutablePeriod(long duration, PeriodType type, Chronology chronology)
Creates a period from the given millisecond duration.
Constructs a Partial with no fields or values, which can be considered to represent any date.
Partial.Partial(DateTimeFieldType type, int value, Chronology chronology)
Constructs a Partial with the specified field and value.
Partial.Partial(DateTimeFieldType[] types, int[] values, Chronology chronology)
Constructs a Partial with the specified fields and values.
Period.Period(Object period, Chronology chrono)
Creates a period by converting or copying from another object.
Period.Period(Object period, PeriodType type, Chronology chrono)
Creates a period by converting or copying from another object.
Period.Period(long startInstant, long endInstant, Chronology chrono)
Creates a period from the given interval endpoints using the standard set of fields.
Period.Period(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
Period.Period(long duration, Chronology chronology)
Creates a period from the given millisecond duration using the standard set of fields.
Period.Period(long duration, PeriodType type, Chronology chronology)
Creates a period from the given millisecond duration.
TimeOfDay.TimeOfDay(Object instant, Chronology chronology)
Constructs a TimeOfDay from an Object that represents a time, using the specified chronology.
TimeOfDay.TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond, Chronology chronology)
Constructs a TimeOfDay with specified time field values and chronology.
TimeOfDay.TimeOfDay(int hourOfDay, int minuteOfHour, int secondOfMinute, Chronology chronology)
Constructs a TimeOfDay with specified time field values and zero milliseconds.
TimeOfDay.TimeOfDay(int hourOfDay, int minuteOfHour, Chronology chronology)
Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds.
TimeOfDay.TimeOfDay(long instant, Chronology chronology)
Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the chronology provided.
Constructs a TimeOfDay with the current time, using the specified chronology and zone to extract the fields.
YearMonthDay.YearMonthDay(Object instant, Chronology chronology)
Constructs a YearMonthDay from an Object that represents a time, using the specified chronology.
YearMonthDay.YearMonthDay(int year, int monthOfYear, int dayOfMonth, Chronology chronology)
Constructs a YearMonthDay with specified time field values.
YearMonthDay.YearMonthDay(long instant, Chronology chronology)
Constructs a YearMonthDay extracting the partial fields from the specified milliseconds using the chronology provided.
Constructs a YearMonthDay with the current date, using the specified chronology and zone to extract the fields.

Methods with parameter type org.joda.time.Chronology

void
MutablePeriod.add(long duration, Chronology chrono)
Adds a millisecond duration to this one by dividing the duration into fields and calling add(ReadablePeriod).
long
DateMidnight.checkInstant(long instant, Chronology chronology)
Rounds the specified instant to midnight.
LocalTime
LocalTime.fromMillisOfDay(long millisOfDay, Chronology chrono)
Constructs a LocalTime from the specified millis of day using the specified chronology.
TimeOfDay
TimeOfDay.fromMillisOfDay(long millisOfDay, Chronology chrono)
Constructs a TimeOfDay from the specified millis of day using the specified chronology.
Chronology
Gets the chronology handling null.
DateTimeField
LocalDate.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
LocalDateTime.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
LocalTime.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
Partial.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
TimeOfDay.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
YearMonthDay.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
DateTimeField
Gets a suitable field for this type from the given Chronology.
DurationField
Gets a suitable field for this type from the given Chronology.
boolean
Checks whether this field supported in the given Chronology.
boolean
Checks whether this field supported in the given Chronology.
void
Set the chronology of the datetime.
void
Sets the chronology of this time interval.
void
Sets the chronology of the datetime, which has no effect if not applicable.
void
Sets the chronology of this time interval.
void
MutablePeriod.setPeriod(long startInstant, long endInstant, Chronology chrono)
Sets all the fields in one go from a millisecond interval.
void
MutablePeriod.setPeriod(long duration, Chronology chrono)
Sets all the fields in one go from a millisecond duration.
void
Sets all the fields in one go from a duration dividing the fields using the period type.
DateTime
Get this object as a DateTime, returning this if possible.
DateMidnight
Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways.
DateTime
Returns a copy of this datetime with a different chronology.
Interval
Creates a new interval with the same start and end, but a different chronology.
Partial
Creates a new Partial instance with the specified chronology.
TimeOfDay
Returns a copy of this time with the specified chronology.
YearMonthDay
Returns a copy of this date with the specified chronology.

Methods with return type org.joda.time.Chronology

Chronology
Gets an instance of the BuddhistChronology in the default zone.
Chronology
Gets an instance of the BuddhistChronology in the specified zone.
Chronology
Gets an instance of the BuddhistChronology in the UTC zone.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the instant, which is ISO in the UTC zone.
Chronology
Gets the chronology of the date.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the datetime.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the time.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the datetime that this property is linked to.
Chronology
Gets the chronology of the partial which is never null.
Chronology
Gets the chronology of the instant.
Chronology
Gets the chronology of the interval, which is the chronology of the first datetime.
Chronology
Gets the chronology of the partial which is never null.
Chronology
Gets the chronology handling null.
Chronology
Gets an instance of the CopticChronology in the default zone.
Chronology
Gets an instance of the CopticChronology in the specified zone.
Chronology
Gets an instance of the CopticChronology in the UTC zone.
Chronology
Gets an instance of the GJChronology in the default zone.
Chronology
Gets an instance of the GJChronology in the specified zone.
Chronology
Gets an instance of the GJChronology in the UTC zone.
Chronology
Gets an instance of the GregorianChronology in the default zone.
Chronology
Gets an instance of the GregorianChronology in the specified zone.
Chronology
Gets an instance of the GregorianChronology in the UTC zone.
Chronology
Gets an instance of the ISOChronology in the default zone.
Chronology
Gets an instance of the ISOChronology in the specified zone.
Chronology
Gets an instance of the ISOChronology in the UTC zone.
Chronology
Gets the chronology from the specified instant object handling null.
Chronology
Gets the chronology from the specified instant based interval handling null.
Chronology
Gets the chronology from the specified interval object handling null.
Chronology
Gets an instance of the JulianChronology in the default zone.
Chronology
Gets an instance of the JulianChronology in the specified zone.
Chronology
Gets an instance of the JulianChronology in the UTC zone.
Chronology
Returns an instance of this Chronology that operates in the UTC time zone.
Chronology
Returns an instance of this Chronology that operates in any time zone.

Uses in package org.joda.time.chrono

Classes derived from org.joda.time.Chronology

class
Abstract Chronology that enables chronologies to be assembled from a container of fields.
class
BaseChronology provides a skeleton implementation for chronology classes.
class
A chronology that matches the BuddhistCalendar class supplied by Sun.
class
Implements the Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar.
class
Implements the Ethiopic calendar system, which defines every fourth year as leap, much like the Julian calendar.
class
Implements the Gregorian/Julian calendar system which is the calendar system used in most of the world.
class
Implements a pure proleptic Gregorian calendar system, which defines every fourth year as leap, unless the year is divisible by 100 and not by 400.
class
Implements the Islamic, or Hijri, calendar system using arithmetic rules.
class
Implements a chronology that follows the rules of the ISO8601 standard, which is compatible with Gregorian for all modern dates.
class
Implements a pure proleptic Julian calendar system, which defines every fourth year as leap.
class
Wraps another Chronology, ensuring all the fields are lenient.
class
Wraps another Chronology to impose limits on the range of instants that the fields within a Chronology may support.
class
Wraps another Chronology, ensuring all the fields are strict.
class
Wraps another Chronology to add support for time zones.

Constructors with parameter type org.joda.time.Chronology

Constructor calls the assemble method, enabling subclasses to define its supported fields.

Methods with parameter type org.joda.time.Chronology

void
Copy the supported fields from a chronology into this container.
LenientChronology
Create a LenientChronology for any chronology.
StrictChronology
Create a StrictChronology for any chronology.
ZonedChronology
Create a ZonedChronology for any chronology, overriding any time zone it may already have.
LimitChronology
Wraps another chronology, with datetime limits.

Methods with return type org.joda.time.Chronology

Chronology
Returns the same base chronology as passed into the constructor.
Chronology
Returns an instance of this Chronology that operates in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Gets the Chronology in the UTC time zone.
Chronology
Chronology
If this LimitChronology is already UTC, then this is returned.
Chronology
Returns an instance of this Chronology that operates in the UTC time zone.
Chronology
Returns an instance of this Chronology that operates in the UTC time zone.
Chronology
Returns an instance of this Chronology that operates in any time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Gets the Chronology in a specific time zone.
Chronology
Chronology
If this LimitChronology has the same time zone as the one given, then this is returned.
Chronology
Returns an instance of this Chronology that operates in any time zone.
Chronology
Returns an instance of this Chronology that operates in any time zone.

Uses in package org.joda.time.field

Constructors with parameter type org.joda.time.Chronology

Constructor that skips zero.
Constructor.
Constructor that reinserts zero.
Constructor.

Methods with parameter type org.joda.time.Chronology

DateTimeField
Returns a lenient version of the given field.

Methods with return type org.joda.time.Chronology

Chronology
Gets the chronology of the datetime that this property is linked to.

Uses in package org.joda.time.format

Constructors with parameter type org.joda.time.Chronology

DateTimeParserBucket.DateTimeParserBucket(long instantLocal, Chronology chrono, Locale locale)
Constucts a bucket.
DateTimeParserBucket.DateTimeParserBucket(long instantLocal, Chronology chrono, Locale locale, Integer pivotYear)
Constucts a bucket, with the option of specifying the pivot year for two-digit year parsing.

Methods with parameter type org.joda.time.Chronology

void
DateTimePrinter.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.
void
DateTimePrinter.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.
DateTimeFormatter
Returns a new formatter that will use the specified chronology in preference to that of the printed object, or ISO on a parse.

Methods with return type org.joda.time.Chronology

Chronology
Gets the chronology to use as an override.
Chronology
Gets the chronology of the bucket, which will be a local (UTC) chronology.

Uses in package org.joda.time.base

Constructors with parameter type org.joda.time.Chronology

BaseDateTime.BaseDateTime(Object instant, Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology.
BaseDateTime.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.BaseDateTime(long instant, Chronology chronology)
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
Constructs an instance set to the current system millisecond time using the specified chronology.
BaseInterval.BaseInterval(Object interval, Chronology chrono)
Constructs a time interval converting or copying from another object that describes an interval.
BaseInterval.BaseInterval(long startInstant, long endInstant, Chronology chrono)
Constructs an interval from a start and end instant.
BasePartial.BasePartial(Object instant, Chronology chronology)
Constructs a partial from an Object that represents a time, using the specified chronology.
BasePartial.BasePartial(Object instant, Chronology chronology, DateTimeFormatter parser)
Constructs a partial from an Object that represents a time, using the specified chronology.
BasePartial.BasePartial(int[] values, Chronology chronology)
Constructs a partial with specified time field values and chronology.
BasePartial.BasePartial(long instant, Chronology chronology)
Constructs a partial extracting the partial fields from the specified milliseconds using the chronology provided.
Constructs a partial with the current time, using the specified chronology and zone to extract the fields.
Private constructor to be used by subclasses only which performs no validation.
BasePeriod.BasePeriod(Object period, PeriodType type, Chronology chrono)
Creates a new period based on another using the ConverterManager.
BasePeriod.BasePeriod(long startInstant, long endInstant, PeriodType type, Chronology chrono)
Creates a period from the given interval endpoints.
BasePeriod.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.

Methods with parameter type org.joda.time.Chronology

Chronology
Checks the specified chronology before storing it, potentially altering it.
long
BaseDateTime.checkInstant(long instant, Chronology chronology)
Checks the specified instant before storing it, potentially altering it.
DateTimeField
AbstractPartial.getField(int index, Chronology chrono)
Gets the field for a specific index in the chronology specified.
void
Sets the chronology of the datetime.
void
BaseInterval.setInterval(long startInstant, long endInstant, Chronology chrono)
Sets this interval from two millisecond instants and a chronology.
DateTime
Get this object as a DateTime using the given chronology and its zone.
MutableDateTime
Get this object as a MutableDateTime using the given chronology and its zone.
Period
Converts this duration to a Period instance using the standard period type and the specified chronology.
Period
Converts this duration to a Period instance using the specified period type and chronology.

Methods with return type org.joda.time.Chronology

Chronology
Checks the specified chronology before storing it, potentially altering it.
Chronology
Gets the chronology of the datetime.
Chronology
Gets the chronology of this interval.
Chronology
Gets the chronology of the partial which is never null.

Copyright (c) 2001-2006 - Joda.org