|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Chronology | |
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. |
Uses of Chronology in org.joda.time |
Methods in org.joda.time that return Chronology | |
static Chronology |
Chronology.getISO()
Deprecated. Use ISOChronology.getInstance() |
static Chronology |
Chronology.getISOUTC()
Deprecated. Use ISOChronology.getInstanceUTC() |
static Chronology |
Chronology.getISO(DateTimeZone zone)
Deprecated. Use ISOChronology.getInstance(zone) |
static Chronology |
Chronology.getGJ()
Deprecated. Use GJChronology.getInstance() |
static Chronology |
Chronology.getGJUTC()
Deprecated. Use GJChronology.getInstanceUTC() |
static Chronology |
Chronology.getGJ(DateTimeZone zone)
Deprecated. Use GJChronology.getInstance(zone) |
static Chronology |
Chronology.getGregorian()
Deprecated. Use GregorianChronology.getInstance() |
static Chronology |
Chronology.getGregorianUTC()
Deprecated. Use GregorianChronology.getInstanceUTC() |
static Chronology |
Chronology.getGregorian(DateTimeZone zone)
Deprecated. Use GregorianChronology.getInstance(zone) |
static Chronology |
Chronology.getJulian()
Deprecated. Use JulianChronology.getInstance() |
static Chronology |
Chronology.getJulianUTC()
Deprecated. Use JulianChronology.getInstanceUTC() |
static Chronology |
Chronology.getJulian(DateTimeZone zone)
Deprecated. Use JulianChronology.getInstance(zone) |
static Chronology |
Chronology.getBuddhist()
Deprecated. Use BuddhistChronology.getInstance() |
static Chronology |
Chronology.getBuddhistUTC()
Deprecated. Use BuddhistChronology.getInstanceUTC() |
static Chronology |
Chronology.getBuddhist(DateTimeZone zone)
Deprecated. Use BuddhistChronology.getInstance(zone) |
static Chronology |
Chronology.getCoptic()
Deprecated. Use CopticChronology.getInstance() |
static Chronology |
Chronology.getCopticUTC()
Deprecated. Use CopticChronology.getInstanceUTC() |
static Chronology |
Chronology.getCoptic(DateTimeZone zone)
Deprecated. Use CopticChronology.getInstance(zone) |
abstract Chronology |
Chronology.withUTC()
Returns an instance of this Chronology that operates in the UTC time zone. |
abstract Chronology |
Chronology.withZone(DateTimeZone zone)
Returns an instance of this Chronology that operates in any time zone. |
Chronology |
ReadablePartial.getChronology()
Gets the chronology of the partial which is never null. |
Chronology |
ReadableInstant.getChronology()
Gets the chronology of the instant. |
Chronology |
Instant.getChronology()
Gets the chronology of the instant, which is ISO in the UTC zone. |
Chronology |
ReadableInterval.getChronology()
Gets the chronology of the interval, which is the chronology of the first datetime. |
static Chronology |
DateTimeUtils.getInstantChronology(ReadableInstant instant)
Gets the chronology from the specified instant object handling null. |
static Chronology |
DateTimeUtils.getIntervalChronology(ReadableInstant start,
ReadableInstant end)
Gets the chronology from the specified instant based interval handling null. |
static Chronology |
DateTimeUtils.getIntervalChronology(ReadableInterval interval)
Gets the chronology from the specified interval object handling null. |
static Chronology |
DateTimeUtils.getChronology(Chronology chrono)
Gets the chronology handling null. |
Chronology |
Partial.getChronology()
Gets the chronology of the partial which is never null. |
Methods in org.joda.time with parameters of type Chronology | |
abstract DateTimeField |
DateTimeFieldType.getField(Chronology chronology)
Gets a suitable field for this type from the given Chronology. |
boolean |
DateTimeFieldType.isSupported(Chronology chronology)
Checks whether this field supported in the given Chronology. |
abstract DurationField |
DurationFieldType.getField(Chronology chronology)
Gets a suitable field for this type from the given Chronology. |
boolean |
DurationFieldType.isSupported(Chronology chronology)
Checks whether this field supported in the given Chronology. |
DateTime |
DateTime.toDateTime(Chronology chronology)
Get this object as a DateTime, returning this if possible. |
DateTime |
DateTime.withChronology(Chronology newChronology)
Gets a copy of this datetime with a different chronology. |
void |
MutableDateTime.setChronology(Chronology chronology)
Set the chronology of the datetime. |
void |
ReadWritableInstant.setChronology(Chronology chronology)
Sets the chronology of the datetime, which has no effect if not applicable. |
DateMidnight |
DateMidnight.withChronology(Chronology newChronology)
Gets a copy of this instant with a different chronology, potentially changing the day in unexpected ways. |
YearMonthDay |
YearMonthDay.withChronologyRetainFields(Chronology newChronology)
Creates a new YearMonthDay instance with the specified chronology. |
static TimeOfDay |
TimeOfDay.fromMillisOfDay(long millisOfDay,
Chronology chrono)
Constructs a TimeOfDay from the specified millis of day using the specified chronology. |
TimeOfDay |
TimeOfDay.withChronologyRetainFields(Chronology newChronology)
Creates a new TimeOfDay instance with the specified chronology. |
Interval |
Interval.withChronology(Chronology chronology)
Creates a new interval with the same start and end, but a different chronology. |
void |
MutablePeriod.setPeriod(long startInstant,
long endInstant,
Chronology chrono)
Sets all the fields in one go from a millisecond interval. |
void |
MutablePeriod.setPeriod(ReadableDuration duration,
Chronology chrono)
Sets all the fields in one go from a duration dividing the fields using the period type. |
void |
MutablePeriod.setPeriod(long duration,
Chronology chrono)
Sets all the fields in one go from a millisecond duration. |
void |
MutablePeriod.add(long duration,
Chronology chrono)
Adds a millisecond duration to this one by dividing the duration into fields and calling MutablePeriod.add(ReadablePeriod) . |
void |
MutableInterval.setChronology(Chronology chrono)
Sets the chronology of this time interval. |
void |
ReadWritableInterval.setChronology(Chronology chrono)
Sets the chronology of this time interval. |
static Chronology |
DateTimeUtils.getChronology(Chronology chrono)
Gets the chronology handling null. |
Partial |
Partial.withChronologyRetainFields(Chronology newChronology)
Creates a new Partial instance with the specified chronology. |
Constructors in org.joda.time with parameters of type Chronology | |
DateTime(Chronology chronology)
Constructs an instance set to the current system millisecond time 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(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(Chronology chronology)
Constructs an instance set to the current system millisecond time 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(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. |
|
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(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(Object period,
Chronology chrono)
Creates a period from the specified object using the ConverterManager . |
|
Period(Object period,
PeriodType type,
Chronology chrono)
Creates a period from the specified object using the ConverterManager . |
|
DateMidnight(Chronology chronology)
Constructs an instance set to the current system millisecond time using the specified chronology. |
|
DateMidnight(long instant,
Chronology chronology)
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology. |
|
DateMidnight(Object instant,
Chronology chronology)
Constructs an instance from an Object that represents a datetime, using the specified chronology. |
|
DateMidnight(int year,
int monthOfYear,
int dayOfMonth,
Chronology chronology)
Constructs an instance from datetime field values using the specified chronology. |
|
YearMonthDay(Chronology chronology)
Constructs a YearMonthDay with the current date, using the specified chronology and zone to extract the fields. |
|
YearMonthDay(long instant,
Chronology chronology)
Constructs a YearMonthDay extracting the partial fields from the specified milliseconds using the chronology provided. |
|
YearMonthDay(Object instant,
Chronology chronology)
Constructs a YearMonthDay from an Object that represents a time, using the specified chronology. |
|
YearMonthDay(int year,
int monthOfYear,
int dayOfMonth,
Chronology chronology)
Constructs a YearMonthDay with specified time field values. |
|
TimeOfDay(Chronology chronology)
Constructs a TimeOfDay with the current time, using the specified chronology and zone to extract the fields. |
|
TimeOfDay(long instant,
Chronology chronology)
Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the chronology provided. |
|
TimeOfDay(Object instant,
Chronology chronology)
Constructs a TimeOfDay from an Object that represents a time, using the specified chronology. |
|
TimeOfDay(int hourOfDay,
int minuteOfHour,
Chronology chronology)
Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds. |
|
TimeOfDay(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
Chronology chronology)
Constructs a TimeOfDay with specified time field values and zero milliseconds. |
|
TimeOfDay(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond,
Chronology chronology)
Constructs a TimeOfDay with specified time field values and chronology. |
|
Interval(long startInstant,
long endInstant,
Chronology chronology)
Constructs an interval from a start and end instant with a chronology. |
|
Interval(Object interval,
Chronology chronology)
Constructs a time interval by converting or copying from another object, overriding the chronology. |
|
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(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(Object period,
Chronology chrono)
Creates a period from the specified object using the ConverterManager . |
|
MutablePeriod(Object period,
PeriodType type,
Chronology chrono)
Creates a period from the specified object using the ConverterManager . |
|
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. |
|
Partial(Chronology chrono)
Constructs a Partial with no fields or values, which can be considered to represent any date. |
|
Partial(DateTimeFieldType type,
int value,
Chronology chronology)
Constructs a Partial with the specified field and value. |
|
Partial(DateTimeFieldType[] types,
int[] values,
Chronology chronology)
Constructs a Partial with the specified fields and values. |
Uses of Chronology in org.joda.time.base |
Methods in org.joda.time.base that return Chronology | |
Chronology |
BaseDateTime.getChronology()
Gets the chronology of the datetime. |
Chronology |
BasePartial.getChronology()
Gets the chronology of the partial which is never null. |
Chronology |
BaseInterval.getChronology()
Gets the chronology of this interval. |
Methods in org.joda.time.base with parameters of type Chronology | |
DateTime |
AbstractInstant.toDateTime(Chronology chronology)
Get this object as a DateTime using the given chronology and its zone. |
MutableDateTime |
AbstractInstant.toMutableDateTime(Chronology chronology)
Get this object as a MutableDateTime using the given chronology and its zone. |
Period |
BaseDuration.toPeriod(Chronology chrono)
Converts this duration to a Period instance using the standard period type and the specified chronology. |
Period |
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 Chronology | |
BaseDateTime(Chronology chronology)
Constructs an instance set to the current system millisecond time 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(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. |
Uses of Chronology in org.joda.time.chrono |
Subclasses of Chronology in org.joda.time.chrono | |
class |
AssembledChronology
Abstract Chronology that enables chronologies to be assembled from a container of fields. |
class |
BaseChronology
BaseChronology provides a skeleton implementation for chronology classes. |
(package private) class |
org.joda.time.chrono.BasicChronology
Abstract implementation for calendar systems that use a typical day/month/year/leapYear model. |
(package private) class |
org.joda.time.chrono.BasicFixedMonthChronology
Abstract implementation of a calendar system based around fixed length months. |
(package private) class |
org.joda.time.chrono.BasicGJChronology
Abstract Chronology for implementing chronologies based on Gregorian/Julian formulae. |
class |
BuddhistChronology
A chronology that matches the BuddhistCalendar class supplied by Sun. |
class |
CopticChronology
Implements the Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar. |
class |
EthiopicChronology
Implements the Ethiopic calendar system, which defines every fourth year as leap, much like the Julian calendar. |
class |
GJChronology
Implements the Gregorian/Julian calendar system which is the calendar system used in most of the world. |
class |
GregorianChronology
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 |
IslamicChronology
Implements the Islamic, or Hijri, calendar system using arithmetic rules. |
class |
ISOChronology
Implements a chronology that follows the rules of the ISO8601 standard, which is compatible with Gregorian for all modern dates. |
class |
JulianChronology
Implements a pure proleptic Julian calendar system, which defines every fourth year as leap. |
class |
LenientChronology
Wraps another Chronology, ensuring all the fields are lenient. |
class |
LimitChronology
Wraps another Chronology to impose limits on the range of instants that the fields within a Chronology may support. |
class |
StrictChronology
Wraps another Chronology, ensuring all the fields are strict. |
class |
ZonedChronology
Wraps another Chronology to add support for time zones. |
Methods in org.joda.time.chrono that return Chronology | |
abstract Chronology |
BaseChronology.withUTC()
Returns an instance of this Chronology that operates in the UTC time zone. |
abstract Chronology |
BaseChronology.withZone(DateTimeZone zone)
Returns an instance of this Chronology that operates in any time zone. |
Chronology |
BuddhistChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
BuddhistChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
CopticChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
CopticChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
EthiopicChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
EthiopicChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
GJChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
GJChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
JulianChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
JulianChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
GregorianChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
GregorianChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
ISOChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
ISOChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
IslamicChronology.withUTC()
Gets the Chronology in the UTC time zone. |
Chronology |
IslamicChronology.withZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
LenientChronology.withUTC()
|
Chronology |
LenientChronology.withZone(DateTimeZone zone)
|
Chronology |
LimitChronology.withUTC()
If this LimitChronology is already UTC, then this is returned. |
Chronology |
LimitChronology.withZone(DateTimeZone zone)
If this LimitChronology has the same time zone as the one given, then this is returned. |
Chronology |
StrictChronology.withUTC()
|
Chronology |
StrictChronology.withZone(DateTimeZone zone)
|
Chronology |
ZonedChronology.withUTC()
|
Chronology |
ZonedChronology.withZone(DateTimeZone zone)
|
Methods in org.joda.time.chrono with parameters of type Chronology | |
void |
AssembledChronology.Fields.copyFieldsFrom(Chronology chrono)
Copy the supported fields from a chronology into this container. |
static LenientChronology |
LenientChronology.getInstance(Chronology base)
Create a LenientChronology for any chronology. |
static LimitChronology |
LimitChronology.getInstance(Chronology base,
ReadableDateTime lowerLimit,
ReadableDateTime upperLimit)
Wraps another chronology, with datetime limits. |
static StrictChronology |
StrictChronology.getInstance(Chronology base)
Create a StrictChronology for any chronology. |
static ZonedChronology |
ZonedChronology.getInstance(Chronology base,
DateTimeZone zone)
Create a ZonedChronology for any chronology, overriding any time zone it may already have. |
Uses of Chronology in org.joda.time.convert |
Methods in org.joda.time.convert that return Chronology | |
Chronology |
AbstractConverter.getChronology(Object object,
DateTimeZone zone)
Extracts the chronology from an object of this convertor's type where the time zone is specified. |
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,
DateTimeZone zone)
Extracts the chronology from an object of this converter's type where the time zone 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. |
Methods in org.joda.time.convert with parameters of type Chronology | |
long |
AbstractConverter.getInstantMillis(Object object,
Chronology chrono)
Extracts the millis from an object of this convertor's type. |
Chronology |
AbstractConverter.getChronology(Object object,
Chronology chrono)
Extracts the chronology from an object of this convertor's type where the chronology is specified. |
int[] |
AbstractConverter.getPartialValues(ReadablePartial fieldSource,
Object object,
Chronology chrono)
Extracts the values of the partial from an object of this converter's type. |
boolean |
AbstractConverter.isReadableInterval(Object object,
Chronology chrono)
Checks if the input is a ReadableInterval. |
Chronology |
InstantConverter.getChronology(Object object,
Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology may be specified. |
long |
InstantConverter.getInstantMillis(Object object,
Chronology chrono)
Extracts the millis from an object of this converter's type. |
Chronology |
PartialConverter.getChronology(Object object,
Chronology chrono)
Extracts the chronology from an object of this converter's type where the chronology is specified. |
int[] |
PartialConverter.getPartialValues(ReadablePartial fieldSource,
Object object,
Chronology chrono)
Extracts the values of the partial from an object of this converter's type. |
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. |
boolean |
IntervalConverter.isReadableInterval(Object object,
Chronology chrono)
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. |
Uses of Chronology in org.joda.time.field |
Constructors in org.joda.time.field with parameters of type Chronology | |
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 Chronology | |
Chronology |
DateTimeFormatter.getChronolgy()
Gets the chronology to use as an override. |
Chronology |
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 Chronology | |
DateTimeFormatter |
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. |
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. |
Constructors in org.joda.time.format with parameters of type Chronology | |
DateTimeParserBucket(long instantLocal,
Chronology chrono,
Locale locale)
Constucts a bucket. |
|
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |