Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abs() - Method in class org.joda.time.Duration
-
Returns a duration that has a positive or zero number of milliseconds.
- AbstractConverter - Class in org.joda.time.convert
-
AbstractConverter simplifies the process of implementing a converter.
- AbstractConverter() - Constructor for class org.joda.time.convert.AbstractConverter
-
Restricted constructor.
- AbstractDateTime - Class in org.joda.time.base
-
AbstractDateTime provides the common behaviour for datetime classes.
- AbstractDateTime() - Constructor for class org.joda.time.base.AbstractDateTime
-
Constructor.
- AbstractDuration - Class in org.joda.time.base
-
AbstractDuration provides the common behaviour for duration classes.
- AbstractDuration() - Constructor for class org.joda.time.base.AbstractDuration
-
Constructor.
- AbstractInstant - Class in org.joda.time.base
-
AbstractInstant provides the common behaviour for instant classes.
- AbstractInstant() - Constructor for class org.joda.time.base.AbstractInstant
-
Constructor.
- AbstractInterval - Class in org.joda.time.base
-
AbstractInterval provides the common behaviour for time intervals.
- AbstractInterval() - Constructor for class org.joda.time.base.AbstractInterval
-
Constructor.
- AbstractPartial - Class in org.joda.time.base
-
AbstractPartial provides a standard base implementation of most methods in the ReadablePartial interface.
- AbstractPartial() - Constructor for class org.joda.time.base.AbstractPartial
-
Constructor.
- AbstractPartialFieldProperty - Class in org.joda.time.field
-
AbstractPartialFieldProperty is a base class for binding a ReadablePartial to a DateTimeField.
- AbstractPartialFieldProperty() - Constructor for class org.joda.time.field.AbstractPartialFieldProperty
-
Constructor.
- AbstractPeriod - Class in org.joda.time.base
-
AbstractPeriod provides the common behaviour for period classes.
- AbstractPeriod() - Constructor for class org.joda.time.base.AbstractPeriod
-
Constructor.
- AbstractReadableInstantFieldProperty - Class in org.joda.time.field
-
AbstractReadableInstantFieldProperty is a base class for binding a ReadableInstant to a DateTimeField.
- AbstractReadableInstantFieldProperty() - Constructor for class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Constructor.
- abuts(ReadableInterval) - Method in class org.joda.time.Interval
-
Does this interval abut with the interval specified.
- AD - Static variable in class org.joda.time.DateTimeConstants
-
Constant (1) representing AD, years after zero (from Calendar).
- add(int) - Method in class org.joda.time.MutableDateTime.Property
-
Adds a value to the millis value.
- add(int, int, int, int, int, int, int, int) - Method in class org.joda.time.MutablePeriod
-
Adds to each field of this period.
- add(int, int, int, int, int, int, int, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds to each field of this period.
- add(long) - Method in class org.joda.time.MutableDateTime
-
Add an amount of time to the datetime.
- add(long) - Method in class org.joda.time.MutableDateTime.Property
-
Adds a value to the millis value.
- add(long) - Method in class org.joda.time.MutablePeriod
-
Adds a millisecond duration to this one by dividing the duration into fields and calling
MutablePeriod.add(ReadablePeriod)
. - add(long) - Method in interface org.joda.time.ReadWritableInstant
-
Adds a millisecond duration to this instant.
- add(long, int) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the millis value, overflowing into larger fields if necessary.
- add(long, int) - Method in class org.joda.time.DurationField
-
Adds a duration value (which may be negative) to the instant.
- add(long, int) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the instant value, overflowing into larger fields if necessary.
- add(long, int) - Method in class org.joda.time.field.DecoratedDurationField
- add(long, int) - Method in class org.joda.time.field.DelegatedDateTimeField
- add(long, int) - Method in class org.joda.time.field.DelegatedDurationField
- add(long, int) - Method in class org.joda.time.field.DividedDateTimeField
-
Add the specified amount of scaled units to the specified time instant.
- add(long, int) - Method in class org.joda.time.field.ImpreciseDateTimeField
- add(long, int) - Method in class org.joda.time.field.MillisDurationField
- add(long, int) - Method in class org.joda.time.field.OffsetDateTimeField
-
Add the specified amount of offset units to the specified time instant.
- add(long, int) - Method in class org.joda.time.field.PreciseDurationField
- add(long, int) - Method in class org.joda.time.field.ScaledDurationField
- add(long, int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Delegates to the duration field.
- add(long, int) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- add(long, int) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- add(long, long) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the millis value, overflowing into larger fields if necessary.
- add(long, long) - Method in class org.joda.time.DurationField
-
Adds a duration value (which may be negative) to the instant.
- add(long, long) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the instant value, overflowing into larger fields if necessary.
- add(long, long) - Method in class org.joda.time.field.DecoratedDurationField
- add(long, long) - Method in class org.joda.time.field.DelegatedDateTimeField
- add(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- add(long, long) - Method in class org.joda.time.field.DividedDateTimeField
-
Add the specified amount of scaled units to the specified time instant.
- add(long, long) - Method in class org.joda.time.field.ImpreciseDateTimeField
- add(long, long) - Method in class org.joda.time.field.MillisDurationField
- add(long, long) - Method in class org.joda.time.field.OffsetDateTimeField
-
Add the specified amount of offset units to the specified time instant.
- add(long, long) - Method in class org.joda.time.field.PreciseDurationField
- add(long, long) - Method in class org.joda.time.field.ScaledDurationField
- add(long, long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Delegates to the duration field.
- add(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- add(long, long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- add(long, long, int) - Method in class org.joda.time.chrono.BaseChronology
-
Adds the duration to the instant, specifying the number of times to add.
- add(long, long, int) - Method in class org.joda.time.Chronology
-
Adds the duration to the instant, specifying the number of times to add.
- add(long, Chronology) - Method in class org.joda.time.MutablePeriod
-
Adds a millisecond duration to this one by dividing the duration into fields and calling
MutablePeriod.add(ReadablePeriod)
. - add(DurationFieldType, int) - Method in class org.joda.time.MutableDateTime
-
Adds to the instant specifying the duration and multiple to add.
- add(DurationFieldType, int) - Method in class org.joda.time.MutablePeriod
-
Adds to the value of one of the fields.
- add(DurationFieldType, int) - Method in interface org.joda.time.ReadWritableInstant
-
Adds to the instant specifying the duration and multiple to add.
- add(DurationFieldType, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds to the value of one of the fields.
- add(ReadableDuration) - Method in class org.joda.time.MutableDateTime
-
Adds a duration to this instant.
- add(ReadableDuration) - Method in class org.joda.time.MutablePeriod
-
Adds a duration to this one by dividing the duration into fields and calling
MutablePeriod.add(ReadablePeriod)
. - add(ReadableDuration) - Method in interface org.joda.time.ReadWritableInstant
-
Adds a duration to this instant.
- add(ReadableDuration, int) - Method in class org.joda.time.MutableDateTime
-
Adds a duration to this instant specifying how many times to add.
- add(ReadableDuration, int) - Method in interface org.joda.time.ReadWritableInstant
-
Adds a duration to this instant specifying how many times to add.
- add(ReadableInterval) - Method in class org.joda.time.MutablePeriod
-
Adds an interval to this one by dividing the interval into fields and calling
MutablePeriod.add(ReadablePeriod)
. - add(ReadableInterval) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds an interval to this one by dividing the interval into fields and then adding each field in turn.
- add(ReadablePartial, int, int[], int) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the partial instant, throwing an exception if the maximum size of the instant is reached.
- add(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the partial instant, throwing an exception if the maximum size of the instant is reached.
- add(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.DelegatedDateTimeField
- add(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- add(ReadablePeriod) - Method in class org.joda.time.MutableDateTime
-
Adds a period to this instant.
- add(ReadablePeriod) - Method in class org.joda.time.MutablePeriod
-
Adds a period to this one by adding each field in turn.
- add(ReadablePeriod) - Method in interface org.joda.time.ReadWritableInstant
-
Adds a period to this instant.
- add(ReadablePeriod) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds a period to this one by adding each field in turn.
- add(ReadablePeriod, int) - Method in class org.joda.time.MutableDateTime
-
Adds a period to this instant specifying how many times to add.
- add(ReadablePeriod, int) - Method in interface org.joda.time.ReadWritableInstant
-
Adds a period to this instant specifying how many times to add.
- add(ReadablePeriod, long, int) - Method in class org.joda.time.chrono.BaseChronology
-
Adds the period to the instant, specifying the number of times to add.
- add(ReadablePeriod, long, int) - Method in class org.joda.time.Chronology
-
Adds the period to the instant, specifying the number of times to add.
- addCopy(int) - Method in class org.joda.time.LocalTime.Property
-
Adds to this field in a copy of this LocalTime.
- addCopy(long) - Method in class org.joda.time.LocalTime.Property
-
Adds to this field in a copy of this LocalTime.
- addCutover(int, char, int, int, int, boolean, int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Adds a cutover for added rules.
- addDays(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of days to the date.
- addDays(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified days to the number of days in the period.
- addDays(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of days to the date.
- addDays(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified days to the number of days in the period.
- addDurationConverter(DurationConverter) - Method in class org.joda.time.convert.ConverterManager
-
Adds a converter to the set of converters.
- addField(DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Adds the value of a field in this period.
- addFieldInto(int[], DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Adds the value of a field in this period.
- addHours(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of hours to the date.
- addHours(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified hours to the number of hours in the period.
- addHours(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of hours to the date.
- addHours(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified hours to the number of hours in the period.
- addInstantConverter(InstantConverter) - Method in class org.joda.time.convert.ConverterManager
-
Adds a converter to the set of converters.
- addIntervalConverter(IntervalConverter) - Method in class org.joda.time.convert.ConverterManager
-
Adds a converter to the set of converters.
- addMillis(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of milliseconds to the date.
- addMillis(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified millis to the number of millis in the period.
- addMillis(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of milliseconds to the date.
- addMillis(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified millis to the number of millis in the period.
- addMinutes(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of minutes to the date.
- addMinutes(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified minutes to the number of minutes in the period.
- addMinutes(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of minutes to the date.
- addMinutes(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified minutes to the number of minutes in the period.
- addMonths(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of months to the date.
- addMonths(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified months to the number of months in the period.
- addMonths(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of months to the date.
- addMonths(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified months to the number of months in the period.
- addNoWrapToCopy(int) - Method in class org.joda.time.LocalTime.Property
-
Adds to this field in a copy of this LocalTime.
- addNoWrapToCopy(int) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Adds to the value of this field in a copy of this TimeOfDay, throwing an Exception if the bounds are exceeded.
- addPartialConverter(PartialConverter) - Method in class org.joda.time.convert.ConverterManager
-
Adds a converter to the set of converters.
- addPeriod(ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Adds the fields from another period.
- addPeriodConverter(PeriodConverter) - Method in class org.joda.time.convert.ConverterManager
-
Adds a converter to the set of converters.
- addPeriodInto(int[], ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Adds the fields from another period.
- addRecurringSavings(String, int, int, int, char, int, int, int, boolean, int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Add a recurring daylight saving time rule.
- addSeconds(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of seconds to the date.
- addSeconds(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified seconds to the number of seconds in the period.
- addSeconds(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of seconds to the date.
- addSeconds(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified seconds to the number of seconds in the period.
- addToCopy(int) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Adds to this field in a copy of this DateMidnight.
- addToCopy(int) - Method in class org.joda.time.DateTime.Property
-
Adds to this field in a copy of this DateTime.
- addToCopy(int) - Method in class org.joda.time.LocalDate.Property
-
Adds to this field in a copy of this LocalDate.
- addToCopy(int) - Method in class org.joda.time.LocalDateTime.Property
-
Adds to this field in a copy of this LocalDateTime.
- addToCopy(int) - Method in class org.joda.time.MonthDay.Property
-
Adds to the value of this field in a copy of this MonthDay.
- addToCopy(int) - Method in class org.joda.time.Partial.Property
-
Adds to the value of this field in a copy of this Partial.
- addToCopy(int) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Adds to the value of this field in a copy of this TimeOfDay, wrapping to what would be the next day if necessary.
- addToCopy(int) - Method in class org.joda.time.YearMonth.Property
-
Adds to the value of this field in a copy of this YearMonth.
- addToCopy(int) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Adds to the value of this field in a copy of this YearMonthDay.
- addToCopy(long) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Adds to this field in a copy of this DateMidnight.
- addToCopy(long) - Method in class org.joda.time.DateTime.Property
-
Adds to this field in a copy of this DateTime.
- addToCopy(long) - Method in class org.joda.time.LocalDateTime.Property
-
Adds to this field in a copy of this LocalDateTime.
- addWeeks(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of weeks to the date.
- addWeeks(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified weeks to the number of weeks in the period.
- addWeeks(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of weeks to the date.
- addWeeks(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified weeks to the number of weeks in the period.
- addWeekyears(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of weekyears to the date.
- addWeekyears(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of weekyears to the date.
- addWrapField(int) - Method in class org.joda.time.MutableDateTime.Property
-
Adds a value, possibly wrapped, to the millis value.
- addWrapField(long, int) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the millis value, wrapping within this field.
- addWrapField(long, int) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the instant value, wrapping within this field.
- addWrapField(long, int) - Method in class org.joda.time.field.DelegatedDateTimeField
- addWrapField(long, int) - Method in class org.joda.time.field.DividedDateTimeField
-
Add to the scaled component of the specified time instant, wrapping around within that component if necessary.
- addWrapField(long, int) - Method in class org.joda.time.field.OffsetDateTimeField
-
Add to the offset component of the specified time instant, wrapping around within that component if necessary.
- addWrapField(long, int) - Method in class org.joda.time.field.PreciseDateTimeField
-
Add to the component of the specified time instant, wrapping around within that component if necessary.
- addWrapField(long, int) - Method in class org.joda.time.field.RemainderDateTimeField
-
Add the specified amount to the specified time instant, wrapping around within the remainder range if necessary.
- addWrapField(long, int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- addWrapField(long, int) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- addWrapField(ReadablePartial, int, int[], int) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the partial instant, wrapping within this field.
- addWrapField(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the partial instant, wrapping within this field.
- addWrapField(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.DelegatedDateTimeField
- addWrapField(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- addWrapField(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- addWrapFieldToCopy(int) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Adds to this field, possibly wrapped, in a copy of this DateMidnight.
- addWrapFieldToCopy(int) - Method in class org.joda.time.DateTime.Property
-
Adds to this field, possibly wrapped, in a copy of this DateTime.
- addWrapFieldToCopy(int) - Method in class org.joda.time.LocalDate.Property
-
Adds to this field, possibly wrapped, in a copy of this LocalDate.
- addWrapFieldToCopy(int) - Method in class org.joda.time.LocalDateTime.Property
-
Adds to this field, possibly wrapped, in a copy of this LocalDateTime.
- addWrapFieldToCopy(int) - Method in class org.joda.time.LocalTime.Property
-
Adds to this field, possibly wrapped, in a copy of this LocalTime.
- addWrapFieldToCopy(int) - Method in class org.joda.time.MonthDay.Property
-
Adds to the value of this field in a copy of this MonthDay wrapping within this field if the maximum value is reached.
- addWrapFieldToCopy(int) - Method in class org.joda.time.Partial.Property
-
Adds to the value of this field in a copy of this Partial wrapping within this field if the maximum value is reached.
- addWrapFieldToCopy(int) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Adds to the value of this field in a copy of this TimeOfDay wrapping within this field if the maximum value is reached.
- addWrapFieldToCopy(int) - Method in class org.joda.time.YearMonth.Property
-
Adds to the value of this field in a copy of this YearMonth wrapping within this field if the maximum value is reached.
- addWrapFieldToCopy(int) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Adds to the value of this field in a copy of this YearMonthDay wrapping within this field if the maximum value is reached.
- addWrapPartial(ReadablePartial, int, int[], int) - Method in class org.joda.time.DateTimeField
-
Adds a value (which may be negative) to the partial instant, wrapping the whole partial if the maximum size of the partial is reached.
- addWrapPartial(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.BaseDateTimeField
-
Adds a value (which may be negative) to the partial instant, wrapping the whole partial if the maximum size of the partial is reached.
- addWrapPartial(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.DelegatedDateTimeField
- addWrapPartial(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- addYears(int) - Method in class org.joda.time.MutableDateTime
-
Add a number of years to the date.
- addYears(int) - Method in class org.joda.time.MutablePeriod
-
Adds the specified years to the number of years in the period.
- addYears(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Add a number of years to the date.
- addYears(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Adds the specified years to the number of years in the period.
- adjustOffset(long, boolean) - Method in class org.joda.time.DateTimeZone
-
Adjusts the offset to be the earlier or later one during an overlap.
- AH - Static variable in class org.joda.time.chrono.IslamicChronology
-
Constant value for 'Anno Hegirae', equivalent to the value returned for AD/CE.
- alternate() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The alternate ISO format, PyyyymmddThhmmss, which excludes weeks.
- alternateExtended() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The alternate ISO format, Pyyyy-mm-ddThh:mm:ss, which excludes weeks.
- alternateExtendedWithWeeks() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The alternate ISO format, Pyyyy-Www-ddThh:mm:ss, which excludes months.
- alternateWithWeeks() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The alternate ISO format, PyyyyWwwddThhmmss, which excludes months.
- AM - Static variable in class org.joda.time.chrono.CopticChronology
-
Constant value for 'Anno Martyrum' or 'Era of the Martyrs', equivalent to the value returned for AD/CE.
- AM - Static variable in class org.joda.time.DateTimeConstants
-
Constant (0) representing AM, the morning (from Calendar)
- append(DateTimeFormatter) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends another formatter.
- append(DateTimeParser) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends just a parser.
- append(DateTimePrinter) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends just a printer.
- append(DateTimePrinter, DateTimeParser) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends a printer/parser pair.
- append(DateTimePrinter, DateTimeParser[]) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends a printer and a set of matching parsers.
- append(PeriodFormatter) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Appends another formatter.
- append(PeriodPrinter, PeriodParser) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Appends a printer parser pair.
- appendCenturyOfEra(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric century of era field.
- appendClockhourOfDay(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric clockhourOfDay field.
- appendClockhourOfHalfday(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric clockhourOfHalfday field.
- appendDayOfMonth(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric dayOfMonth field.
- appendDayOfWeek(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric dayOfWeek field.
- appendDayOfWeekShortText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a short locale-specific dayOfWeek text.
- appendDayOfWeekText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific dayOfWeek text.
- appendDayOfYear(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric dayOfYear field.
- appendDays() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer days field, if supported.
- appendDecimal(DateTimeFieldType, int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as a decimal number, and the parser to expect an unsigned decimal number.
- appendEraText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific era text (BC/AD), and the parser to expect it.
- appendFixedDecimal(DateTimeFieldType, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as a fixed-width decimal number (smaller numbers will be left-padded with zeros), and the parser to expect an unsigned decimal number with the same fixed width.
- appendFixedSignedDecimal(DateTimeFieldType, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as a fixed-width decimal number (smaller numbers will be left-padded with zeros), and the parser to expect an signed decimal number with the same fixed width.
- appendFraction(DateTimeFieldType, int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a remainder of time as a decimal fraction, without decimal point.
- appendFractionOfDay(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends the print/parse of a fractional day.
- appendFractionOfHour(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends the print/parse of a fractional hour.
- appendFractionOfMinute(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends the print/parse of a fractional minute.
- appendFractionOfSecond(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends the print/parse of a fractional second.
- appendHalfdayOfDayText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific AM/PM text, and the parser to expect it.
- appendHourOfDay(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric hourOfDay field.
- appendHourOfHalfday(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric hourOfHalfday field.
- appendHours() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer hours field, if supported.
- appendLiteral(char) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a specific character, and the parser to expect it.
- appendLiteral(String) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit specific text, and the parser to expect it.
- appendLiteral(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instructs the printer to emit specific text, and the parser to expect it.
- appendMillis() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer millis field, if supported.
- appendMillis3Digit() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer millis field, if supported.
- appendMillisOfDay(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric millisOfDay field.
- appendMillisOfSecond(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric millisOfSecond field.
- appendMinuteOfDay(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric minuteOfDay field.
- appendMinuteOfHour(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric minuteOfHour field.
- appendMinutes() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer minutes field, if supported.
- appendMonthOfYear(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric monthOfYear field.
- appendMonthOfYearShortText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific monthOfYear text.
- appendMonthOfYearText() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a short locale-specific monthOfYear text.
- appendMonths() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer months field, if supported.
- appendOptional(DateTimeParser) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Appends just a parser element which is optional.
- appendPaddedInteger(Appendable, int, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and appends it to the given appendable.
- appendPaddedInteger(Appendable, long, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and appends it to the given buffer.
- appendPaddedInteger(StringBuffer, int, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and appends it to the given buffer.
- appendPaddedInteger(StringBuffer, long, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and appends it to the given buffer.
- appendPattern(String) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Calls upon
DateTimeFormat
to parse the pattern and append the results into this builder. - appendPrefix(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field prefix which applies only to the next appended field.
- appendPrefix(String[], String[]) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field prefix which applies only to the next appended field.
- appendPrefix(String, String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field prefix which applies only to the next appended field.
- appendSecondOfDay(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric secondOfDay field.
- appendSecondOfMinute(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric secondOfMinute field.
- appendSeconds() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer seconds field, if supported.
- appendSecondsWithMillis() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit a combined seconds and millis field, if supported.
- appendSecondsWithOptionalMillis() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit a combined seconds and millis field, if supported.
- appendSeparator(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a separator, which is output if fields are printed both before and after the separator.
- appendSeparator(String, String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a separator, which is output if fields are printed both before and after the separator.
- appendSeparator(String, String, String[]) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a separator, which is output if fields are printed both before and after the separator.
- appendSeparatorIfFieldsAfter(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a separator, which is output only if fields are printed after the separator.
- appendSeparatorIfFieldsBefore(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a separator, which is output only if fields are printed before the separator.
- appendShortText(DateTimeFieldType) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as short text, and the parser to expect text.
- appendSignedDecimal(DateTimeFieldType, int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as a decimal number, and the parser to expect a signed decimal number.
- appendSuffix(String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field suffix which applies only to the last appended field.
- appendSuffix(String[], String[]) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field suffix which applies only to the last appended field.
- appendSuffix(String, String) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Append a field suffix which applies only to the last appended field.
- appendText(DateTimeFieldType) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a field value as text, and the parser to expect text.
- appendTimeZoneId() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit the identifier of the time zone.
- appendTimeZoneName() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific time zone name.
- appendTimeZoneName(Map<String, DateTimeZone>) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a locale-specific time zone name, providing a lookup for parsing.
- appendTimeZoneOffset(String, boolean, int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit text and numbers to display time zone offset from UTC.
- appendTimeZoneOffset(String, String, boolean, int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit text and numbers to display time zone offset from UTC.
- appendTimeZoneShortName() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a short locale-specific time zone name.
- appendTimeZoneShortName(Map<String, DateTimeZone>) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a short locale-specific time zone name, providing a lookup for parsing.
- appendTwoDigitWeekyear(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric weekyear field which always prints and parses two digits.
- appendTwoDigitWeekyear(int, boolean) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric weekyear field which always prints two digits.
- appendTwoDigitYear(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric year field which always prints and parses two digits.
- appendTwoDigitYear(int, boolean) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric year field which always prints two digits.
- appendUnpaddedInteger(Appendable, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and appends it to the given appendable.
- appendUnpaddedInteger(Appendable, long) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and appends it to the given appendable.
- appendUnpaddedInteger(StringBuffer, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and appends it to the given buffer.
- appendUnpaddedInteger(StringBuffer, long) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and appends it to the given buffer.
- appendWeekOfWeekyear(int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric weekOfWeekyear field.
- appendWeeks() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer weeks field, if supported.
- appendWeekyear(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric weekyear field.
- appendYear(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric year field.
- appendYearOfCentury(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric year of century field.
- appendYearOfEra(int, int) - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Instructs the printer to emit a numeric yearOfEra field.
- appendYears() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Instruct the printer to emit an integer years field, if supported.
- APRIL - Static variable in class org.joda.time.DateTimeConstants
-
Constant (4) representing April, the fourth month (ISO)
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.AssembledChronology
-
Invoked by the constructor and after deserialization to allow subclasses to define all of its supported fields.
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.BuddhistChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.CopticChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.EthiopicChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.GJChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.GregorianChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.IslamicChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.ISOChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.JulianChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.LenientChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.LimitChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.StrictChronology
- assemble(AssembledChronology.Fields) - Method in class org.joda.time.chrono.ZonedChronology
- AssembledChronology - Class in org.joda.time.chrono
-
Abstract Chronology that enables chronologies to be assembled from a container of fields.
- AssembledChronology(Chronology, Object) - Constructor for class org.joda.time.chrono.AssembledChronology
-
Constructor calls the assemble method, enabling subclasses to define its supported fields.
- AssembledChronology.Fields - Class in org.joda.time.chrono
-
A container of fields used for assembling a chronology.
- AUGUST - Static variable in class org.joda.time.DateTimeConstants
-
Constant (8) representing August, the eighth month (ISO)
B
- BaseChronology - Class in org.joda.time.chrono
-
BaseChronology provides a skeleton implementation for chronology classes.
- BaseChronology() - Constructor for class org.joda.time.chrono.BaseChronology
-
Restricted constructor.
- BaseDateTime - Class in org.joda.time.base
-
BaseDateTime is an abstract implementation of ReadableDateTime that stores data in
long
andChronology
fields. - BaseDateTime() - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the default time zone. - BaseDateTime(int, int, int, int, int, int, int) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - BaseDateTime(int, int, int, int, int, int, int, Chronology) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance from datetime field values using the specified chronology.
- BaseDateTime(int, int, int, int, int, int, int, DateTimeZone) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - BaseDateTime(long) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the default time zone. - BaseDateTime(long, Chronology) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
- BaseDateTime(long, DateTimeZone) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the specified time zone. - BaseDateTime(Object, Chronology) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- BaseDateTime(Object, DateTimeZone) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- BaseDateTime(Chronology) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the current system millisecond time using the specified chronology.
- BaseDateTime(DateTimeZone) - Constructor for class org.joda.time.base.BaseDateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the specified time zone. - BaseDateTimeField - Class in org.joda.time.field
-
BaseDateTimeField provides the common behaviour for DateTimeField implementations.
- BaseDateTimeField(DateTimeFieldType) - Constructor for class org.joda.time.field.BaseDateTimeField
-
Constructor.
- BaseDuration - Class in org.joda.time.base
-
BaseDuration is an abstract implementation of ReadableDuration that stores data in a
long
duration milliseconds field. - BaseDuration(long) - Constructor for class org.joda.time.base.BaseDuration
-
Creates a duration from the given millisecond duration.
- BaseDuration(long, long) - Constructor for class org.joda.time.base.BaseDuration
-
Creates a duration from the given interval endpoints.
- BaseDuration(Object) - Constructor for class org.joda.time.base.BaseDuration
-
Creates a duration from the specified object using the
ConverterManager
. - BaseDuration(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.base.BaseDuration
-
Creates a duration from the given interval endpoints.
- BaseDurationField - Class in org.joda.time.field
-
BaseDurationField provides the common behaviour for DurationField implementations.
- BaseDurationField(DurationFieldType) - Constructor for class org.joda.time.field.BaseDurationField
- BaseInterval - Class in org.joda.time.base
-
BaseInterval is an abstract implementation of ReadableInterval that stores data in two
long
millisecond fields. - BaseInterval(long, long, Chronology) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a start and end instant.
- BaseInterval(Object, Chronology) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs a time interval converting or copying from another object that describes an interval.
- BaseInterval(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a millisecond duration and an end instant.
- BaseInterval(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a start instant and a duration.
- BaseInterval(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a start and end instant.
- BaseInterval(ReadableInstant, ReadablePeriod) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a start instant and a time period.
- BaseInterval(ReadablePeriod, ReadableInstant) - Constructor for class org.joda.time.base.BaseInterval
-
Constructs an interval from a time period and an end instant.
- BaseLocal - Class in org.joda.time.base
-
BaseLocal is an abstract implementation of ReadablePartial that use a local milliseconds internal representation.
- BaseLocal() - Constructor for class org.joda.time.base.BaseLocal
-
Constructs a partial with the current time, using ISOChronology in the default zone to extract the fields.
- BasePartial - Class in org.joda.time.base
-
BasePartial is an abstract implementation of ReadablePartial that stores data in array and
Chronology
fields. - BasePartial() - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial with the current time, using ISOChronology in the default zone to extract the fields.
- BasePartial(int[], Chronology) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial with specified time field values and chronology.
- BasePartial(long) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
- BasePartial(long, Chronology) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial extracting the partial fields from the specified milliseconds using the chronology provided.
- BasePartial(Object, Chronology) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial from an Object that represents a time, using the specified chronology.
- BasePartial(Object, Chronology, DateTimeFormatter) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial from an Object that represents a time, using the specified chronology.
- BasePartial(BasePartial, int[]) - Constructor for class org.joda.time.base.BasePartial
-
Private constructor to be used by subclasses only which performs no validation.
- BasePartial(BasePartial, Chronology) - Constructor for class org.joda.time.base.BasePartial
-
Private constructor to be used by subclasses only which performs no validation.
- BasePartial(Chronology) - Constructor for class org.joda.time.base.BasePartial
-
Constructs a partial with the current time, using the specified chronology and zone to extract the fields.
- BasePeriod - Class in org.joda.time.base
-
BasePeriod is an abstract implementation of ReadablePeriod that stores data in a
PeriodType
and anint[]
. - BasePeriod(int[], PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Constructor used when we trust ourselves.
- BasePeriod(int, int, int, int, int, int, int, int, PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from a set of field values.
- BasePeriod(long) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given millisecond duration with the standard period type and ISO rules, ensuring that the calculation is performed with the time-only period type.
- BasePeriod(long, long, PeriodType, Chronology) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given interval endpoints.
- BasePeriod(long, PeriodType, Chronology) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given millisecond duration, which is only really suitable for durations less than one day.
- BasePeriod(Object, PeriodType, Chronology) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a new period based on another using the
ConverterManager
. - BasePeriod(ReadableDuration, ReadableInstant, PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given duration and end point.
- BasePeriod(ReadableInstant, ReadableDuration, PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given start point and duration.
- BasePeriod(ReadableInstant, ReadableInstant, PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given interval endpoints.
- BasePeriod(ReadablePartial, ReadablePartial, PeriodType) - Constructor for class org.joda.time.base.BasePeriod
-
Creates a period from the given duration and end point.
- BaseSingleFieldPeriod - Class in org.joda.time.base
-
BaseSingleFieldPeriod is an abstract implementation of ReadablePeriod that manages a single duration field, such as days or minutes.
- BaseSingleFieldPeriod(int) - Constructor for class org.joda.time.base.BaseSingleFieldPeriod
-
Creates a new instance representing the specified period.
- basicDate() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a full date as four digit year, two digit month of year, and two digit day of month (yyyyMMdd).
- basicDateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter that combines a basic date and time, separated by a 'T' (yyyyMMdd'T'HHmmss.SSSZ).
- basicDateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter that combines a basic date and time without millis, separated by a 'T' (yyyyMMdd'T'HHmmssZ).
- basicOrdinalDate() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date, using a four digit year and three digit dayOfYear (yyyyDDD).
- basicOrdinalDateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear (yyyyDDD'T'HHmmss.SSSZ).
- basicOrdinalDateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear (yyyyDDD'T'HHmmssZ).
- basicTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone offset (HHmmss.SSSZ).
- basicTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset (HHmmssZ).
- basicTTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit millis, and time zone offset prefixed by 'T' ('T'HHmmss.SSSZ).
- basicTTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by 'T' ('T'HHmmssZ).
- basicWeekDate() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week (xxxx'W'wwe).
- basicWeekDateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter that combines a basic weekyear date and time, separated by a 'T' (xxxx'W'wwe'T'HHmmss.SSSZ).
- basicWeekDateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a basic formatter that combines a basic weekyear date and time without millis, separated by a 'T' (xxxx'W'wwe'T'HHmmssZ).
- BC - Static variable in class org.joda.time.DateTimeConstants
-
Constant (0) representing BC, years before zero (from Calendar)
- BCE - Static variable in class org.joda.time.DateTimeConstants
-
Alternative constant (0) representing BCE, Before Common Era (secular)
- BE - Static variable in class org.joda.time.chrono.BuddhistChronology
-
Constant value for 'Buddhist Era', equivalent to the value returned for AD/CE.
- between(ReadableInstant, ReadableInstant, DurationFieldType) - Static method in class org.joda.time.base.BaseSingleFieldPeriod
-
Calculates the number of whole units between the two specified datetimes.
- between(ReadablePartial, ReadablePartial, ReadablePeriod) - Static method in class org.joda.time.base.BaseSingleFieldPeriod
-
Calculates the number of whole units between the two specified partial datetimes.
- BuddhistChronology - Class in org.joda.time.chrono
-
A chronology that matches the BuddhistCalendar class supplied by Sun.
C
- CachedDateTimeZone - Class in org.joda.time.tz
-
Improves the performance of requesting time zone offsets and name keys by caching the results.
- calculateDigitCount(long) - Static method in class org.joda.time.format.FormatUtils
-
Calculates the number of decimal digits for the given value, including the sign.
- calculatePrintedLength(ReadablePeriod, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Returns the exact number of characters produced for the given period.
- canBuildFormatter() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Returns true if toFormatter can be called without throwing an UnsupportedOperationException.
- canBuildParser() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Returns true if toParser can be called without throwing an UnsupportedOperationException.
- canBuildPrinter() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Returns true if toPrinter can be called without throwing an UnsupportedOperationException.
- CE - Static variable in class org.joda.time.DateTimeConstants
-
Alternative constant (1) representing CE, Common Era (secular).
- centuries - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- centuries() - Method in class org.joda.time.chrono.AssembledChronology
- centuries() - Method in class org.joda.time.chrono.BaseChronology
-
Get the centuries duration field for this chronology.
- centuries() - Method in class org.joda.time.Chronology
-
Get the centuries duration field for this chronology.
- centuries() - Static method in class org.joda.time.DurationFieldType
-
Get the centuries field type.
- centuryOfEra - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- centuryOfEra() - Method in class org.joda.time.chrono.AssembledChronology
- centuryOfEra() - Method in class org.joda.time.chrono.BaseChronology
-
Get the century of era field for this chronology.
- centuryOfEra() - Method in class org.joda.time.Chronology
-
Get the century of era field for this chronology.
- centuryOfEra() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the century of era property which provides access to advanced functionality.
- centuryOfEra() - Method in class org.joda.time.DateTime
-
Get the century of era property which provides access to advanced functionality.
- centuryOfEra() - Static method in class org.joda.time.DateTimeFieldType
-
Get the century of era field type.
- centuryOfEra() - Method in class org.joda.time.LocalDate
-
Get the century of era property which provides access to advanced functionality.
- centuryOfEra() - Method in class org.joda.time.LocalDateTime
-
Get the century of era property which provides access to advanced functionality.
- centuryOfEra() - Method in class org.joda.time.MutableDateTime
-
Get the century of era property.
- checkChronology(Chronology) - Method in class org.joda.time.base.BaseDateTime
-
Checks the specified chronology before storing it, potentially altering it.
- checkInstant(long, Chronology) - Method in class org.joda.time.base.BaseDateTime
-
Checks the specified instant before storing it, potentially altering it.
- checkInstant(long, Chronology) - Method in class org.joda.time.DateMidnight
-
Deprecated.Rounds the specified instant to midnight.
- checkInterval(long, long) - Method in class org.joda.time.base.AbstractInterval
-
Validates an interval.
- checkPeriodType(PeriodType) - Method in class org.joda.time.base.BasePeriod
-
Validates a period type, converting nulls to a default value and checking the type is suitable for this instance.
- Chronology - Class in org.joda.time
-
Chronology provides access to the individual date time fields for a chronological calendar system.
- Chronology() - Constructor for class org.joda.time.Chronology
- clear() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Clears out all the appended elements, allowing this builder to be reused.
- clear() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Clears out all the appended elements, allowing this builder to be reused.
- clear() - Method in class org.joda.time.MutablePeriod
-
Clears the period, setting all values back to zero.
- clear() - Method in interface org.joda.time.ReadWritablePeriod
-
Clears the period, setting all values back to zero.
- clockhourOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- clockhourOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- clockhourOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the hour of day (offset to 1-24) field for this chronology.
- clockhourOfDay() - Method in class org.joda.time.Chronology
-
Get the hour of day (offset to 1-24) field for this chronology.
- clockhourOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the hour of day (offset to 1-24) field type.
- clockhourOfHalfday - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- clockhourOfHalfday() - Method in class org.joda.time.chrono.AssembledChronology
- clockhourOfHalfday() - Method in class org.joda.time.chrono.BaseChronology
-
Get the hour of am/pm (offset to 1-12) field for this chronology.
- clockhourOfHalfday() - Method in class org.joda.time.Chronology
-
Get the hour of am/pm (offset to 1-12) field for this chronology.
- clockhourOfHalfday() - Static method in class org.joda.time.DateTimeFieldType
-
Get the hour of am/pm (offset to 1-12) field type.
- clone() - Method in class org.joda.time.MutableDateTime
-
Clone this object.
- clone() - Method in class org.joda.time.MutableInterval
-
Clone this object.
- clone() - Method in class org.joda.time.MutablePeriod
-
Clone this object.
- compare(Object, Object) - Method in class org.joda.time.DateTimeComparator
-
Compare two objects against only the range of date time fields as specified in the constructor.
- compareTo(BaseSingleFieldPeriod) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Compares this period to another object of the same class.
- compareTo(DurationField) - Method in class org.joda.time.field.BaseDurationField
- compareTo(DurationField) - Method in class org.joda.time.field.DelegatedDurationField
- compareTo(DurationField) - Method in class org.joda.time.field.MillisDurationField
- compareTo(DurationField) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always returns zero, indicating that sort order is not relevant.
- compareTo(ReadableDuration) - Method in class org.joda.time.base.AbstractDuration
-
Compares this duration with the specified duration based on length and direction.
- compareTo(ReadableInstant) - Method in class org.joda.time.base.AbstractInstant
-
Compares this object with the specified object for ascending millisecond instant order.
- compareTo(ReadableInstant) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Compare this field to the same field on another instant.
- compareTo(ReadableInstant) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Compare this field to the same field on another instant.
- compareTo(ReadablePartial) - Method in class org.joda.time.base.AbstractPartial
-
Compares this partial with another returning an integer indicating the order.
- compareTo(ReadablePartial) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Compare this field to the same field on another partial instant.
- compareTo(ReadablePartial) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Compare this field to the same field on another partial instant.
- compareTo(ReadablePartial) - Method in class org.joda.time.LocalDate
-
Compares this partial with another returning an integer indicating the order.
- compareTo(ReadablePartial) - Method in class org.joda.time.LocalDateTime
-
Compares this partial with another returning an integer indicating the order.
- compareTo(ReadablePartial) - Method in class org.joda.time.LocalTime
-
Compares this partial with another returning an integer indicating the order.
- compile(File, File[]) - Method in class org.joda.time.tz.ZoneInfoCompiler
-
Returns a map of ids to DateTimeZones.
- computeMillis() - Method in class org.joda.time.format.DateTimeParserBucket
-
Computes the parsed datetime by setting the saved fields.
- computeMillis(boolean) - Method in class org.joda.time.format.DateTimeParserBucket
-
Computes the parsed datetime by setting the saved fields.
- computeMillis(boolean, CharSequence) - Method in class org.joda.time.format.DateTimeParserBucket
-
Computes the parsed datetime by setting the saved fields.
- computeMillis(boolean, String) - Method in class org.joda.time.format.DateTimeParserBucket
-
Computes the parsed datetime by setting the saved fields.
- contains(long) - Method in class org.joda.time.base.AbstractInterval
-
Does this time interval contain the specified millisecond instant.
- contains(ReadableInstant) - Method in class org.joda.time.base.AbstractInterval
-
Does this time interval contain the specified instant.
- contains(ReadableInstant) - Method in interface org.joda.time.ReadableInterval
-
Does this time interval contain the specified instant.
- contains(ReadableInterval) - Method in class org.joda.time.base.AbstractInterval
-
Does this time interval contain the specified time interval.
- contains(ReadableInterval) - Method in interface org.joda.time.ReadableInterval
-
Does this time interval contain the specified time interval.
- containsNow() - Method in class org.joda.time.base.AbstractInterval
-
Does this time interval contain the current instant.
- Converter - Interface in org.joda.time.convert
-
Basic converter interface for specifying what object type can be converted.
- ConverterManager - Class in org.joda.time.convert
-
ConverterManager controls the date and time converters.
- ConverterManager() - Constructor for class org.joda.time.convert.ConverterManager
-
Restricted constructor.
- convertLocalToUTC(long, boolean) - Method in class org.joda.time.DateTimeZone
-
Converts a local instant to a standard UTC instant with the same local time.
- convertLocalToUTC(long, boolean, long) - Method in class org.joda.time.DateTimeZone
-
Converts a local instant to a standard UTC instant with the same local time attempting to use the same offset as the original.
- convertText(String, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Convert the specified text and locale into a value.
- convertUTCToLocal(long) - Method in class org.joda.time.DateTimeZone
-
Converts a standard UTC instant to a local instant with the same local time.
- CopticChronology - Class in org.joda.time.chrono
-
Implements the Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar.
- copy() - Method in class org.joda.time.MutableDateTime
-
Clone this object without having to cast the returned object.
- copy() - Method in class org.joda.time.MutableInterval
-
Clone this object without having to cast the returned object.
- copy() - Method in class org.joda.time.MutablePeriod
-
Clone this object without having to cast the returned object.
- copyFieldsFrom(Chronology) - Method in class org.joda.time.chrono.AssembledChronology.Fields
-
Copy the supported fields from a chronology into this container.
- countFieldsToPrint(ReadablePeriod, int, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Returns the amount of fields from the given period that this printer will print.
- currentTimeMillis() - Static method in class org.joda.time.DateTimeUtils
-
Gets the current time in milliseconds.
D
- date() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full date as four digit year, two digit month of year, and two digit day of month (yyyy-MM-dd).
- dateElementParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO date parser for parsing dates.
- dateHour() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date and two digit hour of day.
- dateHourMinute() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date, two digit hour of day, and two digit minute of hour.
- dateHourMinuteSecond() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, and two digit second of minute.
- dateHourMinuteSecondFraction() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (yyyy-MM-dd'T'HH:mm:ss.SSS).
- dateHourMinuteSecondMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date, two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (yyyy-MM-dd'T'HH:mm:ss.SSS).
- DateMidnight - Class in org.joda.time
-
Deprecated.
- DateMidnight() - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the current system millisecond time using
ISOChronology
in the default time zone. - DateMidnight(int, int, int) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - DateMidnight(int, int, int, Chronology) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from datetime field values using the specified chronology.
- DateMidnight(int, int, int, DateTimeZone) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - DateMidnight(long) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the default time zone. - DateMidnight(long, Chronology) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
- DateMidnight(long, DateTimeZone) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the specified time zone. - DateMidnight(Object) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from an Object that represents a datetime.
- DateMidnight(Object, Chronology) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from an Object that represents a datetime, using the specified chronology.
- DateMidnight(Object, DateTimeZone) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- DateMidnight(Chronology) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the current system millisecond time using the specified chronology.
- DateMidnight(DateTimeZone) - Constructor for class org.joda.time.DateMidnight
-
Deprecated.Constructs an instance set to the current system millisecond time using
ISOChronology
in the specified time zone. - DateMidnight.Property - Class in org.joda.time
-
Deprecated.DateMidnight.Property binds a DateMidnight to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- dateOptionalTimeParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO datetime parser where the date is mandatory and the time is optional.
- dateParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO date parser for parsing dates with a possible zone.
- dateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date and time, separated by a 'T' (yyyy-MM-dd'T'HH:mm:ss.SSSZZ).
- DateTime - Class in org.joda.time
-
DateTime is the standard implementation of an unmodifiable datetime class.
- DateTime() - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the default time zone. - DateTime(int, int, int, int, int) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - DateTime(int, int, int, int, int, int) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - DateTime(int, int, int, int, int, int, int) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - DateTime(int, int, int, int, int, int, int, Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using the specified chronology.
- DateTime(int, int, int, int, int, int, int, DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - DateTime(int, int, int, int, int, int, Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using the specified chronology.
- DateTime(int, int, int, int, int, int, DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - DateTime(int, int, int, int, int, Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using the specified chronology.
- DateTime(int, int, int, int, int, DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - DateTime(long) - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the default time zone. - DateTime(long, Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
- DateTime(long, DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the specified time zone. - DateTime(Object) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from an Object that represents a datetime.
- DateTime(Object, Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- DateTime(Object, DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- DateTime(Chronology) - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the current system millisecond time using the specified chronology.
- DateTime(DateTimeZone) - Constructor for class org.joda.time.DateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the specified time zone. - DateTime.Property - Class in org.joda.time
-
DateTime.Property binds a DateTime to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- DateTimeComparator - Class in org.joda.time
-
DateTimeComparator provides comparators to compare one date with another.
- DateTimeComparator(DateTimeFieldType, DateTimeFieldType) - Constructor for class org.joda.time.DateTimeComparator
-
Restricted constructor.
- DateTimeConstants - Class in org.joda.time
-
DateTimeConstants is a non-instantiable class of constants used in the date time system.
- DateTimeConstants() - Constructor for class org.joda.time.DateTimeConstants
-
Restrictive constructor
- DateTimeField - Class in org.joda.time
-
Defines the calculation engine for date and time fields.
- DateTimeField() - Constructor for class org.joda.time.DateTimeField
- DateTimeFieldType - Class in org.joda.time
-
Identifies a field, such as year or minuteOfHour, in a chronology-neutral way.
- DateTimeFieldType(String) - Constructor for class org.joda.time.DateTimeFieldType
-
Constructor.
- DateTimeFormat - Class in org.joda.time.format
-
Factory that creates instances of DateTimeFormatter from patterns and styles.
- DateTimeFormat() - Constructor for class org.joda.time.format.DateTimeFormat
-
Constructor.
- DateTimeFormatter - Class in org.joda.time.format
-
Controls the printing and parsing of a datetime to and from a string.
- DateTimeFormatter(DateTimePrinter, DateTimeParser) - Constructor for class org.joda.time.format.DateTimeFormatter
-
Creates a new formatter, however you will normally use the factory or the builder.
- DateTimeFormatterBuilder - Class in org.joda.time.format
-
Factory that creates complex instances of DateTimeFormatter via method calls.
- DateTimeFormatterBuilder() - Constructor for class org.joda.time.format.DateTimeFormatterBuilder
-
Creates a DateTimeFormatterBuilder.
- dateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full date and time without millis, separated by a 'T' (yyyy-MM-dd'T'HH:mm:ssZZ).
- dateTimeParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO datetime parser which parses either a date or a time or both.
- DateTimeParser - Interface in org.joda.time.format
-
Internal interface for parsing textual representations of datetimes.
- DateTimeParserBucket - Class in org.joda.time.format
-
DateTimeParserBucket is an advanced class, intended mainly for parser implementations.
- DateTimeParserBucket(long, Chronology, Locale) - Constructor for class org.joda.time.format.DateTimeParserBucket
-
Deprecated.Use longer constructor
- DateTimeParserBucket(long, Chronology, Locale, Integer) - Constructor for class org.joda.time.format.DateTimeParserBucket
-
Deprecated.Use longer constructor
- DateTimeParserBucket(long, Chronology, Locale, Integer, int) - Constructor for class org.joda.time.format.DateTimeParserBucket
-
Constructs a bucket, with the option of specifying the pivot year for two-digit year parsing.
- DateTimePrinter - Interface in org.joda.time.format
-
Internal interface for creating textual representations of datetimes.
- DateTimeUtils - Class in org.joda.time
-
DateTimeUtils provide public utility methods for the date-time library.
- DateTimeUtils() - Constructor for class org.joda.time.DateTimeUtils
-
Restrictive constructor
- DateTimeUtils.MillisProvider - Interface in org.joda.time
-
A millisecond provider, allowing control of the system clock.
- DateTimeZone - Class in org.joda.time
-
DateTimeZone represents a time zone.
- DateTimeZone(String) - Constructor for class org.joda.time.DateTimeZone
-
Constructor.
- DateTimeZoneBuilder - Class in org.joda.time.tz
-
DateTimeZoneBuilder allows complex DateTimeZones to be constructed.
- DateTimeZoneBuilder() - Constructor for class org.joda.time.tz.DateTimeZoneBuilder
- DAY_OF_MONTH - Static variable in class org.joda.time.MonthDay
-
The index of the day field in the field array
- DAY_OF_MONTH - Static variable in class org.joda.time.YearMonthDay
-
Deprecated.The index of the dayOfMonth field in the field array
- dayOfMonth - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- dayOfMonth() - Method in class org.joda.time.chrono.AssembledChronology
- dayOfMonth() - Method in class org.joda.time.chrono.BaseChronology
-
Get the day of month field for this chronology.
- dayOfMonth() - Method in class org.joda.time.Chronology
-
Get the day of month field for this chronology.
- dayOfMonth() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the day of month property which provides access to advanced functionality.
- dayOfMonth() - Method in class org.joda.time.DateTime
-
Get the day of month property which provides access to advanced functionality.
- dayOfMonth() - Static method in class org.joda.time.DateTimeFieldType
-
Get the day of month field type.
- dayOfMonth() - Method in class org.joda.time.LocalDate
-
Get the day of month property which provides access to advanced functionality.
- dayOfMonth() - Method in class org.joda.time.LocalDateTime
-
Get the day of month property which provides access to advanced functionality.
- dayOfMonth() - Method in class org.joda.time.MonthDay
-
Get the day of month field property which provides access to advanced functionality.
- dayOfMonth() - Method in class org.joda.time.MutableDateTime
-
Get the day of month property.
- dayOfMonth() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the day of month field property which provides access to advanced functionality.
- dayOfWeek - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- dayOfWeek() - Method in class org.joda.time.chrono.AssembledChronology
- dayOfWeek() - Method in class org.joda.time.chrono.BaseChronology
-
Get the day of week field for this chronology.
- dayOfWeek() - Method in class org.joda.time.Chronology
-
Get the day of week field for this chronology.
- dayOfWeek() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the day of week property which provides access to advanced functionality.
- dayOfWeek() - Method in class org.joda.time.DateTime
-
Get the day of week property which provides access to advanced functionality.
- dayOfWeek() - Static method in class org.joda.time.DateTimeFieldType
-
Get the day of week field type.
- dayOfWeek() - Method in class org.joda.time.LocalDate
-
Get the day of week property which provides access to advanced functionality.
- dayOfWeek() - Method in class org.joda.time.LocalDateTime
-
Get the day of week property which provides access to advanced functionality.
- dayOfWeek() - Method in class org.joda.time.MutableDateTime
-
Get the day of week property.
- dayOfYear - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- dayOfYear() - Method in class org.joda.time.chrono.AssembledChronology
- dayOfYear() - Method in class org.joda.time.chrono.BaseChronology
-
Get the day of year field for this chronology.
- dayOfYear() - Method in class org.joda.time.Chronology
-
Get the day of year field for this chronology.
- dayOfYear() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the day of year property which provides access to advanced functionality.
- dayOfYear() - Method in class org.joda.time.DateTime
-
Get the day of year property which provides access to advanced functionality.
- dayOfYear() - Static method in class org.joda.time.DateTimeFieldType
-
Get the day of year field type.
- dayOfYear() - Method in class org.joda.time.LocalDate
-
Get the day of year property which provides access to advanced functionality.
- dayOfYear() - Method in class org.joda.time.LocalDateTime
-
Get the day of year property which provides access to advanced functionality.
- dayOfYear() - Method in class org.joda.time.MutableDateTime
-
Get the day of year property.
- days - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- days() - Method in class org.joda.time.chrono.AssembledChronology
- days() - Method in class org.joda.time.chrono.BaseChronology
-
Get the days duration field for this chronology.
- days() - Method in class org.joda.time.Chronology
-
Get the days duration field for this chronology.
- days() - Static method in class org.joda.time.DurationFieldType
-
Get the days field type.
- days() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the days field.
- days(int) - Static method in class org.joda.time.Days
-
Obtains an instance of
Days
that may be cached. - days(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of days.
- Days - Class in org.joda.time
-
An immutable time period representing a number of days.
- DAYS_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Days in one week (7) (ISO)
- daysBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Days
-
Creates a
Days
representing the number of whole days between the two specified datetimes. - daysBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Days
-
Creates a
Days
representing the number of whole days between the two specified partial datetimes. - daysIn(ReadableInterval) - Static method in class org.joda.time.Days
-
Creates a
Days
representing the number of whole days in the specified interval. - dayTime() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields from days downwards.
- DECEMBER - Static variable in class org.joda.time.DateTimeConstants
-
Constant (12) representing December, the twelfth month (ISO)
- DecoratedDateTimeField - Class in org.joda.time.field
-
DecoratedDateTimeField
extendsBaseDateTimeField
, implementing only the minimum required set of methods. - DecoratedDateTimeField(DateTimeField, DateTimeFieldType) - Constructor for class org.joda.time.field.DecoratedDateTimeField
-
Constructor.
- DecoratedDurationField - Class in org.joda.time.field
-
DecoratedDurationField
extendsBaseDurationField
, implementing only the minimum required set of methods. - DecoratedDurationField(DurationField, DurationFieldType) - Constructor for class org.joda.time.field.DecoratedDurationField
-
Constructor.
- DEFAULT_TZ_DATA_PATH - Static variable in class org.joda.time.DateTimeZone
-
The default TZ data path This is the default classpath location containing the compiled data files.
- DefaultNameProvider - Class in org.joda.time.tz
-
The default name provider acquires localized names from
java.text.DateFormatSymbols
. - DefaultNameProvider() - Constructor for class org.joda.time.tz.DefaultNameProvider
- DelegatedDateTimeField - Class in org.joda.time.field
-
DelegatedDateTimeField
delegates each method call to the date time field it wraps. - DelegatedDateTimeField(DateTimeField) - Constructor for class org.joda.time.field.DelegatedDateTimeField
-
Constructor.
- DelegatedDateTimeField(DateTimeField, DateTimeFieldType) - Constructor for class org.joda.time.field.DelegatedDateTimeField
-
Constructor.
- DelegatedDateTimeField(DateTimeField, DurationField, DateTimeFieldType) - Constructor for class org.joda.time.field.DelegatedDateTimeField
-
Constructor.
- DelegatedDurationField - Class in org.joda.time.field
-
DelegatedDurationField
delegates each method call to the duration field it wraps. - DelegatedDurationField(DurationField) - Constructor for class org.joda.time.field.DelegatedDurationField
-
Constructor.
- DelegatedDurationField(DurationField, DurationFieldType) - Constructor for class org.joda.time.field.DelegatedDurationField
-
Constructor.
- dividedBy(int) - Method in class org.joda.time.Days
-
Returns a new instance with the days divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Hours
-
Returns a new instance with the hours divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Minutes
-
Returns a new instance with the minutes divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Months
-
Returns a new instance with the months divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Seconds
-
Returns a new instance with the seconds divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Weeks
-
Returns a new instance with the weeks divided by the specified divisor.
- dividedBy(int) - Method in class org.joda.time.Years
-
Returns a new instance with the years divided by the specified divisor.
- dividedBy(long) - Method in class org.joda.time.Duration
-
Returns a new duration with this length divided by the specified divisor.
- dividedBy(long, RoundingMode) - Method in class org.joda.time.Duration
-
Returns a new duration with its length divided by the specified divisor.
- DividedDateTimeField - Class in org.joda.time.field
-
Divides a DateTimeField such that the retrieved values are reduced by a fixed divisor.
- DividedDateTimeField(DateTimeField, DateTimeFieldType, int) - Constructor for class org.joda.time.field.DividedDateTimeField
-
Constructor.
- DividedDateTimeField(DateTimeField, DurationField, DateTimeFieldType, int) - Constructor for class org.joda.time.field.DividedDateTimeField
-
Constructor.
- DividedDateTimeField(RemainderDateTimeField, DateTimeFieldType) - Constructor for class org.joda.time.field.DividedDateTimeField
-
Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.
- DividedDateTimeField(RemainderDateTimeField, DurationField, DateTimeFieldType) - Constructor for class org.joda.time.field.DividedDateTimeField
-
Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.
- Duration - Class in org.joda.time
-
An immutable duration specifying a length of time in milliseconds.
- Duration(long) - Constructor for class org.joda.time.Duration
-
Creates a duration from the given millisecond duration.
- Duration(long, long) - Constructor for class org.joda.time.Duration
-
Creates a duration from the given interval endpoints.
- Duration(Object) - Constructor for class org.joda.time.Duration
-
Creates a duration from the specified object using the
ConverterManager
. - Duration(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.Duration
-
Creates a duration from the given interval endpoints.
- DurationConverter - Interface in org.joda.time.convert
-
DurationConverter defines how an object is converted to a millisecond duration.
- DurationField - Class in org.joda.time
-
Defines the calculation engine for duration fields.
- DurationField() - Constructor for class org.joda.time.DurationField
- DurationFieldType - Class in org.joda.time
-
Identifies a duration field, such as years or minutes, in a chronology-neutral way.
- DurationFieldType(String) - Constructor for class org.joda.time.DurationFieldType
-
Constructor.
E
- EE - Static variable in class org.joda.time.chrono.EthiopicChronology
-
Constant value for 'Ethiopean Era', equivalent to the value returned for AD/CE.
- EIGHT - Static variable in class org.joda.time.Hours
-
Constant representing eight hours.
- EIGHT - Static variable in class org.joda.time.Months
-
Constant representing eight months.
- ELEVEN - Static variable in class org.joda.time.Months
-
Constant representing eleven months.
- EPOCH - Static variable in class org.joda.time.Instant
-
The Java epoch of 1970-01-01T00:00:00Z.
- equals(Object) - Method in class org.joda.time.base.AbstractDuration
-
Compares this object with the specified object for equality based on the millisecond length.
- equals(Object) - Method in class org.joda.time.base.AbstractInstant
-
Compares this object with the specified object for equality based on the millisecond instant, chronology and time zone.
- equals(Object) - Method in class org.joda.time.base.AbstractInterval
-
Compares this object with the specified object for equality based on start and end millis plus the chronology.
- equals(Object) - Method in class org.joda.time.base.AbstractPartial
-
Compares this ReadablePartial with another returning true if the chronology, field types and values are equal.
- equals(Object) - Method in class org.joda.time.base.AbstractPeriod
-
Compares this object with the specified object for equality based on the value of each field.
- equals(Object) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Compares this object with the specified object for equality based on the value of each field.
- equals(Object) - Method in class org.joda.time.chrono.CopticChronology
-
Checks if this chronology instance equals another.
- equals(Object) - Method in class org.joda.time.chrono.BuddhistChronology
-
Checks if this chronology instance equals another.
- equals(Object) - Method in class org.joda.time.chrono.GJChronology
-
Checks if this chronology instance equals another.
- equals(Object) - Method in class org.joda.time.chrono.IslamicChronology
-
Checks if this chronology instance equals another.
- equals(Object) - Method in class org.joda.time.chrono.IslamicChronology.LeapYearPatternType
- equals(Object) - Method in class org.joda.time.chrono.ISOChronology
-
Checks if this chronology instance equals another.
- equals(Object) - Method in class org.joda.time.chrono.LenientChronology
-
A lenient chronology is only equal to a lenient chronology with the same base chronology.
- equals(Object) - Method in class org.joda.time.chrono.LimitChronology
-
A limit chronology is only equal to a limit chronology with the same base chronology and limits.
- equals(Object) - Method in class org.joda.time.chrono.StrictChronology
-
A strict chronology is only equal to a strict chronology with the same base chronology.
- equals(Object) - Method in class org.joda.time.chrono.ZonedChronology
-
A zoned chronology is only equal to a zoned chronology with the same base chronology and zone.
- equals(Object) - Method in class org.joda.time.DateTimeComparator
-
Compares this comparator to another.
- equals(Object) - Method in class org.joda.time.DateTimeZone
-
Compare this datetime zone with another.
- equals(Object) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Compares this property to another.
- equals(Object) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Compares this property to another.
- equals(Object) - Method in class org.joda.time.field.DelegatedDurationField
- equals(Object) - Method in class org.joda.time.field.MillisDurationField
- equals(Object) - Method in class org.joda.time.field.PreciseDurationField
-
Compares this duration field to another.
- equals(Object) - Method in class org.joda.time.field.ScaledDurationField
-
Compares this duration field to another.
- equals(Object) - Method in class org.joda.time.field.UnsupportedDurationField
-
Compares this duration field to another.
- equals(Object) - Method in class org.joda.time.LocalDate
-
Compares this ReadablePartial with another returning true if the chronology, field types and values are equal.
- equals(Object) - Method in class org.joda.time.LocalDateTime
-
Compares this ReadablePartial with another returning true if the chronology, field types and values are equal.
- equals(Object) - Method in class org.joda.time.LocalTime
-
Compares this ReadablePartial with another returning true if the chronology, field types and values are equal.
- equals(Object) - Method in class org.joda.time.PeriodType
-
Compares this type to another object.
- equals(Object) - Method in interface org.joda.time.ReadableDuration
-
Compares this object with the specified object for equality based on the millisecond length.
- equals(Object) - Method in interface org.joda.time.ReadableInstant
-
Compares this object with the specified object for equality based on the millisecond instant and the Chronology.
- equals(Object) - Method in interface org.joda.time.ReadableInterval
-
Compares this object with the specified object for equality based on start and end millis plus the chronology.
- equals(Object) - Method in interface org.joda.time.ReadablePartial
-
Compares this partial with the specified object for equality based on the supported fields, chronology and values.
- equals(Object) - Method in interface org.joda.time.ReadablePeriod
-
Compares this object with the specified object for equality based on the value and type of each supported field.
- equals(Object) - Method in class org.joda.time.tz.CachedDateTimeZone
- equals(Object) - Method in class org.joda.time.tz.FixedDateTimeZone
- equals(Object, Object) - Static method in class org.joda.time.field.FieldUtils
-
Compares two objects as equals handling null.
- era - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- era() - Method in class org.joda.time.chrono.AssembledChronology
- era() - Method in class org.joda.time.chrono.BaseChronology
-
Get the era field for this chronology.
- era() - Method in class org.joda.time.Chronology
-
Get the era field for this chronology.
- era() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the era property which provides access to advanced functionality.
- era() - Method in class org.joda.time.DateTime
-
Get the era property which provides access to advanced functionality.
- era() - Static method in class org.joda.time.DateTimeFieldType
-
Get the era field type.
- era() - Method in class org.joda.time.LocalDate
-
Get the era property which provides access to advanced functionality.
- era() - Method in class org.joda.time.LocalDateTime
-
Get the era property which provides access to advanced functionality.
- era() - Method in class org.joda.time.MutableDateTime
-
Get the era property.
- eras - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- eras() - Method in class org.joda.time.chrono.AssembledChronology
- eras() - Method in class org.joda.time.chrono.BaseChronology
-
Get the eras duration field for this chronology.
- eras() - Method in class org.joda.time.Chronology
-
Get the eras duration field for this chronology.
- eras() - Static method in class org.joda.time.DurationFieldType
-
Get the eras field type.
- estimateParsedLength() - Method in interface org.joda.time.format.DateTimeParser
-
Returns the expected maximum number of characters consumed.
- estimatePrintedLength() - Method in interface org.joda.time.format.DateTimePrinter
-
Returns the expected maximum number of characters produced.
- EthiopicChronology - Class in org.joda.time.chrono
-
Implements the Ethiopic calendar system, which defines every fourth year as leap, much like the Julian calendar.
F
- FEBRUARY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (2) representing February, the second month (ISO)
- fieldDifference(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Period
-
Creates a period from two partially specified times, calculating by field difference.
- FieldUtils - Class in org.joda.time.field
-
General utilities that don't fit elsewhere.
- FIVE - Static variable in class org.joda.time.Days
-
Constant representing five days.
- FIVE - Static variable in class org.joda.time.Hours
-
Constant representing five hours.
- FIVE - Static variable in class org.joda.time.Months
-
Constant representing five months.
- FixedDateTimeZone - Class in org.joda.time.tz
-
Basic DateTimeZone implementation that has a fixed name key and offsets.
- FixedDateTimeZone(String, String, int, int) - Constructor for class org.joda.time.tz.FixedDateTimeZone
- forFields(Collection<DateTimeFieldType>, boolean, boolean) - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that outputs only those fields specified.
- forFields(DurationFieldType[]) - Static method in class org.joda.time.PeriodType
-
Gets a period type that contains the duration types of the array.
- forID(String) - Static method in class org.joda.time.DateTimeZone
-
Gets a time zone instance for the specified time zone id.
- FormatUtils - Class in org.joda.time.format
-
Utility methods used by formatters.
- forOffsetHours(int) - Static method in class org.joda.time.DateTimeZone
-
Gets a time zone instance for the specified offset to UTC in hours.
- forOffsetHoursMinutes(int, int) - Static method in class org.joda.time.DateTimeZone
-
Gets a time zone instance for the specified offset to UTC in hours and minutes.
- forOffsetMillis(int) - Static method in class org.joda.time.DateTimeZone
-
Gets a time zone instance for the specified offset to UTC in milliseconds.
- forPattern(String) - Static method in class org.joda.time.format.DateTimeFormat
-
Factory to create a formatter from a pattern string.
- forStyle(String) - Static method in class org.joda.time.format.DateTimeFormat
-
Factory to create a format from a two character style pattern.
- forTimeZone(TimeZone) - Static method in class org.joda.time.DateTimeZone
-
Gets a time zone instance for a JDK TimeZone.
- forZone(DateTimeZone) - Static method in class org.joda.time.tz.CachedDateTimeZone
-
Returns a new CachedDateTimeZone unless given zone is already cached.
- FOUR - Static variable in class org.joda.time.Days
-
Constant representing four days.
- FOUR - Static variable in class org.joda.time.Hours
-
Constant representing four hours.
- FOUR - Static variable in class org.joda.time.Months
-
Constant representing four months.
- FRIDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (5) representing Friday, the fifth day of the week (ISO)
- fromCalendarFields(Calendar) - Static method in class org.joda.time.LocalDate
-
Constructs a LocalDate from a
java.util.Calendar
using exactly the same field values. - fromCalendarFields(Calendar) - Static method in class org.joda.time.LocalDateTime
-
Constructs a LocalDateTime from a
java.util.Calendar
using exactly the same field values. - fromCalendarFields(Calendar) - Static method in class org.joda.time.LocalTime
-
Constructs a LocalTime from a
java.util.Calendar
using exactly the same field values. - fromCalendarFields(Calendar) - Static method in class org.joda.time.MonthDay
-
Constructs a MonthDay from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. - fromCalendarFields(Calendar) - Static method in class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. - fromCalendarFields(Calendar) - Static method in class org.joda.time.YearMonth
-
Constructs a YearMonth from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. - fromCalendarFields(Calendar) - Static method in class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. - fromDateFields(Date) - Static method in class org.joda.time.LocalDate
-
Constructs a LocalDate from a
java.util.Date
using exactly the same field values. - fromDateFields(Date) - Static method in class org.joda.time.LocalDateTime
-
Constructs a LocalDateTime from a
java.util.Date
using exactly the same field values. - fromDateFields(Date) - Static method in class org.joda.time.LocalTime
-
Constructs a LocalTime from a
java.util.Date
using exactly the same field values. - fromDateFields(Date) - Static method in class org.joda.time.MonthDay
-
Constructs a MonthDay from a
java.util.Date
using exactly the same field values avoiding any time zone effects. - fromDateFields(Date) - Static method in class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from a
java.util.Date
using exactly the same field values avoiding any time zone effects. - fromDateFields(Date) - Static method in class org.joda.time.YearMonth
-
Constructs a YearMonth from a
java.util.Date
using exactly the same field values avoiding any time zone effects. - fromDateFields(Date) - Static method in class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay from a
java.util.Date
using exactly the same field values avoiding any time zone effects. - fromJulianDay(double) - Static method in class org.joda.time.DateTimeUtils
-
Creates a date-time from a Julian Day.
- fromMillisOfDay(long) - Static method in class org.joda.time.LocalTime
-
Constructs a LocalTime from the specified millis of day using the ISO chronology.
- fromMillisOfDay(long) - Static method in class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from the specified millis of day using the ISO chronology.
- fromMillisOfDay(long, Chronology) - Static method in class org.joda.time.LocalTime
-
Constructs a LocalTime from the specified millis of day using the specified chronology.
- fromMillisOfDay(long, Chronology) - Static method in class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from the specified millis of day using the specified chronology.
- fullDate() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a full date format.
- fullDateTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a full datetime format.
- fullTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a full time format.
G
- gap(ReadableInterval) - Method in class org.joda.time.Interval
-
Gets the gap between this interval and another interval.
- get() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the value of this property from the instant.
- get() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the value of this property from the instant.
- get() - Method in class org.joda.time.MonthDay.Property
-
Gets the value of this field.
- get() - Method in class org.joda.time.Partial.Property
-
Gets the value of this field.
- get() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Gets the value of this field.
- get() - Method in class org.joda.time.YearMonth.Property
-
Gets the value of this field.
- get() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Gets the value of this field.
- get(long) - Method in class org.joda.time.DateTimeField
-
Get the value of this field from the milliseconds.
- get(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the value of this field from the milliseconds.
- get(long) - Method in class org.joda.time.field.DecoratedDateTimeField
- get(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- get(long) - Method in class org.joda.time.field.DividedDateTimeField
-
Get the amount of scaled units from the specified time instant.
- get(long) - Method in class org.joda.time.field.ImpreciseDateTimeField
- get(long) - Method in class org.joda.time.field.OffsetDateTimeField
-
Get the amount of offset units from the specified time instant.
- get(long) - Method in class org.joda.time.field.PreciseDateTimeField
-
Get the amount of fractional units from the specified time instant.
- get(long) - Method in class org.joda.time.field.RemainderDateTimeField
-
Get the remainder from the specified time instant.
- get(long) - Method in class org.joda.time.field.SkipDateTimeField
- get(long) - Method in class org.joda.time.field.SkipUndoDateTimeField
- get(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- get(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- get(DateTimeField) - Method in class org.joda.time.base.AbstractInstant
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in class org.joda.time.base.AbstractDateTime
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in class org.joda.time.base.AbstractInstant
-
Get the value of one of the fields of a datetime using the chronology of the instant.
- get(DateTimeFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in class org.joda.time.LocalDate
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in class org.joda.time.LocalDateTime
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in class org.joda.time.LocalTime
-
Get the value of one of the fields of time.
- get(DateTimeFieldType) - Method in interface org.joda.time.ReadableInstant
-
Get the value of one of the fields of a datetime.
- get(DateTimeFieldType) - Method in interface org.joda.time.ReadablePartial
-
Gets the value of one of the fields.
- get(DurationFieldType) - Method in class org.joda.time.base.AbstractPeriod
-
Gets the value of one of the fields.
- get(DurationFieldType) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the value of a duration field represented by this period.
- get(DurationFieldType) - Method in interface org.joda.time.ReadablePeriod
-
Gets the value of one of the fields.
- get(ReadablePartial, long) - Method in class org.joda.time.chrono.BaseChronology
-
Gets the values of a partial from an instant.
- get(ReadablePartial, long) - Method in class org.joda.time.Chronology
-
Gets the values of a partial from an instant.
- get(ReadablePeriod, long) - Method in class org.joda.time.chrono.BaseChronology
-
Gets the values of a period from an interval.
- get(ReadablePeriod, long) - Method in class org.joda.time.Chronology
-
Gets the values of a period from an interval.
- get(ReadablePeriod, long, long) - Method in class org.joda.time.chrono.BaseChronology
-
Gets the values of a period from an interval.
- get(ReadablePeriod, long, long) - Method in class org.joda.time.Chronology
-
Gets the values of a period from an interval.
- getAsShortText() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the short textual value of this property from the instant as a string in the default locale.
- getAsShortText() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the short textual value of this property from the instant as a string in the default locale.
- getAsShortText(int, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, short text value of this field from the field value.
- getAsShortText(int, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, short text value of this field from the field value.
- getAsShortText(int, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsShortText(int, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsShortText(long) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, short text value of this field from the milliseconds.
- getAsShortText(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, short text value of this field from the milliseconds.
- getAsShortText(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsShortText(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsShortText(long, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, short text value of this field from the milliseconds.
- getAsShortText(long, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, short text value of this field from the milliseconds.
- getAsShortText(long, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsShortText(long, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsShortText(Locale) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the short textual value of this property from the instant as a string in the specified locale.
- getAsShortText(Locale) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the short textual value of this property from the instant as a string in the specified locale.
- getAsShortText(ReadablePartial, int, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, short text value of this field from a partial instant.
- getAsShortText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, short text value of this field from a partial instant.
- getAsShortText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsShortText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsShortText(ReadablePartial, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, short text value of this field from a partial instant.
- getAsShortText(ReadablePartial, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, short text value of this field from a partial instant.
- getAsShortText(ReadablePartial, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsShortText(ReadablePartial, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsString() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the value of this property from the instant as a string.
- getAsString() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the value of this property from the instant as a string.
- getAsText() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the textual value of this property from the instant as a string in the default locale.
- getAsText() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the textual value of this property from the instant as a string in the default locale.
- getAsText(int, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, text value of this field from the field value.
- getAsText(int, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, text value of this field from the field value.
- getAsText(int, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsText(int, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsText(long) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, text value of this field from the milliseconds.
- getAsText(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, text value of this field from the milliseconds.
- getAsText(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsText(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsText(long, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, text value of this field from the milliseconds.
- getAsText(long, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, text value of this field from the milliseconds.
- getAsText(long, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsText(long, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsText(Locale) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the textual value of this property from the instant as a string in the specified locale.
- getAsText(Locale) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the textual value of this property from the instant as a string in the specified locale.
- getAsText(ReadablePartial, int, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, text value of this field from a partial instant.
- getAsText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, text value of this field from a partial instant.
- getAsText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsText(ReadablePartial, int, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAsText(ReadablePartial, Locale) - Method in class org.joda.time.DateTimeField
-
Get the human-readable, text value of this field from a partial instant.
- getAsText(ReadablePartial, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the human-readable, text value of this field from a partial instant.
- getAsText(ReadablePartial, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getAsText(ReadablePartial, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getAvailableIDs() - Static method in class org.joda.time.DateTimeZone
-
Gets all the available IDs supported.
- getAvailableIDs() - Method in interface org.joda.time.tz.Provider
-
Returns an unmodifiable set of ids.
- getAvailableIDs() - Method in class org.joda.time.tz.UTCProvider
-
Returns a singleton collection containing only
"UTC"
. - getAvailableIDs() - Method in class org.joda.time.tz.ZoneInfoProvider
-
Gets a list of all the available zone ids.
- getBase() - Method in class org.joda.time.chrono.AssembledChronology
-
Returns the same base chronology as passed into the constructor.
- getCenturyOfEra() - Method in class org.joda.time.base.AbstractDateTime
-
Get the year of era field value.
- getCenturyOfEra() - Method in class org.joda.time.LocalDate
-
Get the year of era field value.
- getCenturyOfEra() - Method in class org.joda.time.LocalDateTime
-
Get the year of era field value.
- getCenturyOfEra() - Method in interface org.joda.time.ReadableDateTime
-
Get the year of era field value.
- getChronolgy() - Method in class org.joda.time.format.DateTimeFormatter
-
Deprecated.Use the method with the correct spelling
- getChronology() - Method in class org.joda.time.base.BaseDateTime
-
Gets the chronology of the datetime.
- getChronology() - Method in class org.joda.time.base.BaseInterval
-
Gets the chronology of this interval.
- getChronology() - Method in class org.joda.time.base.BasePartial
-
Gets the chronology of the partial which is never null.
- getChronology() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.DateTime.Property
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the chronology to use as an override.
- getChronology() - Method in class org.joda.time.format.DateTimeParserBucket
-
Gets the chronology of the bucket, which will be a local (UTC) chronology.
- getChronology() - Method in class org.joda.time.Instant
-
Gets the chronology of the instant, which is ISO in the UTC zone.
- getChronology() - Method in class org.joda.time.LocalDate
-
Gets the chronology of the date.
- getChronology() - Method in class org.joda.time.LocalDate.Property
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.LocalDateTime
-
Gets the chronology of the datetime.
- getChronology() - Method in class org.joda.time.LocalDateTime.Property
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.LocalTime
-
Gets the chronology of the time.
- getChronology() - Method in class org.joda.time.LocalTime.Property
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.MutableDateTime.Property
-
Gets the chronology of the datetime that this property is linked to.
- getChronology() - Method in class org.joda.time.Partial
-
Gets the chronology of the partial which is never null.
- getChronology() - Method in interface org.joda.time.ReadableInstant
-
Gets the chronology of the instant.
- getChronology() - Method in interface org.joda.time.ReadableInterval
-
Gets the chronology of the interval, which is the chronology of the first datetime.
- getChronology() - Method in interface org.joda.time.ReadablePartial
-
Gets the chronology of the partial which is never null.
- getChronology(Object, Chronology) - Method in class org.joda.time.convert.AbstractConverter
-
Extracts the chronology from an object of this converter's type where the chronology is specified.
- getChronology(Object, Chronology) - Method in interface org.joda.time.convert.InstantConverter
-
Extracts the chronology from an object of this converter's type where the chronology may be specified.
- getChronology(Object, Chronology) - Method in interface org.joda.time.convert.PartialConverter
-
Extracts the chronology from an object of this converter's type where the chronology is specified.
- getChronology(Object, DateTimeZone) - Method in class org.joda.time.convert.AbstractConverter
-
Extracts the chronology from an object of this converter's type where the time zone is specified.
- getChronology(Object, DateTimeZone) - Method in interface org.joda.time.convert.InstantConverter
-
Extracts the chronology from an object of this converter's type where the time zone is specified.
- getChronology(Object, DateTimeZone) - Method in interface org.joda.time.convert.PartialConverter
-
Extracts the chronology from an object of this converter's type where the time zone is specified.
- getChronology(Chronology) - Static method in class org.joda.time.DateTimeUtils
-
Gets the chronology handling null.
- getDateFormatSymbols(Locale) - Static method in class org.joda.time.DateTimeUtils
-
Gets the
DateFormatSymbols
based on the given locale. - getDateMidnight() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Gets the datetime being used.
- getDateOnlyInstance() - Static method in class org.joda.time.DateTimeComparator
-
Returns a comparator that only considers date fields.
- getDateTime() - Method in class org.joda.time.DateTime.Property
-
Gets the datetime being used.
- getDateTimeFieldType() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the DateTimeFieldType whose value was invalid, or null if not applicable.
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.AssembledChronology
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.BaseChronology
-
Returns a datetime millisecond instant, formed from the given year, month, day, and millisecond values.
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.CopticChronology
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.GJChronology
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.LimitChronology
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.chrono.ZonedChronology
- getDateTimeMillis(int, int, int, int) - Method in class org.joda.time.Chronology
-
Returns a datetime millisecond instant, formed from the given year, month, day, and millisecond values.
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.AssembledChronology
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.BaseChronology
-
Returns a datetime millisecond instant, formed from the given year, month, day, hour, minute, second, and millisecond values.
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.CopticChronology
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.GJChronology
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.LimitChronology
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.chrono.ZonedChronology
- getDateTimeMillis(int, int, int, int, int, int, int) - Method in class org.joda.time.Chronology
-
Returns a datetime millisecond instant, formed from the given year, month, day, hour, minute, second, and millisecond values.
- getDateTimeMillis(long, int, int, int, int) - Method in class org.joda.time.chrono.AssembledChronology
- getDateTimeMillis(long, int, int, int, int) - Method in class org.joda.time.chrono.BaseChronology
-
Returns a datetime millisecond instant, from from the given instant, hour, minute, second, and millisecond values.
- getDateTimeMillis(long, int, int, int, int) - Method in class org.joda.time.chrono.LimitChronology
- getDateTimeMillis(long, int, int, int, int) - Method in class org.joda.time.chrono.ZonedChronology
- getDateTimeMillis(long, int, int, int, int) - Method in class org.joda.time.Chronology
-
Returns a datetime millisecond instant, from from the given instant, hour, minute, second, and millisecond values.
- getDayOfMonth() - Method in class org.joda.time.base.AbstractDateTime
-
Get the day of month field value.
- getDayOfMonth() - Method in class org.joda.time.LocalDate
-
Get the day of month field value.
- getDayOfMonth() - Method in class org.joda.time.LocalDateTime
-
Get the day of month field value.
- getDayOfMonth() - Method in class org.joda.time.MonthDay
-
Get the day of month field value.
- getDayOfMonth() - Method in interface org.joda.time.ReadableDateTime
-
Get the day of month field value.
- getDayOfMonth() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the day of month field value.
- getDayOfWeek() - Method in class org.joda.time.base.AbstractDateTime
-
Get the day of week field value.
- getDayOfWeek() - Method in class org.joda.time.LocalDate
-
Get the day of week field value.
- getDayOfWeek() - Method in class org.joda.time.LocalDateTime
-
Get the day of week field value.
- getDayOfWeek() - Method in interface org.joda.time.ReadableDateTime
-
Get the day of week field value.
- getDayOfYear() - Method in class org.joda.time.base.AbstractDateTime
-
Get the day of year field value.
- getDayOfYear() - Method in class org.joda.time.LocalDate
-
Get the day of year field value.
- getDayOfYear() - Method in class org.joda.time.LocalDateTime
-
Get the day of year field value.
- getDayOfYear() - Method in interface org.joda.time.ReadableDateTime
-
Get the day of year field value.
- getDays() - Method in class org.joda.time.Days
-
Gets the number of days that this period represents.
- getDays() - Method in class org.joda.time.MutablePeriod
-
Gets the days field part of the period.
- getDays() - Method in class org.joda.time.Period
-
Gets the days field part of the period.
- getDefault() - Static method in class org.joda.time.DateTimeZone
-
Gets the default time zone.
- getDefault() - Static method in class org.joda.time.format.PeriodFormat
-
Gets the default formatter that outputs words in English.
- getDefaultTimeZoneNames() - Static method in class org.joda.time.DateTimeUtils
-
Gets the default map of time zone names.
- getDefaultYear() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the default year for parsing months and days.
- getDifference(long, long) - Method in class org.joda.time.DateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifference(long, long) - Method in class org.joda.time.DurationField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifference(long, long) - Method in class org.joda.time.field.BaseDateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifference(long, long) - Method in class org.joda.time.field.BaseDurationField
- getDifference(long, long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getDifference(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- getDifference(long, long) - Method in class org.joda.time.field.DividedDateTimeField
- getDifference(long, long) - Method in class org.joda.time.field.ImpreciseDateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifference(long, long) - Method in class org.joda.time.field.MillisDurationField
- getDifference(long, long) - Method in class org.joda.time.field.ScaledDurationField
- getDifference(long, long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Delegates to the duration field.
- getDifference(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getDifference(long, long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- getDifference(ReadableInstant) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the difference between this field property instant and the one passed in, in the units of this field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.DateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.DurationField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.BaseDateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.DecoratedDurationField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.DividedDateTimeField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.ImpreciseDateTimeField
-
Computes the difference between two instants, as measured in the units of this field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.MillisDurationField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.PreciseDurationField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.ScaledDurationField
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Delegates to the duration field.
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getDifferenceAsLong(long, long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- getDifferenceAsLong(ReadableInstant) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the difference between this field property instant and the one passed in, in the units of this field.
- getDivisor() - Method in class org.joda.time.field.DividedDateTimeField
-
Returns the divisor applied, in the field's units.
- getDivisor() - Method in class org.joda.time.field.RemainderDateTimeField
-
Returns the divisor applied, in the field's units.
- getDurationConverter(Object) - Method in class org.joda.time.convert.ConverterManager
-
Gets the best converter for the object specified.
- getDurationConverters() - Method in class org.joda.time.convert.ConverterManager
-
Gets a copy of the list of converters.
- getDurationField() - Method in class org.joda.time.DateTimeField
-
Returns the duration per unit value of this field.
- getDurationField() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Returns the duration per unit value of this field.
- getDurationField() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the duration per unit value of this field.
- getDurationField() - Method in class org.joda.time.field.BaseDateTimeField
-
Returns the duration per unit value of this field.
- getDurationField() - Method in class org.joda.time.field.DecoratedDateTimeField
- getDurationField() - Method in class org.joda.time.field.DelegatedDateTimeField
- getDurationField() - Method in class org.joda.time.field.DividedDateTimeField
-
Returns a scaled version of the wrapped field's unit duration field.
- getDurationField() - Method in class org.joda.time.field.ImpreciseDateTimeField
- getDurationField() - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Returns the duration per unit value of this field.
- getDurationField() - Method in class org.joda.time.field.RemainderDateTimeField
- getDurationField() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Even though this DateTimeField is unsupported, the duration field might be supported.
- getDurationFieldType() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the DurationFieldType whose value was invalid, or null if not applicable.
- getDurationMillis(Object) - Method in interface org.joda.time.convert.DurationConverter
-
Extracts the millis from an object of this converter's type.
- getDurationMillis(ReadableDuration) - Static method in class org.joda.time.DateTimeUtils
-
Gets the millisecond duration from the specified duration object handling null.
- getDurationType() - Method in class org.joda.time.DateTimeFieldType
-
Get the duration unit of the field.
- getDurationUnitMillis() - Method in class org.joda.time.field.ImpreciseDateTimeField
- getEnd() - Method in class org.joda.time.base.AbstractInterval
-
Gets the end of this time interval, which is exclusive, as a DateTime.
- getEnd() - Method in interface org.joda.time.ReadableInterval
-
Gets the end of this time interval, which is exclusive, as a DateTime.
- getEndMillis() - Method in class org.joda.time.base.BaseInterval
-
Gets the end of this time interval which is exclusive.
- getEndMillis() - Method in interface org.joda.time.ReadableInterval
-
Gets the end of this time interval which is exclusive.
- getEra() - Method in class org.joda.time.base.AbstractDateTime
-
Get the era field value.
- getEra() - Method in class org.joda.time.LocalDate
-
Get the era field value.
- getEra() - Method in class org.joda.time.LocalDateTime
-
Get the era field value.
- getEra() - Method in interface org.joda.time.ReadableDateTime
-
Get the era field value.
- getField() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Gets the field being used.
- getField() - Method in class org.joda.time.DateTime.Property
-
Gets the field being used.
- getField() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the field being used.
- getField() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the field being used.
- getField() - Method in class org.joda.time.LocalDate.Property
-
Gets the field being used.
- getField() - Method in class org.joda.time.LocalDateTime.Property
-
Gets the field being used.
- getField() - Method in class org.joda.time.LocalTime.Property
-
Gets the field being used.
- getField() - Method in class org.joda.time.MonthDay.Property
-
Gets the field that this property uses.
- getField() - Method in class org.joda.time.MutableDateTime.Property
-
Gets the field being used.
- getField() - Method in class org.joda.time.Partial.Property
-
Gets the field that this property uses.
- getField() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Gets the field that this property uses.
- getField() - Method in class org.joda.time.YearMonth.Property
-
Gets the field that this property uses.
- getField() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Gets the field that this property uses.
- getField(int) - Method in class org.joda.time.base.AbstractPartial
-
Gets the field at the specified index.
- getField(int) - Method in interface org.joda.time.ReadablePartial
-
Gets the field at the specified index.
- getField(int, Chronology) - Method in class org.joda.time.base.AbstractPartial
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.LocalDate
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.LocalDateTime
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.LocalTime
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.MonthDay
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.Partial
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.YearMonth
-
Gets the field for a specific index in the chronology specified.
- getField(int, Chronology) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Gets the field for a specific index in the chronology specified.
- getField(Chronology) - Method in class org.joda.time.DateTimeFieldType
-
Gets a suitable field for this type from the given Chronology.
- getField(Chronology) - Method in class org.joda.time.DurationFieldType
-
Gets a suitable field for this type from the given Chronology.
- getFieldName() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the name of the field whose value was invalid.
- getFields() - Method in class org.joda.time.base.AbstractPartial
-
Gets an array of the fields that this partial supports.
- getFieldType() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the single duration field type.
- getFieldType() - Method in class org.joda.time.Days
-
Gets the duration field type, which is
days
. - getFieldType() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the field type being used.
- getFieldType() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the field type being used.
- getFieldType() - Method in class org.joda.time.Hours
-
Gets the duration field type, which is
hours
. - getFieldType() - Method in class org.joda.time.Minutes
-
Gets the duration field type, which is
minutes
. - getFieldType() - Method in class org.joda.time.Months
-
Gets the duration field type, which is
months
. - getFieldType() - Method in class org.joda.time.Seconds
-
Gets the duration field type, which is
seconds
. - getFieldType() - Method in class org.joda.time.Weeks
-
Gets the duration field type, which is
weeks
. - getFieldType() - Method in class org.joda.time.Years
-
Gets the duration field type, which is
years
. - getFieldType(int) - Method in class org.joda.time.base.AbstractPartial
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.base.AbstractPeriod
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.MonthDay
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.Partial
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.PeriodType
-
Gets the field type by index.
- getFieldType(int) - Method in interface org.joda.time.ReadablePartial
-
Gets the field type at the specified index.
- getFieldType(int) - Method in interface org.joda.time.ReadablePeriod
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.YearMonth
-
Gets the field type at the specified index.
- getFieldType(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Gets the field type at the specified index.
- getFieldTypes() - Method in class org.joda.time.base.AbstractPartial
-
Gets an array of the field types that this partial supports.
- getFieldTypes() - Method in class org.joda.time.base.AbstractPeriod
-
Gets an array of the field types that this period supports.
- getFieldTypes() - Method in class org.joda.time.MonthDay
-
Gets an array of the field type of each of the fields that this partial supports.
- getFieldTypes() - Method in class org.joda.time.Partial
-
Gets an array of the field type of each of the fields that this partial supports.
- getFieldTypes() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Gets an array of the field type of each of the fields that this partial supports.
- getFieldTypes() - Method in class org.joda.time.YearMonth
-
Gets an array of the field type of each of the fields that this partial supports.
- getFieldTypes() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Gets an array of the field type of each of the fields that this partial supports.
- getFormatter() - Method in class org.joda.time.Partial
-
Gets a formatter suitable for the fields in this partial.
- getGregorianCutover() - Method in class org.joda.time.chrono.GJChronology
-
Gets the cutover instant between Gregorian and Julian chronologies.
- getHourOfDay() - Method in class org.joda.time.base.AbstractDateTime
-
Get the hour of day field value.
- getHourOfDay() - Method in class org.joda.time.LocalDateTime
-
Get the hour of day field value.
- getHourOfDay() - Method in class org.joda.time.LocalTime
-
Get the hour of day field value.
- getHourOfDay() - Method in interface org.joda.time.ReadableDateTime
-
Get the hour of day field value.
- getHourOfDay() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the hour of day (0-23) field value.
- getHours() - Method in class org.joda.time.Hours
-
Gets the number of hours that this period represents.
- getHours() - Method in class org.joda.time.MutablePeriod
-
Gets the hours field part of the period.
- getHours() - Method in class org.joda.time.Period
-
Gets the hours field part of the period.
- getID() - Method in class org.joda.time.DateTimeZone
-
Gets the ID of this datetime zone.
- getIllegalNumberValue() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the illegal integer value assigned to the field, or null if not applicable.
- getIllegalStringValue() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the illegal string value assigned to the field, or null if not applicable.
- getIllegalValueAsString() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the illegal value assigned to the field as a non-null string.
- getInstance() - Static method in class org.joda.time.chrono.BuddhistChronology
-
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class.
- getInstance() - Static method in class org.joda.time.chrono.CopticChronology
-
Gets an instance of the CopticChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.chrono.EthiopicChronology
-
Gets an instance of the EthiopicChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the default GJ cutover chronology.
- getInstance() - Static method in class org.joda.time.chrono.GregorianChronology
-
Gets an instance of the GregorianChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.chrono.IslamicChronology
-
Gets an instance of the IslamicChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.chrono.ISOChronology
-
Gets an instance of the ISOChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.chrono.JulianChronology
-
Gets an instance of the JulianChronology in the default time zone.
- getInstance() - Static method in class org.joda.time.convert.ConverterManager
- getInstance() - Static method in class org.joda.time.DateTimeComparator
-
Returns a DateTimeComparator the compares the entire date time value.
- getInstance(Chronology) - Static method in class org.joda.time.chrono.LenientChronology
-
Create a LenientChronology for any chronology.
- getInstance(Chronology) - Static method in class org.joda.time.chrono.StrictChronology
-
Create a StrictChronology for any chronology.
- getInstance(Chronology, DateTimeZone) - Static method in class org.joda.time.chrono.ZonedChronology
-
Create a ZonedChronology for any chronology, overriding any time zone it may already have.
- getInstance(Chronology, ReadableDateTime, ReadableDateTime) - Static method in class org.joda.time.chrono.LimitChronology
-
Wraps another chronology, with datetime limits.
- getInstance(DateTimeField) - Static method in class org.joda.time.field.StrictDateTimeField
-
Returns a strict version of the given field.
- getInstance(DateTimeField, Chronology) - Static method in class org.joda.time.field.LenientDateTimeField
-
Returns a lenient version of the given field.
- getInstance(DateTimeFieldType) - Static method in class org.joda.time.DateTimeComparator
-
Returns a DateTimeComparator with a lower limit only.
- getInstance(DateTimeFieldType, DateTimeFieldType) - Static method in class org.joda.time.DateTimeComparator
-
Returns a DateTimeComparator with a lower and upper limit.
- getInstance(DateTimeFieldType, DurationField) - Static method in class org.joda.time.field.UnsupportedDateTimeField
-
Gets an instance of UnsupportedDateTimeField for a specific named field.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.BuddhistChronology
-
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.CopticChronology
-
Gets an instance of the CopticChronology in the given time zone.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.EthiopicChronology
-
Gets an instance of the EthiopicChronology in the given time zone.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the GJ cutover chronology.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.GregorianChronology
-
Gets an instance of the GregorianChronology in the given time zone.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.IslamicChronology
-
Gets an instance of the IslamicChronology in the given time zone.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.ISOChronology
-
Gets an instance of the ISOChronology in the given time zone.
- getInstance(DateTimeZone) - Static method in class org.joda.time.chrono.JulianChronology
-
Gets an instance of the JulianChronology in the given time zone.
- getInstance(DateTimeZone, int) - Static method in class org.joda.time.chrono.CopticChronology
-
Gets an instance of the CopticChronology in the given time zone.
- getInstance(DateTimeZone, int) - Static method in class org.joda.time.chrono.EthiopicChronology
-
Gets an instance of the EthiopicChronology in the given time zone.
- getInstance(DateTimeZone, int) - Static method in class org.joda.time.chrono.GregorianChronology
-
Gets an instance of the GregorianChronology in the given time zone.
- getInstance(DateTimeZone, int) - Static method in class org.joda.time.chrono.JulianChronology
-
Gets an instance of the JulianChronology in the given time zone.
- getInstance(DateTimeZone, long, int) - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the GJ cutover chronology.
- getInstance(DateTimeZone, IslamicChronology.LeapYearPatternType) - Static method in class org.joda.time.chrono.IslamicChronology
-
Gets an instance of the IslamicChronology in the given time zone.
- getInstance(DateTimeZone, ReadableInstant) - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the GJ cutover chronology.
- getInstance(DateTimeZone, ReadableInstant, int) - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the GJ cutover chronology.
- getInstance(DurationFieldType) - Static method in class org.joda.time.field.UnsupportedDurationField
-
Gets an instance of UnsupportedDurationField for a specific named field.
- getInstanceUTC() - Static method in class org.joda.time.chrono.BuddhistChronology
-
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class.
- getInstanceUTC() - Static method in class org.joda.time.chrono.CopticChronology
-
Gets an instance of the CopticChronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.EthiopicChronology
-
Gets an instance of the EthiopicChronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.GJChronology
-
Factory method returns instances of the default GJ cutover chronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.GregorianChronology
-
Gets an instance of the GregorianChronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.IslamicChronology
-
Gets an instance of the IslamicChronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.ISOChronology
-
Gets an instance of the ISOChronology.
- getInstanceUTC() - Static method in class org.joda.time.chrono.JulianChronology
-
Gets an instance of the JulianChronology.
- getInstantChronology(ReadableInstant) - Static method in class org.joda.time.DateTimeUtils
-
Gets the chronology from the specified instant object handling null.
- getInstantConverter(Object) - Method in class org.joda.time.convert.ConverterManager
-
Gets the best converter for the object specified.
- getInstantConverters() - Method in class org.joda.time.convert.ConverterManager
-
Gets a copy of the set of converters.
- getInstantMillis(Object, Chronology) - Method in class org.joda.time.convert.AbstractConverter
-
Extracts the millis from an object of this converter's type.
- getInstantMillis(Object, Chronology) - Method in interface org.joda.time.convert.InstantConverter
-
Extracts the millis from an object of this converter's type.
- getInstantMillis(ReadableInstant) - Static method in class org.joda.time.DateTimeUtils
-
Gets the millisecond instant from the specified instant object handling null.
- getIntervalChronology(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.DateTimeUtils
-
Gets the chronology from the specified instant based interval handling null.
- getIntervalChronology(ReadableInterval) - Static method in class org.joda.time.DateTimeUtils
-
Gets the chronology from the specified interval object handling null.
- getIntervalConverter(Object) - Method in class org.joda.time.convert.ConverterManager
-
Gets the best converter for the object specified.
- getIntervalConverters() - Method in class org.joda.time.convert.ConverterManager
-
Gets a copy of the list of converters.
- getLeapAmount() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the amount by which this field is leap.
- getLeapAmount(long) - Method in class org.joda.time.DateTimeField
-
Gets the amount by which this field is 'leap' for the specified instant.
- getLeapAmount(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Gets the amount by which this field is 'leap' for the specified instant.
- getLeapAmount(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getLeapAmount(long) - Method in class org.joda.time.field.OffsetDateTimeField
- getLeapAmount(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getLeapAmount(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- getLeapDurationField() - Method in class org.joda.time.DateTimeField
-
If this field were to leap, then it would be in units described by the returned duration.
- getLeapDurationField() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
If this field were to leap, then it would be in units described by the returned duration.
- getLeapDurationField() - Method in class org.joda.time.field.BaseDateTimeField
-
If this field were to leap, then it would be in units described by the returned duration.
- getLeapDurationField() - Method in class org.joda.time.field.DelegatedDateTimeField
- getLeapDurationField() - Method in class org.joda.time.field.OffsetDateTimeField
- getLeapDurationField() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always returns null.
- getLeapDurationField() - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- getLeapYearPatternType() - Method in class org.joda.time.chrono.IslamicChronology
-
Gets the leap year pattern type.
- getLocalDate() - Method in class org.joda.time.LocalDate.Property
-
Gets the LocalDate object linked to this property.
- getLocalDateTime() - Method in class org.joda.time.LocalDateTime.Property
-
Gets the LocalDateTime object linked to this property.
- getLocale() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the locale that will be used for printing and parsing.
- getLocale() - Method in class org.joda.time.format.DateTimeParserBucket
-
Returns the locale to be used during parsing.
- getLocale() - Method in class org.joda.time.format.PeriodFormatter
-
Gets the locale that will be used for printing and parsing.
- getLocalMillis() - Method in class org.joda.time.base.BaseLocal
-
Gets the local milliseconds from the Java epoch of 1970-01-01T00:00:00 (not fixed to any specific time zone).
- getLocalMillis() - Method in class org.joda.time.LocalDate
-
Gets the local milliseconds from the Java epoch of 1970-01-01T00:00:00 (not fixed to any specific time zone).
- getLocalMillis() - Method in class org.joda.time.LocalDateTime
-
Gets the milliseconds of the datetime instant from the Java epoch of 1970-01-01T00:00:00 (not fixed to any specific time zone).
- getLocalMillis() - Method in class org.joda.time.LocalTime
-
Gets the local milliseconds from the Java epoch of 1970-01-01T00:00:00 (not fixed to any specific time zone).
- getLocalTime() - Method in class org.joda.time.LocalTime.Property
-
Gets the LocalTime object linked to this property.
- getLowerBound() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the lower bound of the legal value range, or null if not applicable.
- getLowerLimit() - Method in class org.joda.time.chrono.LimitChronology
-
Returns the inclusive lower limit instant.
- getLowerLimit() - Method in class org.joda.time.DateTimeComparator
-
Gets the field type that represents the lower limit of comparison.
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.DateTimeField
-
Get the maximum short text value for this field.
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the maximum short text length for the field.
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the maximum short text length for the field.
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum short text value for this field.
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumShortTextLength(Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumTextLength(Locale) - Method in class org.joda.time.DateTimeField
-
Get the maximum text value for this field.
- getMaximumTextLength(Locale) - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the maximum text length for the field.
- getMaximumTextLength(Locale) - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the maximum text length for the field.
- getMaximumTextLength(Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum text value for this field.
- getMaximumTextLength(Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumTextLength(Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumValue() - Method in class org.joda.time.DateTimeField
-
Get the maximum allowable value for this field.
- getMaximumValue() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the maximum value for this field given the current field values.
- getMaximumValue() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the maximum value for the field.
- getMaximumValue() - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum allowable value for this field.
- getMaximumValue() - Method in class org.joda.time.field.DecoratedDateTimeField
- getMaximumValue() - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumValue() - Method in class org.joda.time.field.DividedDateTimeField
-
Get the maximum value for the field.
- getMaximumValue() - Method in class org.joda.time.field.OffsetDateTimeField
-
Get the maximum value for the field.
- getMaximumValue() - Method in class org.joda.time.field.PreciseDateTimeField
-
Get the maximum value for the field.
- getMaximumValue() - Method in class org.joda.time.field.RemainderDateTimeField
-
Get the maximum value for the field, which is always one less than the divisor.
- getMaximumValue() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumValue() - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
- getMaximumValue(long) - Method in class org.joda.time.DateTimeField
-
Get the maximum value for this field evaluated at the specified time.
- getMaximumValue(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum value for this field evaluated at the specified time.
- getMaximumValue(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumValue(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumValue(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
- getMaximumValue(ReadablePartial) - Method in class org.joda.time.DateTimeField
-
Get the maximum value for this field evaluated at the specified time.
- getMaximumValue(ReadablePartial) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum value for this field evaluated at the specified instant.
- getMaximumValue(ReadablePartial) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumValue(ReadablePartial) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumValue(ReadablePartial) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
- getMaximumValue(ReadablePartial, int[]) - Method in class org.joda.time.DateTimeField
-
Get the maximum value for this field using the partial instant and the specified values.
- getMaximumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the maximum value for this field using the partial instant and the specified values.
- getMaximumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMaximumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMaximumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Get the maximum value for the field, which is one more than the wrapped field's maximum value.
- getMaximumValueForSet(long, int) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Called by the set method to get the maximum allowed value.
- getMaximumValueOverall() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the maximum value for the field ignoring the current time.
- getMaximumValueOverall() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the maximum value for the field ignoring the current time.
- getMessage() - Method in exception org.joda.time.IllegalFieldValueException
- getMillis() - Method in class org.joda.time.base.BaseDateTime
-
Gets the milliseconds of the datetime instant from the Java epoch of 1970-01-01T00:00:00Z.
- getMillis() - Method in class org.joda.time.base.BaseDuration
-
Gets the length of this duration in milliseconds.
- getMillis() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Gets the milliseconds of the datetime that this property is linked to.
- getMillis() - Method in class org.joda.time.DateTime.Property
-
Gets the milliseconds of the datetime that this property is linked to.
- getMillis() - Method in interface org.joda.time.DateTimeUtils.MillisProvider
-
Gets the current time.
- getMillis() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the milliseconds of the datetime that this property is linked to.
- getMillis() - Method in class org.joda.time.Instant
-
Gets the milliseconds of the instant.
- getMillis() - Method in class org.joda.time.LocalDate.Property
-
Gets the milliseconds of the date that this property is linked to.
- getMillis() - Method in class org.joda.time.LocalDateTime.Property
-
Gets the milliseconds of the datetime that this property is linked to.
- getMillis() - Method in class org.joda.time.LocalTime.Property
-
Gets the milliseconds of the time that this property is linked to.
- getMillis() - Method in class org.joda.time.MutableDateTime.Property
-
Gets the milliseconds of the datetime that this property is linked to.
- getMillis() - Method in class org.joda.time.MutablePeriod
-
Gets the millis field part of the period.
- getMillis() - Method in class org.joda.time.Period
-
Gets the millis field part of the period.
- getMillis() - Method in interface org.joda.time.ReadableDuration
-
Gets the total length of this duration in milliseconds.
- getMillis() - Method in interface org.joda.time.ReadableInstant
-
Get the value as the number of milliseconds since the epoch, 1970-01-01T00:00:00Z.
- getMillis(int) - Method in class org.joda.time.DurationField
-
Get the millisecond duration of this field from its value, which is approximate if this field is imprecise.
- getMillis(int) - Method in class org.joda.time.field.BaseDurationField
-
Get the millisecond duration of this field from its value, which is approximate if this field is imprecise.
- getMillis(int) - Method in class org.joda.time.field.DelegatedDurationField
- getMillis(int) - Method in class org.joda.time.field.MillisDurationField
- getMillis(int) - Method in class org.joda.time.field.ScaledDurationField
- getMillis(int) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getMillis(int, long) - Method in class org.joda.time.DurationField
-
Get the millisecond duration of this field from its value relative to an instant.
- getMillis(int, long) - Method in class org.joda.time.field.DecoratedDurationField
- getMillis(int, long) - Method in class org.joda.time.field.DelegatedDurationField
- getMillis(int, long) - Method in class org.joda.time.field.MillisDurationField
- getMillis(int, long) - Method in class org.joda.time.field.PreciseDurationField
-
Get the millisecond duration of this field from its value.
- getMillis(int, long) - Method in class org.joda.time.field.ScaledDurationField
- getMillis(int, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getMillis(long) - Method in class org.joda.time.DurationField
-
Get the millisecond duration of this field from its value, which is approximate if this field is imprecise.
- getMillis(long) - Method in class org.joda.time.field.BaseDurationField
-
Get the millisecond duration of this field from its value, which is approximate if this field is imprecise.
- getMillis(long) - Method in class org.joda.time.field.DelegatedDurationField
- getMillis(long) - Method in class org.joda.time.field.MillisDurationField
- getMillis(long) - Method in class org.joda.time.field.ScaledDurationField
- getMillis(long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getMillis(long, long) - Method in class org.joda.time.DurationField
-
Get the millisecond duration of this field from its value relative to an instant.
- getMillis(long, long) - Method in class org.joda.time.field.DecoratedDurationField
- getMillis(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- getMillis(long, long) - Method in class org.joda.time.field.MillisDurationField
- getMillis(long, long) - Method in class org.joda.time.field.PreciseDurationField
-
Get the millisecond duration of this field from its value.
- getMillis(long, long) - Method in class org.joda.time.field.ScaledDurationField
- getMillis(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getMillisKeepLocal(DateTimeZone, long) - Method in class org.joda.time.DateTimeZone
-
Gets the millisecond instant in another zone keeping the same local time.
- getMillisOfDay() - Method in class org.joda.time.base.AbstractDateTime
-
Get the millis of day field value.
- getMillisOfDay() - Method in class org.joda.time.LocalDateTime
-
Get the millis of day field value.
- getMillisOfDay() - Method in class org.joda.time.LocalTime
-
Get the millis of day field value.
- getMillisOfDay() - Method in interface org.joda.time.ReadableDateTime
-
Get the millis of day field value.
- getMillisOfSecond() - Method in class org.joda.time.base.AbstractDateTime
-
Get the millis of second field value.
- getMillisOfSecond() - Method in class org.joda.time.LocalDateTime
-
Get the millis of second field value.
- getMillisOfSecond() - Method in class org.joda.time.LocalTime
-
Get the millis of second field value.
- getMillisOfSecond() - Method in interface org.joda.time.ReadableDateTime
-
Get the millis of second field value.
- getMillisOfSecond() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the millis of second field value.
- getMinimumDaysInFirstWeek() - Method in class org.joda.time.chrono.CopticChronology
- getMinimumDaysInFirstWeek() - Method in class org.joda.time.chrono.GJChronology
-
Gets the minimum days needed for a week to be the first week in a year.
- getMinimumValue() - Method in class org.joda.time.DateTimeField
-
Get the minimum allowable value for this field.
- getMinimumValue() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the minimum value for this field given the current field values.
- getMinimumValue() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the minimum value for the field.
- getMinimumValue() - Method in class org.joda.time.field.BaseDateTimeField
-
Get the minimum allowable value for this field.
- getMinimumValue() - Method in class org.joda.time.field.DecoratedDateTimeField
- getMinimumValue() - Method in class org.joda.time.field.DelegatedDateTimeField
- getMinimumValue() - Method in class org.joda.time.field.DividedDateTimeField
-
Get the minimum value for the field.
- getMinimumValue() - Method in class org.joda.time.field.OffsetDateTimeField
-
Get the minimum value for the field.
- getMinimumValue() - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Get the minimum value for the field.
- getMinimumValue() - Method in class org.joda.time.field.RemainderDateTimeField
-
Get the minimum value for the field, which is always zero.
- getMinimumValue() - Method in class org.joda.time.field.SkipDateTimeField
- getMinimumValue() - Method in class org.joda.time.field.SkipUndoDateTimeField
- getMinimumValue() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMinimumValue() - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Always returns 1.
- getMinimumValue(long) - Method in class org.joda.time.DateTimeField
-
Get the minimum value for this field evaluated at the specified time.
- getMinimumValue(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the minimum value for this field evaluated at the specified time.
- getMinimumValue(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMinimumValue(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMinimumValue(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Always returns 1.
- getMinimumValue(ReadablePartial) - Method in class org.joda.time.DateTimeField
-
Get the minimum value for this field evaluated at the specified time.
- getMinimumValue(ReadablePartial) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the minimum value for this field evaluated at the specified instant.
- getMinimumValue(ReadablePartial) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMinimumValue(ReadablePartial) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMinimumValue(ReadablePartial) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Always returns 1.
- getMinimumValue(ReadablePartial, int[]) - Method in class org.joda.time.DateTimeField
-
Get the minimum value for this field using the partial instant and the specified values.
- getMinimumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.BaseDateTimeField
-
Get the minimum value for this field using the partial instant and the specified values.
- getMinimumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.DelegatedDateTimeField
- getMinimumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- getMinimumValue(ReadablePartial, int[]) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
-
Always returns 1.
- getMinimumValueOverall() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the minimum value for the field ignoring the current time.
- getMinimumValueOverall() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the minimum value for the field ignoring the current time.
- getMinuteOfDay() - Method in class org.joda.time.base.AbstractDateTime
-
Get the minute of day field value.
- getMinuteOfDay() - Method in interface org.joda.time.ReadableDateTime
-
Get the minute of day field value.
- getMinuteOfHour() - Method in class org.joda.time.base.AbstractDateTime
-
Get the minute of hour field value.
- getMinuteOfHour() - Method in class org.joda.time.LocalDateTime
-
Get the minute of hour field value.
- getMinuteOfHour() - Method in class org.joda.time.LocalTime
-
Get the minute of hour field value.
- getMinuteOfHour() - Method in interface org.joda.time.ReadableDateTime
-
Get the minute of hour field value.
- getMinuteOfHour() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the minute of hour field value.
- getMinutes() - Method in class org.joda.time.Minutes
-
Gets the number of minutes that this period represents.
- getMinutes() - Method in class org.joda.time.MutablePeriod
-
Gets the minutes field part of the period.
- getMinutes() - Method in class org.joda.time.Period
-
Gets the minutes field part of the period.
- getMonthDay() - Method in class org.joda.time.MonthDay.Property
-
Gets the partial that this property belongs to.
- getMonthOfYear() - Method in class org.joda.time.base.AbstractDateTime
-
Get the month of year field value.
- getMonthOfYear() - Method in class org.joda.time.LocalDate
-
Get the month of year field value.
- getMonthOfYear() - Method in class org.joda.time.LocalDateTime
-
Get the month of year field value.
- getMonthOfYear() - Method in class org.joda.time.MonthDay
-
Get the month of year field value.
- getMonthOfYear() - Method in interface org.joda.time.ReadableDateTime
-
Get the month of year field value.
- getMonthOfYear() - Method in class org.joda.time.YearMonth
-
Get the month of year field value.
- getMonthOfYear() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the month of year field value.
- getMonths() - Method in class org.joda.time.Months
-
Gets the number of months that this period represents.
- getMonths() - Method in class org.joda.time.MutablePeriod
-
Gets the months field part of the period.
- getMonths() - Method in class org.joda.time.Period
-
Gets the months field part of the period.
- getMutableDateTime() - Method in class org.joda.time.MutableDateTime.Property
-
Gets the mutable datetime being used.
- getName() - Method in class org.joda.time.DateTimeField
-
Get the name of the field.
- getName() - Method in class org.joda.time.DateTimeFieldType
-
Get the name of the field.
- getName() - Method in class org.joda.time.DurationField
-
Get the name of the field.
- getName() - Method in class org.joda.time.DurationFieldType
-
Get the name of the field.
- getName() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the name of the field.
- getName() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets the name of the field.
- getName() - Method in class org.joda.time.field.BaseDateTimeField
- getName() - Method in class org.joda.time.field.BaseDurationField
- getName() - Method in class org.joda.time.field.DelegatedDateTimeField
- getName() - Method in class org.joda.time.field.DelegatedDurationField
- getName() - Method in class org.joda.time.field.MillisDurationField
- getName() - Method in class org.joda.time.field.UnsupportedDateTimeField
- getName() - Method in class org.joda.time.field.UnsupportedDurationField
- getName() - Method in class org.joda.time.PeriodType
-
Gets the name of the period type.
- getName(long) - Method in class org.joda.time.DateTimeZone
-
Gets the long name of this datetime zone suitable for display using the default locale.
- getName(long, Locale) - Method in class org.joda.time.DateTimeZone
-
Gets the long name of this datetime zone suitable for display using the specified locale.
- getName(Locale, String, String) - Method in class org.joda.time.tz.DefaultNameProvider
- getName(Locale, String, String) - Method in interface org.joda.time.tz.NameProvider
-
Returns a localized name, or null if not found.
- getName(Locale, String, String, boolean) - Method in class org.joda.time.tz.DefaultNameProvider
- getNameKey(long) - Method in class org.joda.time.DateTimeZone
-
Returns a non-localized name that is unique to this time zone.
- getNameKey(long) - Method in class org.joda.time.tz.CachedDateTimeZone
- getNameKey(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- getNameProvider() - Static method in class org.joda.time.DateTimeZone
-
Gets the name provider factory.
- getOffset() - Method in class org.joda.time.field.OffsetDateTimeField
-
Returns the offset added to the field values.
- getOffset() - Method in class org.joda.time.format.DateTimeParserBucket
-
Deprecated.use Integer version
- getOffset(long) - Method in class org.joda.time.DateTimeZone
-
Gets the millisecond offset to add to UTC to get local time.
- getOffset(long) - Method in class org.joda.time.tz.CachedDateTimeZone
- getOffset(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- getOffset(ReadableInstant) - Method in class org.joda.time.DateTimeZone
-
Gets the millisecond offset to add to UTC to get local time.
- getOffsetFromLocal(long) - Method in class org.joda.time.DateTimeZone
-
Gets the millisecond offset to subtract from local time to get UTC time.
- getOffsetFromLocal(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- getOffsetInteger() - Method in class org.joda.time.format.DateTimeParserBucket
-
Returns the time zone offset in milliseconds used by computeMillis.
- getParam() - Method in class org.joda.time.chrono.AssembledChronology
-
Returns the same param object as passed into the constructor.
- getParser() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the internal parser object that performs the real parsing work.
- getParser() - Method in class org.joda.time.format.PeriodFormatter
-
Gets the internal parser object that performs the real parsing work.
- getParseType() - Method in class org.joda.time.format.PeriodFormatter
-
Gets the PeriodType that will be used for parsing.
- getPartial() - Method in class org.joda.time.Partial.Property
-
Gets the partial that this property belongs to.
- getPartialConverter(Object) - Method in class org.joda.time.convert.ConverterManager
-
Gets the best converter for the object specified.
- getPartialConverters() - Method in class org.joda.time.convert.ConverterManager
-
Gets a copy of the set of converters.
- getPartialValues(ReadablePartial, Object, Chronology) - Method in class org.joda.time.convert.AbstractConverter
-
Extracts the values of the partial from an object of this converter's type.
- getPartialValues(ReadablePartial, Object, Chronology) - Method in interface org.joda.time.convert.PartialConverter
-
Extracts the values of the partial from an object of this converter's type.
- getPartialValues(ReadablePartial, Object, Chronology, DateTimeFormatter) - Method in class org.joda.time.convert.AbstractConverter
-
Extracts the values of the partial from an object of this converter's type.
- getPartialValues(ReadablePartial, Object, Chronology, DateTimeFormatter) - Method in interface org.joda.time.convert.PartialConverter
-
Extracts the values of the partial from an object of this converter's type.
- getPeriodConverter(Object) - Method in class org.joda.time.convert.ConverterManager
-
Gets the best converter for the object specified.
- getPeriodConverters() - Method in class org.joda.time.convert.ConverterManager
-
Gets a copy of the list of converters.
- getPeriodType() - Method in class org.joda.time.base.BasePeriod
-
Gets the period type.
- getPeriodType() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the period type which matches the duration field type.
- getPeriodType() - Method in class org.joda.time.Days
-
Gets the period type, which is
days
. - getPeriodType() - Method in class org.joda.time.Hours
-
Gets the period type, which is
hours
. - getPeriodType() - Method in class org.joda.time.Minutes
-
Gets the period type, which is
minutes
. - getPeriodType() - Method in class org.joda.time.Months
-
Gets the period type, which is
months
. - getPeriodType() - Method in interface org.joda.time.ReadablePeriod
-
Gets the period type that defines which fields are included in the period.
- getPeriodType() - Method in class org.joda.time.Seconds
-
Gets the period type, which is
seconds
. - getPeriodType() - Method in class org.joda.time.Weeks
-
Gets the period type, which is
weeks
. - getPeriodType() - Method in class org.joda.time.Years
-
Gets the period type, which is
years
. - getPeriodType(Object) - Method in class org.joda.time.convert.AbstractConverter
-
Selects a suitable period type for the given object.
- getPeriodType(Object) - Method in interface org.joda.time.convert.PeriodConverter
-
Selects a suitable period type for the given object.
- getPeriodType(PeriodType) - Static method in class org.joda.time.DateTimeUtils
-
Gets the period type handling null.
- getPivotYear() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the pivot year to use as an override.
- getPivotYear() - Method in class org.joda.time.format.DateTimeParserBucket
-
Returns the default year used when information is incomplete.
- getPrinter() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the internal printer object that performs the real printing work.
- getPrinter() - Method in class org.joda.time.format.PeriodFormatter
-
Gets the internal printer object that performs the real printing work.
- getProvider() - Static method in class org.joda.time.DateTimeZone
-
Gets the zone provider factory.
- getRange() - Method in class org.joda.time.field.PreciseDateTimeField
-
Returns the range of the field in the field's units.
- getRangeDurationField() - Method in class org.joda.time.DateTimeField
-
Returns the range duration of this field.
- getRangeDurationField() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Returns the range duration of this field.
- getRangeDurationField() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the range duration of this field.
- getRangeDurationField() - Method in class org.joda.time.field.BaseDateTimeField
-
Returns the range duration of this field.
- getRangeDurationField() - Method in class org.joda.time.field.DecoratedDateTimeField
- getRangeDurationField() - Method in class org.joda.time.field.DelegatedDateTimeField
- getRangeDurationField() - Method in class org.joda.time.field.DividedDateTimeField
- getRangeDurationField() - Method in class org.joda.time.field.ImpreciseDateTimeField
- getRangeDurationField() - Method in class org.joda.time.field.PreciseDateTimeField
-
Returns the range duration of this field.
- getRangeDurationField() - Method in class org.joda.time.field.RemainderDateTimeField
-
Returns a scaled version of the wrapped field's unit duration field.
- getRangeDurationField() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always returns null.
- getRangeDurationType() - Method in class org.joda.time.DateTimeFieldType
-
Get the duration range of the field.
- getReadableInterval(ReadableInterval) - Static method in class org.joda.time.DateTimeUtils
-
Gets the interval handling null.
- getReadablePartial() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets the partial instant being used.
- getReadablePartial() - Method in class org.joda.time.MonthDay.Property
-
Gets the partial that this property belongs to.
- getReadablePartial() - Method in class org.joda.time.Partial.Property
-
Gets the partial that this property belongs to.
- getReadablePartial() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Gets the partial that this property belongs to.
- getReadablePartial() - Method in class org.joda.time.YearMonth.Property
-
Gets the partial that this property belongs to.
- getReadablePartial() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Gets the partial that this property belongs to.
- getRoundingField() - Method in class org.joda.time.MutableDateTime
-
Gets the field used for rounding this instant, returning null if rounding is not enabled.
- getRoundingMode() - Method in class org.joda.time.MutableDateTime
-
Gets the rounding mode for this instant, returning ROUND_NONE if rounding is not enabled.
- getScalar() - Method in class org.joda.time.field.ScaledDurationField
-
Returns the scalar applied, in the field's units.
- getSecondOfDay() - Method in class org.joda.time.base.AbstractDateTime
-
Get the second of day field value.
- getSecondOfDay() - Method in interface org.joda.time.ReadableDateTime
-
Get the second of day field value.
- getSecondOfMinute() - Method in class org.joda.time.base.AbstractDateTime
-
Get the second of minute field value.
- getSecondOfMinute() - Method in class org.joda.time.LocalDateTime
-
Get the second of minute field value.
- getSecondOfMinute() - Method in class org.joda.time.LocalTime
-
Get the second of minute field value.
- getSecondOfMinute() - Method in interface org.joda.time.ReadableDateTime
-
Get the second of minute field value.
- getSecondOfMinute() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the second of minute field value.
- getSeconds() - Method in class org.joda.time.MutablePeriod
-
Gets the seconds field part of the period.
- getSeconds() - Method in class org.joda.time.Period
-
Gets the seconds field part of the period.
- getSeconds() - Method in class org.joda.time.Seconds
-
Gets the number of seconds that this period represents.
- getShortName(long) - Method in class org.joda.time.DateTimeZone
-
Gets the short name of this datetime zone suitable for display using the default locale.
- getShortName(long, Locale) - Method in class org.joda.time.DateTimeZone
-
Gets the short name of this datetime zone suitable for display using the specified locale.
- getShortName(Locale, String, String) - Method in class org.joda.time.tz.DefaultNameProvider
- getShortName(Locale, String, String) - Method in interface org.joda.time.tz.NameProvider
-
Returns a localized short name, or null if not found.
- getShortName(Locale, String, String, boolean) - Method in class org.joda.time.tz.DefaultNameProvider
- getStandardDays() - Method in class org.joda.time.Duration
-
Gets the length of this duration in days assuming that there are the standard number of milliseconds in a day.
- getStandardHours() - Method in class org.joda.time.Duration
-
Gets the length of this duration in hours assuming that there are the standard number of milliseconds in an hour.
- getStandardMinutes() - Method in class org.joda.time.Duration
-
Gets the length of this duration in minutes assuming that there are the standard number of milliseconds in a minute.
- getStandardOffset(long) - Method in class org.joda.time.DateTimeZone
-
Gets the standard millisecond offset to add to UTC to get local time, when standard time is in effect.
- getStandardOffset(long) - Method in class org.joda.time.tz.CachedDateTimeZone
- getStandardOffset(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- getStandardSeconds() - Method in class org.joda.time.Duration
-
Gets the length of this duration in seconds assuming that there are the standard number of milliseconds in a second.
- getStart() - Method in class org.joda.time.base.AbstractInterval
-
Gets the start of this time interval, which is inclusive, as a DateTime.
- getStart() - Method in interface org.joda.time.ReadableInterval
-
Gets the start of this time interval, which is inclusive, as a DateTime.
- getStartMillis() - Method in class org.joda.time.base.BaseInterval
-
Gets the start of this time interval which is inclusive.
- getStartMillis() - Method in interface org.joda.time.ReadableInterval
-
Gets the start of this time interval which is inclusive.
- getSupportedType() - Method in interface org.joda.time.convert.Converter
-
Returns the object type that this converter supports, which may specified by a class, superclass, abstract class, interface, or null.
- getTimeOfDay() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Gets the partial that this property belongs to.
- getTimeOnlyInstance() - Static method in class org.joda.time.DateTimeComparator
-
Returns a comparator that only considers time fields.
- getType() - Method in class org.joda.time.DateTimeField
-
Get the type of the field.
- getType() - Method in class org.joda.time.DurationField
-
Get the type of the field.
- getType() - Method in class org.joda.time.field.BaseDateTimeField
- getType() - Method in class org.joda.time.field.BaseDurationField
- getType() - Method in class org.joda.time.field.DelegatedDateTimeField
- getType() - Method in class org.joda.time.field.DelegatedDurationField
- getType() - Method in class org.joda.time.field.MillisDurationField
- getType() - Method in class org.joda.time.field.UnsupportedDateTimeField
- getType() - Method in class org.joda.time.field.UnsupportedDurationField
- getUncachedZone() - Method in class org.joda.time.tz.CachedDateTimeZone
-
Returns the DateTimeZone being wrapped.
- getUnitMillis() - Method in class org.joda.time.DurationField
-
Returns the amount of milliseconds per unit value of this field.
- getUnitMillis() - Method in class org.joda.time.field.DecoratedDurationField
- getUnitMillis() - Method in class org.joda.time.field.DelegatedDurationField
- getUnitMillis() - Method in class org.joda.time.field.MillisDurationField
-
Returns the amount of milliseconds per unit value of this field.
- getUnitMillis() - Method in class org.joda.time.field.PreciseDurationDateTimeField
- getUnitMillis() - Method in class org.joda.time.field.PreciseDurationField
-
Returns the amount of milliseconds per unit value of this field.
- getUnitMillis() - Method in class org.joda.time.field.ScaledDurationField
- getUnitMillis() - Method in class org.joda.time.field.UnsupportedDurationField
-
Always returns zero.
- getUpperBound() - Method in exception org.joda.time.IllegalFieldValueException
-
Returns the upper bound of the legal value range, or null if not applicable.
- getUpperLimit() - Method in class org.joda.time.chrono.LimitChronology
-
Returns the inclusive upper limit instant.
- getUpperLimit() - Method in class org.joda.time.DateTimeComparator
-
Gets the field type that represents the upper limit of comparison.
- getValue() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the amount of this period.
- getValue(int) - Method in class org.joda.time.base.BasePartial
-
Gets the value of the field at the specified index.
- getValue(int) - Method in class org.joda.time.base.BasePeriod
-
Gets the value at the specified index.
- getValue(int) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the value at the specified index.
- getValue(int) - Method in class org.joda.time.LocalDate
-
Gets the value of the field at the specified index.
- getValue(int) - Method in class org.joda.time.LocalDateTime
-
Gets the value of the field at the specified index.
- getValue(int) - Method in class org.joda.time.LocalTime
-
Gets the value of the field at the specified index.
- getValue(int) - Method in class org.joda.time.Partial
-
Gets the value of the field at the specified index.
- getValue(int) - Method in interface org.joda.time.ReadablePartial
-
Gets the value at the specified index.
- getValue(int) - Method in interface org.joda.time.ReadablePeriod
-
Gets the value at the specified index.
- getValue(long) - Method in class org.joda.time.DurationField
-
Get the value of this field from the milliseconds, which is approximate if this field is imprecise.
- getValue(long) - Method in class org.joda.time.field.BaseDurationField
-
Get the value of this field from the milliseconds, which is approximate if this field is imprecise.
- getValue(long) - Method in class org.joda.time.field.DelegatedDurationField
- getValue(long) - Method in class org.joda.time.field.MillisDurationField
- getValue(long) - Method in class org.joda.time.field.ScaledDurationField
- getValue(long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getValue(long, long) - Method in class org.joda.time.DurationField
-
Get the value of this field from the milliseconds relative to an instant.
- getValue(long, long) - Method in class org.joda.time.field.BaseDurationField
-
Get the value of this field from the milliseconds relative to an instant.
- getValue(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- getValue(long, long) - Method in class org.joda.time.field.MillisDurationField
- getValue(long, long) - Method in class org.joda.time.field.ScaledDurationField
- getValue(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getValueAsLong(long) - Method in class org.joda.time.DurationField
-
Get the value of this field from the milliseconds, which is approximate if this field is imprecise.
- getValueAsLong(long) - Method in class org.joda.time.field.BaseDurationField
-
Get the value of this field from the milliseconds, which is approximate if this field is imprecise.
- getValueAsLong(long) - Method in class org.joda.time.field.DelegatedDurationField
- getValueAsLong(long) - Method in class org.joda.time.field.MillisDurationField
- getValueAsLong(long) - Method in class org.joda.time.field.ScaledDurationField
- getValueAsLong(long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getValueAsLong(long, long) - Method in class org.joda.time.DurationField
-
Get the value of this field from the milliseconds relative to an instant.
- getValueAsLong(long, long) - Method in class org.joda.time.field.DecoratedDurationField
- getValueAsLong(long, long) - Method in class org.joda.time.field.DelegatedDurationField
- getValueAsLong(long, long) - Method in class org.joda.time.field.MillisDurationField
- getValueAsLong(long, long) - Method in class org.joda.time.field.PreciseDurationField
-
Get the value of this field from the milliseconds.
- getValueAsLong(long, long) - Method in class org.joda.time.field.ScaledDurationField
- getValueAsLong(long, long) - Method in class org.joda.time.field.UnsupportedDurationField
-
Always throws UnsupportedOperationException
- getValues() - Method in class org.joda.time.base.AbstractPartial
-
Gets an array of the value of each of the fields that this partial supports.
- getValues() - Method in class org.joda.time.base.AbstractPeriod
-
Gets an array of the value of each of the fields that this period supports.
- getValues() - Method in class org.joda.time.base.BasePartial
-
Gets an array of the value of each of the fields that this partial supports.
- getValues() - Method in class org.joda.time.Partial
-
Gets an array of the value of each of the fields that this partial supports.
- getWeekOfWeekyear() - Method in class org.joda.time.base.AbstractDateTime
-
Get the week of weekyear field value.
- getWeekOfWeekyear() - Method in class org.joda.time.LocalDate
-
Get the week of weekyear field value.
- getWeekOfWeekyear() - Method in class org.joda.time.LocalDateTime
-
Get the week of weekyear field value.
- getWeekOfWeekyear() - Method in interface org.joda.time.ReadableDateTime
-
Get the week of weekyear field value.
- getWeeks() - Method in class org.joda.time.MutablePeriod
-
Gets the weeks field part of the period.
- getWeeks() - Method in class org.joda.time.Period
-
Gets the weeks field part of the period.
- getWeeks() - Method in class org.joda.time.Weeks
-
Gets the number of weeks that this period represents.
- getWeekyear() - Method in class org.joda.time.base.AbstractDateTime
-
Get the weekyear field value.
- getWeekyear() - Method in class org.joda.time.LocalDate
-
Get the weekyear field value.
- getWeekyear() - Method in class org.joda.time.LocalDateTime
-
Get the weekyear field value.
- getWeekyear() - Method in interface org.joda.time.ReadableDateTime
-
Get the weekyear field value.
- getWrappedField() - Method in class org.joda.time.field.DecoratedDateTimeField
-
Gets the wrapped date time field.
- getWrappedField() - Method in class org.joda.time.field.DecoratedDurationField
-
Gets the wrapped duration field.
- getWrappedField() - Method in class org.joda.time.field.DelegatedDateTimeField
-
Gets the wrapped date time field.
- getWrappedField() - Method in class org.joda.time.field.DelegatedDurationField
-
Gets the wrapped duration field.
- getWrappedValue(int, int, int) - Static method in class org.joda.time.field.FieldUtils
-
Utility method that ensures the given value lies within the field's legal value range.
- getWrappedValue(int, int, int, int) - Static method in class org.joda.time.field.FieldUtils
-
Utility method used by addWrapField implementations to ensure the new value lies within the field's legal value range.
- getYear() - Method in class org.joda.time.base.AbstractDateTime
-
Get the year field value.
- getYear() - Method in class org.joda.time.LocalDate
-
Get the year field value.
- getYear() - Method in class org.joda.time.LocalDateTime
-
Get the year field value.
- getYear() - Method in interface org.joda.time.ReadableDateTime
-
Get the year field value.
- getYear() - Method in class org.joda.time.YearMonth
-
Get the year field value.
- getYear() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the year field value.
- getYearMonth() - Method in class org.joda.time.YearMonth.Property
-
Gets the partial that this property belongs to.
- getYearMonthDay() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Gets the partial that this property belongs to.
- getYearOfCentury() - Method in class org.joda.time.base.AbstractDateTime
-
Get the year of century field value.
- getYearOfCentury() - Method in class org.joda.time.LocalDate
-
Get the year of century field value.
- getYearOfCentury() - Method in class org.joda.time.LocalDateTime
-
Get the year of century field value.
- getYearOfCentury() - Method in interface org.joda.time.ReadableDateTime
-
Get the year of century field value.
- getYearOfEra() - Method in class org.joda.time.base.AbstractDateTime
-
Get the year of era field value.
- getYearOfEra() - Method in class org.joda.time.LocalDate
-
Get the year of era field value.
- getYearOfEra() - Method in class org.joda.time.LocalDateTime
-
Get the year of era field value.
- getYearOfEra() - Method in interface org.joda.time.ReadableDateTime
-
Get the year of era field value.
- getYears() - Method in class org.joda.time.MutablePeriod
-
Gets the years field part of the period.
- getYears() - Method in class org.joda.time.Period
-
Gets the years field part of the period.
- getYears() - Method in class org.joda.time.Years
-
Gets the number of years that this period represents.
- getZone() - Method in class org.joda.time.base.AbstractInstant
-
Gets the time zone of the instant from the chronology.
- getZone() - Method in class org.joda.time.chrono.AssembledChronology
- getZone() - Method in class org.joda.time.chrono.BaseChronology
-
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
- getZone() - Method in class org.joda.time.chrono.CopticChronology
- getZone() - Method in class org.joda.time.chrono.GJChronology
- getZone() - Method in class org.joda.time.chrono.ZonedChronology
- getZone() - Method in class org.joda.time.Chronology
-
Returns the DateTimeZone that this Chronology operates in, or null if unspecified.
- getZone() - Method in class org.joda.time.format.DateTimeFormatter
-
Gets the zone to use as an override.
- getZone() - Method in class org.joda.time.format.DateTimeParserBucket
-
Returns the time zone used by computeMillis.
- getZone() - Method in interface org.joda.time.ReadableInstant
-
Gets the time zone of the instant from the chronology.
- getZone(String) - Method in interface org.joda.time.tz.Provider
-
Retrieves a DateTimeZone for the given id.
- getZone(String) - Method in class org.joda.time.tz.UTCProvider
-
Returns
UTC
for"UTC"
, null otherwise. - getZone(String) - Method in class org.joda.time.tz.ZoneInfoProvider
-
If an error is thrown while loading zone data, the exception is logged to system error and null is returned for this and all future requests.
- getZone(DateTimeZone) - Static method in class org.joda.time.DateTimeUtils
-
Gets the zone handling null.
- GJChronology - Class in org.joda.time.chrono
-
Implements the Gregorian/Julian calendar system which is the calendar system used in most of the world.
- GregorianChronology - Class in org.joda.time.chrono
-
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.
H
- halfdayOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- halfdayOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- halfdayOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the AM(0) PM(1) field for this chronology.
- halfdayOfDay() - Method in class org.joda.time.Chronology
-
Get the AM(0) PM(1) field for this chronology.
- halfdayOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the AM(0) PM(1) field type.
- halfdays - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- halfdays() - Method in class org.joda.time.chrono.AssembledChronology
- halfdays() - Method in class org.joda.time.chrono.BaseChronology
-
Get the halfdays duration field for this chronology.
- halfdays() - Method in class org.joda.time.Chronology
-
Get the halfdays duration field for this chronology.
- halfdays() - Static method in class org.joda.time.DurationFieldType
-
Get the halfdays field type.
- hashCode() - Method in class org.joda.time.base.AbstractDuration
-
Gets a hash code for the duration that is compatible with the equals method.
- hashCode() - Method in class org.joda.time.base.AbstractInstant
-
Gets a hash code for the instant as defined in
ReadableInstant
. - hashCode() - Method in class org.joda.time.base.AbstractInterval
-
Hashcode compatible with equals method.
- hashCode() - Method in class org.joda.time.base.AbstractPartial
-
Gets a hash code for the ReadablePartial that is compatible with the equals method.
- hashCode() - Method in class org.joda.time.base.AbstractPeriod
-
Gets a hash code for the period as defined by ReadablePeriod.
- hashCode() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets a hash code for the period as defined by ReadablePeriod.
- hashCode() - Method in class org.joda.time.chrono.CopticChronology
-
A suitable hash code for the chronology.
- hashCode() - Method in class org.joda.time.chrono.BuddhistChronology
-
A suitable hash code for the chronology.
- hashCode() - Method in class org.joda.time.chrono.GJChronology
-
A suitable hash code for the chronology.
- hashCode() - Method in class org.joda.time.chrono.IslamicChronology
-
A suitable hash code for the chronology.
- hashCode() - Method in class org.joda.time.chrono.IslamicChronology.LeapYearPatternType
- hashCode() - Method in class org.joda.time.chrono.ISOChronology
-
A suitable hash code for the chronology.
- hashCode() - Method in class org.joda.time.chrono.LenientChronology
-
A suitable hashcode for the chronology.
- hashCode() - Method in class org.joda.time.chrono.LimitChronology
-
A suitable hashcode for the chronology.
- hashCode() - Method in class org.joda.time.chrono.StrictChronology
-
A suitable hashcode for the chronology.
- hashCode() - Method in class org.joda.time.chrono.ZonedChronology
-
A suitable hashcode for the chronology.
- hashCode() - Method in class org.joda.time.DateTimeComparator
-
Gets a suitable hashcode.
- hashCode() - Method in class org.joda.time.DateTimeZone
-
Gets a hash code compatible with equals.
- hashCode() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Gets a suitable hashcode for the object.
- hashCode() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns a hashcode compatible with the equals method.
- hashCode() - Method in class org.joda.time.field.DelegatedDurationField
- hashCode() - Method in class org.joda.time.field.MillisDurationField
- hashCode() - Method in class org.joda.time.field.PreciseDurationField
-
Gets a hash code for this instance.
- hashCode() - Method in class org.joda.time.field.ScaledDurationField
-
Gets a hash code for this instance.
- hashCode() - Method in class org.joda.time.field.UnsupportedDurationField
-
Gets a suitable hashcode.
- hashCode() - Method in class org.joda.time.LocalDate
-
Gets a hash code for the instant as defined in
ReadablePartial
. - hashCode() - Method in class org.joda.time.PeriodType
-
Returns a hashcode based on the field types.
- hashCode() - Method in interface org.joda.time.ReadableDuration
-
Gets a hash code for the duration that is compatible with the equals method.
- hashCode() - Method in interface org.joda.time.ReadableInstant
-
Gets a hash code for the instant that is compatible with the equals method.
- hashCode() - Method in interface org.joda.time.ReadableInterval
-
Gets a hash code for the time interval that is compatible with the equals method.
- hashCode() - Method in interface org.joda.time.ReadablePartial
-
Gets a hash code for the partial that is compatible with the equals method.
- hashCode() - Method in interface org.joda.time.ReadablePeriod
-
Gets a hash code for the period that is compatible with the equals method.
- hashCode() - Method in class org.joda.time.tz.CachedDateTimeZone
- hashCode() - Method in class org.joda.time.tz.FixedDateTimeZone
- hour() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day.
- HOUR_OF_DAY - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.The index of the hourOfDay field in the field array
- hourMinute() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day and two digit minute of hour.
- hourMinuteSecond() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, and two digit second of minute.
- hourMinuteSecondFraction() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (HH:mm:ss.SSS).
- hourMinuteSecondMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and three digit fraction of second (HH:mm:ss.SSS).
- hourOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- hourOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- hourOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the hour of day (0-23) field for this chronology.
- hourOfDay() - Method in class org.joda.time.Chronology
-
Get the hour of day (0-23) field for this chronology.
- hourOfDay() - Method in class org.joda.time.DateTime
-
Get the hour of day field property which provides access to advanced functionality.
- hourOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the hour of day (0-23) field type.
- hourOfDay() - Method in class org.joda.time.LocalDateTime
-
Get the hour of day field property which provides access to advanced functionality.
- hourOfDay() - Method in class org.joda.time.LocalTime
-
Get the hour of day field property which provides access to advanced functionality.
- hourOfDay() - Method in class org.joda.time.MutableDateTime
-
Get the hour of day field property
- hourOfDay() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the hour of day field property which provides access to advanced functionality.
- hourOfHalfday - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- hourOfHalfday() - Method in class org.joda.time.chrono.AssembledChronology
- hourOfHalfday() - Method in class org.joda.time.chrono.BaseChronology
-
Get the hour of am/pm (0-11) field for this chronology.
- hourOfHalfday() - Method in class org.joda.time.Chronology
-
Get the hour of am/pm (0-11) field for this chronology.
- hourOfHalfday() - Static method in class org.joda.time.DateTimeFieldType
-
Get the hour of am/pm (0-11) field type.
- hours - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- hours() - Method in class org.joda.time.chrono.AssembledChronology
- hours() - Method in class org.joda.time.chrono.BaseChronology
-
Get the hours duration field for this chronology.
- hours() - Method in class org.joda.time.Chronology
-
Get the hours duration field for this chronology.
- hours() - Static method in class org.joda.time.DurationFieldType
-
Get the hours field type.
- hours() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the hours field.
- hours(int) - Static method in class org.joda.time.Hours
-
Obtains an instance of
Hours
that may be cached. - hours(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of hours.
- Hours - Class in org.joda.time
-
An immutable time period representing a number of hours.
- HOURS_PER_DAY - Static variable in class org.joda.time.DateTimeConstants
-
Hours in a typical day (24) (ISO).
- HOURS_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Hours in a typical week.
- hoursBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Hours
-
Creates a
Hours
representing the number of whole hours between the two specified datetimes. - hoursBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Hours
-
Creates a
Hours
representing the number of whole hours between the two specified partial datetimes. - hoursIn(ReadableInterval) - Static method in class org.joda.time.Hours
-
Creates a
Hours
representing the number of whole hours in the specified interval.
I
- IllegalFieldValueException - Exception in org.joda.time
-
Exception thrown when attempting to set a field outside its supported range.
- IllegalFieldValueException(String, Number, Number, Number) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(String, String) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(DateTimeFieldType, Number, Number, Number) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(DateTimeFieldType, Number, String) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(DateTimeFieldType, String) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(DurationFieldType, Number, Number, Number) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalFieldValueException(DurationFieldType, String) - Constructor for exception org.joda.time.IllegalFieldValueException
-
Constructor.
- IllegalInstantException - Exception in org.joda.time
-
Exception thrown when attempting to create an instant or date-time that cannot exist.
- IllegalInstantException(long, String) - Constructor for exception org.joda.time.IllegalInstantException
-
Constructor.
- IllegalInstantException(String) - Constructor for exception org.joda.time.IllegalInstantException
-
Constructor.
- ImpreciseDateTimeField - Class in org.joda.time.field
-
Abstract datetime field class that defines its own DurationField, which delegates back into this ImpreciseDateTimeField.
- ImpreciseDateTimeField(DateTimeFieldType, long) - Constructor for class org.joda.time.field.ImpreciseDateTimeField
-
Constructor.
- indexOf(DateTimeFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Gets the index of the specified field, or -1 if the field is unsupported.
- indexOf(DurationFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Gets the index of the first fields to have the specified duration, or -1 if the field is unsupported.
- indexOf(DurationFieldType) - Method in class org.joda.time.base.AbstractPeriod
-
Gets the index of the field in this period.
- indexOf(DurationFieldType) - Method in class org.joda.time.PeriodType
-
Gets the index of the field in this period.
- indexOfSupported(DateTimeFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Gets the index of the specified field, throwing an exception if the field is unsupported.
- indexOfSupported(DurationFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Gets the index of the first fields to have the specified duration, throwing an exception if the field is unsupported.
- INSTANCE - Static variable in class org.joda.time.field.MillisDurationField
-
Singleton instance.
- Instant - Class in org.joda.time
-
Instant is the standard implementation of a fully immutable instant in time.
- Instant() - Constructor for class org.joda.time.Instant
-
Constructs an instance set to the current system millisecond time.
- Instant(long) - Constructor for class org.joda.time.Instant
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z.
- Instant(Object) - Constructor for class org.joda.time.Instant
-
Constructs an instance from an Object that represents a datetime.
- InstantConverter - Interface in org.joda.time.convert
-
InstantConverter defines how an object is converted to milliseconds/chronology.
- Interval - Class in org.joda.time
-
Interval is the standard implementation of an immutable time interval.
- Interval(long, long) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start and end instant with the ISO default chronology in the default time zone.
- Interval(long, long, Chronology) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start and end instant with the specified chronology.
- Interval(long, long, DateTimeZone) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start and end instant with the ISO default chronology in the specified time zone.
- Interval(Object) - Constructor for class org.joda.time.Interval
-
Constructs a time interval by converting or copying from another object.
- Interval(Object, Chronology) - Constructor for class org.joda.time.Interval
-
Constructs a time interval by converting or copying from another object, overriding the chronology.
- Interval(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a millisecond duration and an end instant.
- Interval(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start instant and a duration.
- Interval(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start and end instant.
- Interval(ReadableInstant, ReadablePeriod) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a start instant and a time period.
- Interval(ReadablePeriod, ReadableInstant) - Constructor for class org.joda.time.Interval
-
Constructs an interval from a time period and an end instant.
- IntervalConverter - Interface in org.joda.time.convert
-
IntervalConverter defines how an object is converted to an interval.
- isAfter(long) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly after the millisecond instant passed in comparing solely by millisecond.
- isAfter(long) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval after the specified millisecond instant.
- isAfter(ReadableInstant) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly after the instant passed in comparing solely by millisecond.
- isAfter(ReadableInstant) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval after the specified instant.
- isAfter(ReadableInstant) - Method in interface org.joda.time.ReadableInstant
-
Is this instant after the instant passed in comparing solely by millisecond.
- isAfter(ReadableInstant) - Method in interface org.joda.time.ReadableInterval
-
Is this time interval after the specified instant.
- isAfter(ReadableInterval) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval entirely after the specified interval.
- isAfter(ReadableInterval) - Method in interface org.joda.time.ReadableInterval
-
Is this time interval entirely after the specified interval.
- isAfter(ReadablePartial) - Method in class org.joda.time.base.AbstractPartial
-
Is this partial later than the specified partial.
- isAfterNow() - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly after the current instant comparing solely by millisecond.
- isAfterNow() - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval after the current instant.
- isBefore(long) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly before the millisecond instant passed in comparing solely by millisecond.
- isBefore(long) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval before the specified millisecond instant.
- isBefore(ReadableInstant) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly before the instant passed in comparing solely by millisecond.
- isBefore(ReadableInstant) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval before the specified instant.
- isBefore(ReadableInstant) - Method in interface org.joda.time.ReadableInstant
-
Is this instant before the instant passed in comparing solely by millisecond.
- isBefore(ReadableInstant) - Method in interface org.joda.time.ReadableInterval
-
Is this time interval before the specified instant.
- isBefore(ReadableInterval) - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval entirely before the specified instant.
- isBefore(ReadableInterval) - Method in interface org.joda.time.ReadableInterval
-
Is this time interval entirely before the specified interval.
- isBefore(ReadablePartial) - Method in class org.joda.time.base.AbstractPartial
-
Is this partial earlier than the specified partial.
- isBeforeNow() - Method in class org.joda.time.base.AbstractInstant
-
Is this instant strictly before the current instant comparing solely by millisecond.
- isBeforeNow() - Method in class org.joda.time.base.AbstractInterval
-
Is this time interval before the current instant.
- isContiguous(ReadablePartial) - Static method in class org.joda.time.DateTimeUtils
-
Checks whether the partial is contiguous.
- isEqual(long) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant equal to the millisecond instant passed in comparing solely by millisecond.
- isEqual(ReadableDuration) - Method in class org.joda.time.base.AbstractDuration
-
Is the length of this duration equal to the duration passed in.
- isEqual(ReadableDuration) - Method in interface org.joda.time.ReadableDuration
-
Is the length of this duration equal to the duration passed in.
- isEqual(ReadableInstant) - Method in class org.joda.time.base.AbstractInstant
-
Is this instant equal to the instant passed in comparing solely by millisecond.
- isEqual(ReadableInstant) - Method in interface org.joda.time.ReadableInstant
-
Is this instant equal to the instant passed in comparing solely by millisecond.
- isEqual(ReadableInterval) - Method in class org.joda.time.base.AbstractInterval
-
Is this interval equal to the specified interval ignoring the chronology.
- isEqual(ReadablePartial) - Method in class org.joda.time.base.AbstractPartial
-
Is this partial the same as the specified partial.
- isEqualNow() - Method in class org.joda.time.base.AbstractInstant
-
Is this instant equal to the current instant comparing solely by millisecond.
- isFixed() - Method in class org.joda.time.DateTimeZone
-
Returns true if this time zone has no transitions.
- isFixed() - Method in class org.joda.time.tz.CachedDateTimeZone
- isFixed() - Method in class org.joda.time.tz.FixedDateTimeZone
- isGreaterThan(Days) - Method in class org.joda.time.Days
-
Is this days instance greater than the specified number of days.
- isGreaterThan(Hours) - Method in class org.joda.time.Hours
-
Is this hours instance greater than the specified number of hours.
- isGreaterThan(Minutes) - Method in class org.joda.time.Minutes
-
Is this minutes instance greater than the specified number of minutes.
- isGreaterThan(Months) - Method in class org.joda.time.Months
-
Is this months instance greater than the specified number of months.
- isGreaterThan(Seconds) - Method in class org.joda.time.Seconds
-
Is this seconds instance greater than the specified number of seconds.
- isGreaterThan(Weeks) - Method in class org.joda.time.Weeks
-
Is this weeks instance greater than the specified number of weeks.
- isGreaterThan(Years) - Method in class org.joda.time.Years
-
Is this years instance greater than the specified number of years.
- isIllegalInstant(Throwable) - Static method in exception org.joda.time.IllegalInstantException
-
Checks if the exception is, or has a cause, of
IllegalInstantException
. - IslamicChronology - Class in org.joda.time.chrono
-
Implements the Islamic, or Hijri, calendar system using arithmetic rules.
- IslamicChronology.LeapYearPatternType - Class in org.joda.time.chrono
-
Opaque object describing a leap year pattern for the Islamic Chronology.
- isLeap() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Gets whether this field is leap.
- isLeap(long) - Method in class org.joda.time.DateTimeField
-
Returns whether this field is 'leap' for the specified instant.
- isLeap(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Returns whether this field is 'leap' for the specified instant.
- isLeap(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- isLeap(long) - Method in class org.joda.time.field.OffsetDateTimeField
- isLeap(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- isLeap(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- isLenient() - Method in class org.joda.time.DateTimeField
-
Returns true if the set method is lenient.
- isLenient() - Method in class org.joda.time.field.DecoratedDateTimeField
- isLenient() - Method in class org.joda.time.field.DelegatedDateTimeField
- isLenient() - Method in class org.joda.time.field.LenientDateTimeField
- isLenient() - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Returns false by default.
- isLenient() - Method in class org.joda.time.field.StrictDateTimeField
- isLenient() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
This field is not lenient.
- isLessThan(Days) - Method in class org.joda.time.Days
-
Is this days instance less than the specified number of days.
- isLessThan(Hours) - Method in class org.joda.time.Hours
-
Is this hours instance less than the specified number of hours.
- isLessThan(Minutes) - Method in class org.joda.time.Minutes
-
Is this minutes instance less than the specified number of minutes.
- isLessThan(Months) - Method in class org.joda.time.Months
-
Is this months instance less than the specified number of months.
- isLessThan(Seconds) - Method in class org.joda.time.Seconds
-
Is this seconds instance less than the specified number of seconds.
- isLessThan(Weeks) - Method in class org.joda.time.Weeks
-
Is this weeks instance less than the specified number of weeks.
- isLessThan(Years) - Method in class org.joda.time.Years
-
Is this years instance less than the specified number of years.
- isLocalDateTimeGap(LocalDateTime) - Method in class org.joda.time.DateTimeZone
-
Checks if the given
LocalDateTime
is within a gap. - isLongerThan(ReadableDuration) - Method in class org.joda.time.base.AbstractDuration
-
Is the length of this duration longer than the duration passed in.
- isLongerThan(ReadableDuration) - Method in interface org.joda.time.ReadableDuration
-
Is the length of this duration longer than the duration passed in.
- isMatch(ReadableInstant) - Method in class org.joda.time.Partial
-
Does this partial match the specified instant.
- isMatch(ReadablePartial) - Method in class org.joda.time.Partial
-
Does this partial match the specified partial.
- ISOChronology - Class in org.joda.time.chrono
-
Implements a chronology that follows the rules of the ISO8601 standard, which is compatible with Gregorian for all modern dates.
- ISODateTimeFormat - Class in org.joda.time.format
-
Factory that creates instances of DateTimeFormatter based on the ISO8601 standard.
- ISODateTimeFormat() - Constructor for class org.joda.time.format.ISODateTimeFormat
-
Constructor.
- isOffsetParsed() - Method in class org.joda.time.format.DateTimeFormatter
-
Checks whether the offset from the string is used as the zone of the parsed datetime.
- ISOPeriodFormat - Class in org.joda.time.format
-
Factory that creates instances of PeriodFormatter for the ISO8601 standard.
- ISOPeriodFormat() - Constructor for class org.joda.time.format.ISOPeriodFormat
-
Constructor.
- isParser() - Method in class org.joda.time.format.DateTimeFormatter
-
Is this formatter capable of parsing.
- isParser() - Method in class org.joda.time.format.PeriodFormatter
-
Is this formatter capable of parsing.
- isPrecise() - Method in class org.joda.time.DurationField
-
Is this field precise.
- isPrecise() - Method in class org.joda.time.field.DecoratedDurationField
- isPrecise() - Method in class org.joda.time.field.DelegatedDurationField
- isPrecise() - Method in class org.joda.time.field.MillisDurationField
-
Returns true as this field is precise.
- isPrecise() - Method in class org.joda.time.field.PreciseDurationField
-
This field is precise.
- isPrecise() - Method in class org.joda.time.field.UnsupportedDurationField
-
This field is precise.
- isPrinter() - Method in class org.joda.time.format.DateTimeFormatter
-
Is this formatter capable of printing.
- isPrinter() - Method in class org.joda.time.format.PeriodFormatter
-
Is this formatter capable of printing.
- isReadableInterval(Object, Chronology) - Method in class org.joda.time.convert.AbstractConverter
-
Checks if the input is a ReadableInterval.
- isReadableInterval(Object, Chronology) - Method in interface org.joda.time.convert.IntervalConverter
-
Checks if the input is a ReadableInterval.
- isShorterThan(ReadableDuration) - Method in class org.joda.time.base.AbstractDuration
-
Is the length of this duration shorter than the duration passed in.
- isShorterThan(ReadableDuration) - Method in interface org.joda.time.ReadableDuration
-
Is the length of this duration shorter than the duration passed in.
- isStandardOffset(long) - Method in class org.joda.time.DateTimeZone
-
Checks whether, at a particular instant, the offset is standard or not.
- isSupported() - Method in class org.joda.time.DateTimeField
-
Returns true if this field is supported.
- isSupported() - Method in class org.joda.time.DurationField
-
Returns true if this field is supported.
- isSupported() - Method in class org.joda.time.field.BaseDateTimeField
- isSupported() - Method in class org.joda.time.field.BaseDurationField
- isSupported() - Method in class org.joda.time.field.DelegatedDateTimeField
- isSupported() - Method in class org.joda.time.field.DelegatedDurationField
-
Returns true if this field is supported.
- isSupported() - Method in class org.joda.time.field.MillisDurationField
-
Returns true as this field is supported.
- isSupported() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
This field is not supported.
- isSupported() - Method in class org.joda.time.field.UnsupportedDurationField
-
This field is not supported.
- isSupported(Chronology) - Method in class org.joda.time.DateTimeFieldType
-
Checks whether this field supported in the given Chronology.
- isSupported(Chronology) - Method in class org.joda.time.DurationFieldType
-
Checks whether this field supported in the given Chronology.
- isSupported(DateTimeFieldType) - Method in class org.joda.time.base.AbstractInstant
-
Checks if the field type specified is supported by this instant and chronology.
- isSupported(DateTimeFieldType) - Method in class org.joda.time.base.AbstractPartial
-
Checks whether the field specified is supported by this partial.
- isSupported(DateTimeFieldType) - Method in class org.joda.time.LocalDate
-
Checks if the field type specified is supported by this local date and chronology.
- isSupported(DateTimeFieldType) - Method in class org.joda.time.LocalDateTime
-
Checks if the field type specified is supported by this local datetime and chronology.
- isSupported(DateTimeFieldType) - Method in class org.joda.time.LocalTime
-
Checks if the field type specified is supported by this local time and chronology.
- isSupported(DateTimeFieldType) - Method in interface org.joda.time.ReadableInstant
-
Checks whether the field type specified is supported by this implementation.
- isSupported(DateTimeFieldType) - Method in interface org.joda.time.ReadablePartial
-
Checks whether the field type specified is supported by this partial.
- isSupported(DurationFieldType) - Method in class org.joda.time.base.AbstractPeriod
-
Checks whether the field specified is supported by this period.
- isSupported(DurationFieldType) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Checks whether the duration field specified is supported by this period.
- isSupported(DurationFieldType) - Method in class org.joda.time.LocalDate
-
Checks if the duration type specified is supported by this local date and chronology.
- isSupported(DurationFieldType) - Method in class org.joda.time.LocalDateTime
-
Checks if the duration type specified is supported by this local datetime and chronology.
- isSupported(DurationFieldType) - Method in class org.joda.time.LocalTime
-
Checks if the duration type specified is supported by this local time and chronology.
- isSupported(DurationFieldType) - Method in class org.joda.time.PeriodType
-
Checks whether the field specified is supported by this period.
- isSupported(DurationFieldType) - Method in interface org.joda.time.ReadablePeriod
-
Checks whether the field type specified is supported by this period.
J
- JANUARY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (1) representing January, the first month (ISO)
- JodaTimePermission - Class in org.joda.time
-
JodaTimePermission is used for securing global method calls in the Joda-Time library.
- JodaTimePermission(String) - Constructor for class org.joda.time.JodaTimePermission
-
Constructs a new permission object.
- JulianChronology - Class in org.joda.time.chrono
-
Implements a pure proleptic Julian calendar system, which defines every fourth year as leap.
- JULY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (7) representing July, the seventh month (ISO)
- JUNE - Static variable in class org.joda.time.DateTimeConstants
-
Constant (6) representing June, the sixth month (ISO)
L
- LEAP_YEAR_15_BASED - Static variable in class org.joda.time.chrono.IslamicChronology
-
Leap year 15-based pattern.
- LEAP_YEAR_16_BASED - Static variable in class org.joda.time.chrono.IslamicChronology
-
Leap year 16-based pattern.
- LEAP_YEAR_HABASH_AL_HASIB - Static variable in class org.joda.time.chrono.IslamicChronology
-
Leap year Habash al-Hasib pattern.
- LEAP_YEAR_INDIAN - Static variable in class org.joda.time.chrono.IslamicChronology
-
Leap year Indian pattern.
- LenientChronology - Class in org.joda.time.chrono
-
Wraps another Chronology, ensuring all the fields are lenient.
- LenientDateTimeField - Class in org.joda.time.field
-
Converts a strict DateTimeField into a lenient one.
- LenientDateTimeField(DateTimeField, Chronology) - Constructor for class org.joda.time.field.LenientDateTimeField
- LimitChronology - Class in org.joda.time.chrono
-
Wraps another Chronology to impose limits on the range of instants that the fields within a Chronology may support.
- LocalDate - Class in org.joda.time
-
LocalDate is an immutable datetime class representing a date without a time zone.
- LocalDate() - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the current local time evaluated using ISO chronology in the default zone.
- LocalDate(int, int, int) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the specified date and time using
ISOChronology
. - LocalDate(int, int, int, Chronology) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the specified date and time using the specified chronology, whose zone is ignored.
- LocalDate(long) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the default zone.
- LocalDate(long, Chronology) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
- LocalDate(long, DateTimeZone) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
- LocalDate(Object) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance from an Object that represents a datetime.
- LocalDate(Object, Chronology) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- LocalDate(Object, DateTimeZone) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- LocalDate(Chronology) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the current local time evaluated using specified chronology.
- LocalDate(DateTimeZone) - Constructor for class org.joda.time.LocalDate
-
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
- LocalDate.Property - Class in org.joda.time
-
LocalDate.Property binds a LocalDate to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- localDateOptionalTimeParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO datetime parser where the date is mandatory and the time is optional.
- localDateParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO date parser for parsing local dates.
- LocalDateTime - Class in org.joda.time
-
LocalDateTime is an unmodifiable datetime class representing a datetime without a time zone.
- LocalDateTime() - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the current local time evaluated using ISO chronology in the default zone.
- LocalDateTime(int, int, int, int, int) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the specified date and time using
ISOChronology
. - LocalDateTime(int, int, int, int, int, int) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the specified date and time using
ISOChronology
. - LocalDateTime(int, int, int, int, int, int, int) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the specified date and time using
ISOChronology
. - LocalDateTime(int, int, int, int, int, int, int, Chronology) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the specified date and time using the specified chronology, whose zone is ignored.
- LocalDateTime(long) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the default zone.
- LocalDateTime(long, Chronology) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
- LocalDateTime(long, DateTimeZone) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
- LocalDateTime(Object) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance from an Object that represents a datetime.
- LocalDateTime(Object, Chronology) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- LocalDateTime(Object, DateTimeZone) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- LocalDateTime(Chronology) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the current local time evaluated using specified chronology.
- LocalDateTime(DateTimeZone) - Constructor for class org.joda.time.LocalDateTime
-
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
- LocalDateTime.Property - Class in org.joda.time
-
LocalDateTime.Property binds a LocalDateTime to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- LocalTime - Class in org.joda.time
-
LocalTime is an immutable time class representing a time without a time zone.
- LocalTime() - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the current local time evaluated using ISO chronology in the default zone.
- LocalTime(int, int) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the specified time using
ISOChronology
. - LocalTime(int, int, int) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the specified time using
ISOChronology
. - LocalTime(int, int, int, int) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the specified time using
ISOChronology
. - LocalTime(int, int, int, int, Chronology) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the specified time using the specified chronology, whose zone is ignored.
- LocalTime(long) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the default zone.
- LocalTime(long, Chronology) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using the specified chronology.
- LocalTime(long, DateTimeZone) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the local time defined by the specified instant evaluated using ISO chronology in the specified zone.
- LocalTime(Object) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance from an Object that represents a datetime.
- LocalTime(Object, Chronology) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- LocalTime(Object, DateTimeZone) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- LocalTime(Chronology) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the current local time evaluated using specified chronology and zone.
- LocalTime(DateTimeZone) - Constructor for class org.joda.time.LocalTime
-
Constructs an instance set to the current local time evaluated using ISO chronology in the specified zone.
- LocalTime.Property - Class in org.joda.time
-
LocalTime.Property binds a LocalTime to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- localTimeParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO time parser for parsing local times.
- longDate() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a long date format.
- longDateTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a long datetime format.
- longTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a long time format.
M
- main(String[]) - Static method in class org.joda.time.tz.ZoneInfoCompiler
-
Launches the ZoneInfoCompiler tool.
- MARCH - Static variable in class org.joda.time.DateTimeConstants
-
Constant (3) representing March, the third month (ISO)
- MAX_VALUE - Static variable in class org.joda.time.Days
-
Constant representing the maximum number of days that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Hours
-
Constant representing the maximum number of hours that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Minutes
-
Constant representing the maximum number of minutes that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Months
-
Constant representing the maximum number of months that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Seconds
-
Constant representing the maximum number of seconds that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Weeks
-
Constant representing the maximum number of weeks that can be stored in this object.
- MAX_VALUE - Static variable in class org.joda.time.Years
-
Constant representing the maximum number of years that can be stored in this object.
- maximumParsedDigits(int) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Set the maximum digits parsed for the next and following appended fields.
- MAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (5) representing May, the fifth month (ISO)
- mediumDate() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a medium date format.
- mediumDateTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a medium datetime format.
- mediumTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a medium time format.
- mergePeriod(ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Merges the fields from another period.
- mergePeriod(ReadablePeriod) - Method in class org.joda.time.MutablePeriod
-
Merges all the fields from the specified period into this one.
- mergePeriodInto(int[], ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Merges the fields from another period.
- MIDNIGHT - Static variable in class org.joda.time.LocalTime
-
Constant for midnight.
- MIDNIGHT - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.Constant for midnight.
- millis - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- millis() - Method in class org.joda.time.chrono.AssembledChronology
- millis() - Method in class org.joda.time.chrono.BaseChronology
-
Get the millis duration field for this chronology.
- millis() - Method in class org.joda.time.Chronology
-
Get the millis duration field for this chronology.
- millis() - Static method in class org.joda.time.DurationFieldType
-
Get the millis field type.
- millis() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the millis field.
- millis(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of millis.
- millis(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of milliseconds.
- MILLIS_OF_SECOND - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.The index of the millisOfSecond field in the field array
- MILLIS_PER_DAY - Static variable in class org.joda.time.DateTimeConstants
-
Milliseconds in a typical day (ISO).
- MILLIS_PER_HOUR - Static variable in class org.joda.time.DateTimeConstants
-
Milliseconds in one hour (ISO)
- MILLIS_PER_MINUTE - Static variable in class org.joda.time.DateTimeConstants
-
Milliseconds in one minute (ISO)
- MILLIS_PER_SECOND - Static variable in class org.joda.time.DateTimeConstants
-
Milliseconds in one second (1000) (ISO)
- MILLIS_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Milliseconds in a typical week (ISO).
- MillisDurationField - Class in org.joda.time.field
-
Duration field class representing a field with a fixed unit length of one millisecond.
- millisOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- millisOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- millisOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the millis of day field for this chronology.
- millisOfDay() - Method in class org.joda.time.Chronology
-
Get the millis of day field for this chronology.
- millisOfDay() - Method in class org.joda.time.DateTime
-
Get the millis of day property which provides access to advanced functionality.
- millisOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the millis of day field type.
- millisOfDay() - Method in class org.joda.time.LocalDateTime
-
Get the millis of day property which provides access to advanced functionality.
- millisOfDay() - Method in class org.joda.time.LocalTime
-
Get the millis of day property which provides access to advanced functionality.
- millisOfDay() - Method in class org.joda.time.MutableDateTime
-
Get the millis of day property
- millisOfSecond - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- millisOfSecond() - Method in class org.joda.time.chrono.AssembledChronology
- millisOfSecond() - Method in class org.joda.time.chrono.BaseChronology
-
Get the millis of second field for this chronology.
- millisOfSecond() - Method in class org.joda.time.Chronology
-
Get the millis of second field for this chronology.
- millisOfSecond() - Method in class org.joda.time.DateTime
-
Get the millis of second property which provides access to advanced functionality.
- millisOfSecond() - Static method in class org.joda.time.DateTimeFieldType
-
Get the millis of second field type.
- millisOfSecond() - Method in class org.joda.time.LocalDateTime
-
Get the millis of second property which provides access to advanced functionality.
- millisOfSecond() - Method in class org.joda.time.LocalTime
-
Get the millis of second property which provides access to advanced functionality.
- millisOfSecond() - Method in class org.joda.time.MutableDateTime
-
Get the millis of second property
- millisOfSecond() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the millis of second property which provides access to advanced functionality.
- MIN_VALUE - Static variable in class org.joda.time.Days
-
Constant representing the minimum number of days that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Hours
-
Constant representing the minimum number of hours that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Minutes
-
Constant representing the minimum number of minutes that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Months
-
Constant representing the minimum number of months that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Seconds
-
Constant representing the minimum number of seconds that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Weeks
-
Constant representing the minimum number of weeks that can be stored in this object.
- MIN_VALUE - Static variable in class org.joda.time.Years
-
Constant representing the minimum number of years that can be stored in this object.
- minimumPrintedDigits(int) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Set the minimum digits printed for the next and following appended fields.
- minus(int) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days taken away.
- minus(int) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours taken away.
- minus(int) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes taken away.
- minus(int) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months taken away.
- minus(int) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds taken away.
- minus(int) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks taken away.
- minus(int) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years taken away.
- minus(long) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration taken away.
- minus(long) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration taken away.
- minus(long) - Method in class org.joda.time.Duration
-
Returns a new duration with this length minus that specified.
- minus(long) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration taken away.
- minus(Days) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days taken away.
- minus(Hours) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours taken away.
- minus(Minutes) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes taken away.
- minus(Months) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months taken away.
- minus(ReadableDuration) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration taken away.
- minus(ReadableDuration) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration taken away.
- minus(ReadableDuration) - Method in class org.joda.time.Duration
-
Returns a new duration with this length minus that specified.
- minus(ReadableDuration) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration taken away.
- minus(ReadableDuration) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified duration taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.Partial
-
Gets a copy of this instance with the specified period take away.
- minus(ReadablePeriod) - Method in class org.joda.time.Period
-
Returns a new period with the specified period subtracted.
- minus(ReadablePeriod) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the specified period taken away, wrapping to what would be a new day if required.
- minus(ReadablePeriod) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the specified period taken away.
- minus(ReadablePeriod) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the specified period taken away.
- minus(Seconds) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds taken away.
- minus(Weeks) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks taken away.
- minus(Years) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years taken away.
- minusDays(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date minus the specified number of days.
- minusDays(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of days.
- minusDays(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date minus the specified number of days.
- minusDays(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of days.
- minusDays(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day minus the specified number of months.
- minusDays(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of days taken away.
- minusDays(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date minus the specified number of days.
- minusHours(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of hours.
- minusHours(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of hours.
- minusHours(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time minus the specified number of hours.
- minusHours(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of hours taken away.
- minusHours(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time minus the specified number of hours.
- minusMillis(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of millis.
- minusMillis(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of millis.
- minusMillis(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time minus the specified number of millis.
- minusMillis(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of millis taken away.
- minusMillis(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time minus the specified number of millis.
- minusMinutes(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of minutes.
- minusMinutes(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of minutes.
- minusMinutes(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time minus the specified number of minutes.
- minusMinutes(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of minutes taken away.
- minusMinutes(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time minus the specified number of minutes.
- minusMonths(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of months taken away.
- minusMonths(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month minus the specified number of months.
- minusMonths(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date minus the specified number of months.
- minusSeconds(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of seconds.
- minusSeconds(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of seconds.
- minusSeconds(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time minus the specified number of seconds.
- minusSeconds(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of seconds taken away.
- minusSeconds(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time minus the specified number of seconds.
- minusWeeks(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date minus the specified number of weeks.
- minusWeeks(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of weeks.
- minusWeeks(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date minus the specified number of weeks.
- minusWeeks(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of weeks.
- minusWeeks(int) - Method in class org.joda.time.Period
-
Returns a new period minus the specified number of weeks taken away.
- minusYears(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date minus the specified number of years.
- minusYears(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime minus the specified number of years.
- minusYears(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date minus the specified number of years.
- minusYears(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime minus the specified number of years.
- minusYears(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of years taken away.
- minusYears(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month minus the specified number of years.
- minusYears(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date minus the specified number of years.
- MINUTE_OF_HOUR - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.The index of the minuteOfHour field in the field array
- minuteOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- minuteOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- minuteOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the minute of day field for this chronology.
- minuteOfDay() - Method in class org.joda.time.Chronology
-
Get the minute of day field for this chronology.
- minuteOfDay() - Method in class org.joda.time.DateTime
-
Get the minute of day property which provides access to advanced functionality.
- minuteOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the minute of day field type.
- minuteOfDay() - Method in class org.joda.time.MutableDateTime
-
Get the minute of day property
- minuteOfHour - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- minuteOfHour() - Method in class org.joda.time.chrono.AssembledChronology
- minuteOfHour() - Method in class org.joda.time.chrono.BaseChronology
-
Get the minute of hour field for this chronology.
- minuteOfHour() - Method in class org.joda.time.Chronology
-
Get the minute of hour field for this chronology.
- minuteOfHour() - Method in class org.joda.time.DateTime
-
Get the minute of hour field property which provides access to advanced functionality.
- minuteOfHour() - Static method in class org.joda.time.DateTimeFieldType
-
Get the minute of hour field type.
- minuteOfHour() - Method in class org.joda.time.LocalDateTime
-
Get the minute of hour field property which provides access to advanced functionality.
- minuteOfHour() - Method in class org.joda.time.LocalTime
-
Get the minute of hour field property which provides access to advanced functionality.
- minuteOfHour() - Method in class org.joda.time.MutableDateTime
-
Get the minute of hour field property
- minuteOfHour() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the minute of hour field property which provides access to advanced functionality.
- minutes - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- minutes() - Method in class org.joda.time.chrono.AssembledChronology
- minutes() - Method in class org.joda.time.chrono.BaseChronology
-
Get the minutes duration field for this chronology.
- minutes() - Method in class org.joda.time.Chronology
-
Get the minutes duration field for this chronology.
- minutes() - Static method in class org.joda.time.DurationFieldType
-
Get the minutes field type.
- minutes() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the minutes field.
- minutes(int) - Static method in class org.joda.time.Minutes
-
Obtains an instance of
Minutes
that may be cached. - minutes(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of minutes.
- Minutes - Class in org.joda.time
-
An immutable time period representing a number of minutes.
- MINUTES_PER_DAY - Static variable in class org.joda.time.DateTimeConstants
-
Minutes in a typical day (ISO).
- MINUTES_PER_HOUR - Static variable in class org.joda.time.DateTimeConstants
-
Minutes in one hour (ISO)
- MINUTES_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Minutes in a typical week (ISO).
- minutesBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Minutes
-
Creates a
Minutes
representing the number of whole minutes between the two specified datetimes. - minutesBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Minutes
-
Creates a
Minutes
representing the number of whole minutes between the two specified partial datetimes. - minutesIn(ReadableInterval) - Static method in class org.joda.time.Minutes
-
Creates a
Minutes
representing the number of whole minutes in the specified interval. - MONDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (1) representing Monday, the first day of the week (ISO)
- MONTH_OF_YEAR - Static variable in class org.joda.time.MonthDay
-
The index of the monthOfYear field in the field array
- MONTH_OF_YEAR - Static variable in class org.joda.time.YearMonth
-
The index of the monthOfYear field in the field array
- MONTH_OF_YEAR - Static variable in class org.joda.time.YearMonthDay
-
Deprecated.The index of the monthOfYear field in the field array
- MonthDay - Class in org.joda.time
-
MonthDay is an immutable partial supporting the monthOfYear and dayOfMonth fields.
- MonthDay() - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay with the current monthOfYear, using ISOChronology in the default zone to extract the fields.
- MonthDay(int, int) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay with specified year and month using
ISOChronology
. - MonthDay(int, int, Chronology) - Constructor for class org.joda.time.MonthDay
-
Constructs an instance set to the specified monthOfYear and dayOfMonth using the specified chronology, whose zone is ignored.
- MonthDay(long) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
- MonthDay(long, Chronology) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay extracting the partial fields from the specified milliseconds using the chronology provided.
- MonthDay(Object) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay from an Object that represents some form of time.
- MonthDay(Object, Chronology) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay from an Object that represents some form of time, using the specified chronology.
- MonthDay(Chronology) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay with the current month-day, using the specified chronology and zone to extract the fields.
- MonthDay(DateTimeZone) - Constructor for class org.joda.time.MonthDay
-
Constructs a MonthDay with the current month-day, using ISOChronology in the specified zone to extract the fields.
- MonthDay.Property - Class in org.joda.time
-
The property class for
MonthDay
. - monthOfYear - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- monthOfYear() - Method in class org.joda.time.chrono.AssembledChronology
- monthOfYear() - Method in class org.joda.time.chrono.BaseChronology
-
Get the month of year field for this chronology.
- monthOfYear() - Method in class org.joda.time.Chronology
-
Get the month of year field for this chronology.
- monthOfYear() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the month of year property which provides access to advanced functionality.
- monthOfYear() - Method in class org.joda.time.DateTime
-
Get the month of year property which provides access to advanced functionality.
- monthOfYear() - Static method in class org.joda.time.DateTimeFieldType
-
Get the month of year field type.
- monthOfYear() - Method in class org.joda.time.LocalDate
-
Get the month of year property which provides access to advanced functionality.
- monthOfYear() - Method in class org.joda.time.LocalDateTime
-
Get the month of year property which provides access to advanced functionality.
- monthOfYear() - Method in class org.joda.time.MonthDay
-
Get the month of year field property which provides access to advanced functionality.
- monthOfYear() - Method in class org.joda.time.MutableDateTime
-
Get the month of year property.
- monthOfYear() - Method in class org.joda.time.YearMonth
-
Get the month of year field property which provides access to advanced functionality.
- monthOfYear() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the month of year field property which provides access to advanced functionality.
- months - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- months() - Method in class org.joda.time.chrono.AssembledChronology
- months() - Method in class org.joda.time.chrono.BaseChronology
-
Get the months duration field for this chronology.
- months() - Method in class org.joda.time.Chronology
-
Get the months duration field for this chronology.
- months() - Static method in class org.joda.time.DurationFieldType
-
Get the months field type.
- months() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the months field.
- months(int) - Static method in class org.joda.time.Months
-
Obtains an instance of
Months
that may be cached. - months(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of months.
- Months - Class in org.joda.time
-
An immutable time period representing a number of months.
- monthsBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Months
-
Creates a
Months
representing the number of whole months between the two specified datetimes. - monthsBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Months
-
Creates a
Months
representing the number of whole months between the two specified partial datetimes. - monthsIn(ReadableInterval) - Static method in class org.joda.time.Months
-
Creates a
Months
representing the number of whole months in the specified interval. - multipliedBy(int) - Method in class org.joda.time.Days
-
Returns a new instance with the days multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Hours
-
Returns a new instance with the hours multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Minutes
-
Returns a new instance with the minutes multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Months
-
Returns a new instance with the months multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Period
-
Returns a new instance with each element in this period multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Seconds
-
Returns a new instance with the seconds multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Weeks
-
Returns a new instance with the weeks multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.joda.time.Years
-
Returns a new instance with the years multiplied by the specified scalar.
- multipliedBy(long) - Method in class org.joda.time.Duration
-
Returns a new duration with this length multiplied by the specified multiplicand.
- MutableDateTime - Class in org.joda.time
-
MutableDateTime is the standard implementation of a modifiable datetime class.
- MutableDateTime() - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the default time zone. - MutableDateTime(int, int, int, int, int, int, int) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the default time zone. - MutableDateTime(int, int, int, int, int, int, int, Chronology) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from datetime field values using the specified chronology.
- MutableDateTime(int, int, int, int, int, int, int, DateTimeZone) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from datetime field values using
ISOChronology
in the specified time zone. - MutableDateTime(long) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the default time zone. - MutableDateTime(long, Chronology) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using the specified chronology.
- MutableDateTime(long, DateTimeZone) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using
ISOChronology
in the specified time zone. - MutableDateTime(Object) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from an Object that represents a datetime.
- MutableDateTime(Object, Chronology) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from an Object that represents a datetime, using the specified chronology.
- MutableDateTime(Object, DateTimeZone) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance from an Object that represents a datetime, forcing the time zone to that specified.
- MutableDateTime(Chronology) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the current system millisecond time using the specified chronology.
- MutableDateTime(DateTimeZone) - Constructor for class org.joda.time.MutableDateTime
-
Constructs an instance set to the current system millisecond time using
ISOChronology
in the specified time zone. - MutableDateTime.Property - Class in org.joda.time
-
MutableDateTime.Property binds a MutableDateTime to a DateTimeField allowing powerful datetime functionality to be easily accessed.
- MutableInterval - Class in org.joda.time
-
MutableInterval is the standard implementation of a mutable time interval.
- MutableInterval() - Constructor for class org.joda.time.MutableInterval
-
Constructs a zero length time interval from 1970-01-01 to 1970-01-01.
- MutableInterval(long, long) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a start and end instant with the ISO default chronology.
- MutableInterval(long, long, Chronology) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a start and end instant with a chronology.
- MutableInterval(Object) - Constructor for class org.joda.time.MutableInterval
-
Constructs a time interval by converting or copying from another object.
- MutableInterval(Object, Chronology) - Constructor for class org.joda.time.MutableInterval
-
Constructs a time interval by converting or copying from another object, overriding the chronology.
- MutableInterval(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a millisecond duration and an end instant.
- MutableInterval(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a start instant and a duration.
- MutableInterval(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a start and end instant.
- MutableInterval(ReadableInstant, ReadablePeriod) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a start instant and a time period.
- MutableInterval(ReadablePeriod, ReadableInstant) - Constructor for class org.joda.time.MutableInterval
-
Constructs an interval from a time period and an end instant.
- MutablePeriod - Class in org.joda.time
-
Standard mutable time period implementation.
- MutablePeriod() - Constructor for class org.joda.time.MutablePeriod
-
Creates a zero-length period using the standard period type.
- MutablePeriod(int, int, int, int) - Constructor for class org.joda.time.MutablePeriod
-
Create a period from a set of field values using the standard set of fields.
- MutablePeriod(int, int, int, int, int, int, int, int) - Constructor for class org.joda.time.MutablePeriod
-
Create a period from a set of field values using the standard set of fields.
- MutablePeriod(int, int, int, int, int, int, int, int, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Create a period from a set of field values.
- MutablePeriod(long) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given millisecond duration using the standard set of fields.
- MutablePeriod(long, long) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints using the standard set of fields.
- MutablePeriod(long, long, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints using the standard set of fields.
- MutablePeriod(long, long, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints.
- MutablePeriod(long, long, PeriodType, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints.
- MutablePeriod(long, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given millisecond duration using the standard set of fields.
- MutablePeriod(long, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given millisecond duration.
- MutablePeriod(long, PeriodType, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given millisecond duration.
- MutablePeriod(Object) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period by converting or copying from another object.
- MutablePeriod(Object, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period by converting or copying from another object.
- MutablePeriod(Object, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period by converting or copying from another object.
- MutablePeriod(Object, PeriodType, Chronology) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period by converting or copying from another object.
- MutablePeriod(PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a zero-length period using the specified period type.
- MutablePeriod(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given duration and end point.
- MutablePeriod(ReadableDuration, ReadableInstant, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given duration and end point.
- MutablePeriod(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given start point and the duration.
- MutablePeriod(ReadableInstant, ReadableDuration, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given start point and the duration.
- MutablePeriod(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints using the standard set of fields.
- MutablePeriod(ReadableInstant, ReadableInstant, PeriodType) - Constructor for class org.joda.time.MutablePeriod
-
Creates a period from the given interval endpoints.
N
- NameProvider - Interface in org.joda.time.tz
-
Service provider factory for localized time zone names.
- negated() - Method in class org.joda.time.Days
-
Returns a new instance with the days value negated.
- negated() - Method in class org.joda.time.Duration
-
Returns a new duration with this length negated.
- negated() - Method in class org.joda.time.Hours
-
Returns a new instance with the hours value negated.
- negated() - Method in class org.joda.time.Minutes
-
Returns a new instance with the minutes value negated.
- negated() - Method in class org.joda.time.Months
-
Returns a new instance with the months value negated.
- negated() - Method in class org.joda.time.Period
-
Returns a new instance with each amount in this period negated.
- negated() - Method in class org.joda.time.Seconds
-
Returns a new instance with the seconds value negated.
- negated() - Method in class org.joda.time.Weeks
-
Returns a new instance with the weeks value negated.
- negated() - Method in class org.joda.time.Years
-
Returns a new instance with the years value negated.
- nextTransition(long) - Method in class org.joda.time.DateTimeZone
-
Advances the given instant to where the time zone offset or name changes.
- nextTransition(long) - Method in class org.joda.time.tz.CachedDateTimeZone
- nextTransition(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- NINE - Static variable in class org.joda.time.Months
-
Constant representing nine months.
- normalizedStandard() - Method in class org.joda.time.Period
-
Normalizes this period using standard rules, assuming a 12 month year, 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- normalizedStandard(PeriodType) - Method in class org.joda.time.Period
-
Normalizes this period using standard rules, assuming a 12 month year, 7 day week, 24 hour day, 60 minute hour and 60 second minute, providing control over how the result is split into fields.
- NOVEMBER - Static variable in class org.joda.time.DateTimeConstants
-
Constant (11) representing November, the eleventh month (ISO)
- now() - Static method in class org.joda.time.DateMidnight
-
Deprecated.Obtains a
DateMidnight
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.DateTime
-
Obtains a
DateTime
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.Instant
-
Obtains an
Instant
set to the current system millisecond time. - now() - Static method in class org.joda.time.LocalDate
-
Obtains a
LocalDate
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.LocalDateTime
-
Obtains a
LocalDateTime
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.LocalTime
-
Obtains a
LocalTime
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.MonthDay
-
Obtains a
MonthDay
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.MutableDateTime
-
Obtains a
MutableDateTime
set to the current system millisecond time usingISOChronology
in the default time zone. - now() - Static method in class org.joda.time.YearMonth
-
Obtains a
YearMonth
set to the current system millisecond time usingISOChronology
in the default time zone. - now(Chronology) - Static method in class org.joda.time.DateMidnight
-
Deprecated.Obtains a
DateMidnight
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.DateTime
-
Obtains a
DateTime
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.LocalDate
-
Obtains a
LocalDate
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.LocalDateTime
-
Obtains a
LocalDateTime
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.LocalTime
-
Obtains a
LocalTime
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.MonthDay
-
Obtains a
MonthDay
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.MutableDateTime
-
Obtains a
MutableDateTime
set to the current system millisecond time using the specified chronology. - now(Chronology) - Static method in class org.joda.time.YearMonth
-
Obtains a
YearMonth
set to the current system millisecond time using the specified chronology. - now(DateTimeZone) - Static method in class org.joda.time.DateMidnight
-
Deprecated.Obtains a
DateMidnight
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.DateTime
-
Obtains a
DateTime
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.LocalDate
-
Obtains a
LocalDate
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.LocalDateTime
-
Obtains a
LocalDateTime
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.LocalTime
-
Obtains a
LocalTime
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.MonthDay
-
Obtains a
MonthDay
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.MutableDateTime
-
Obtains a
MutableDateTime
set to the current system millisecond time usingISOChronology
in the specified time zone. - now(DateTimeZone) - Static method in class org.joda.time.YearMonth
-
Obtains a
YearMonth
set to the current system millisecond time usingISOChronology
in the specified time zone.
O
- OCTOBER - Static variable in class org.joda.time.DateTimeConstants
-
Constant (10) representing October, the tenth month (ISO)
- ofEpochMilli(long) - Static method in class org.joda.time.Instant
-
Obtains an
Instant
set to the milliseconds from 1970-01-01T00:00:00Z. - ofEpochSecond(long) - Static method in class org.joda.time.Instant
-
Obtains an
Instant
set to the seconds from 1970-01-01T00:00:00Z. - OffsetDateTimeField - Class in org.joda.time.field
-
Generic offset adjusting datetime field.
- OffsetDateTimeField(DateTimeField, int) - Constructor for class org.joda.time.field.OffsetDateTimeField
-
Constructor.
- OffsetDateTimeField(DateTimeField, DateTimeFieldType, int) - Constructor for class org.joda.time.field.OffsetDateTimeField
-
Constructor.
- OffsetDateTimeField(DateTimeField, DateTimeFieldType, int, int, int) - Constructor for class org.joda.time.field.OffsetDateTimeField
-
Constructor.
- ONE - Static variable in class org.joda.time.Days
-
Constant representing one day.
- ONE - Static variable in class org.joda.time.Hours
-
Constant representing one hour.
- ONE - Static variable in class org.joda.time.Minutes
-
Constant representing one minute.
- ONE - Static variable in class org.joda.time.Months
-
Constant representing one month.
- ONE - Static variable in class org.joda.time.Seconds
-
Constant representing one second.
- ONE - Static variable in class org.joda.time.Weeks
-
Constant representing one week.
- ONE - Static variable in class org.joda.time.Years
-
Constant representing one year.
- ordinalDate() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date, using a four digit year and three digit dayOfYear (yyyy-DDD).
- ordinalDateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date and time, using a four digit year and three digit dayOfYear (yyyy-DDD'T'HH:mm:ss.SSSZZ).
- ordinalDateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full ordinal date and time without millis, using a four digit year and three digit dayOfYear (yyyy-DDD'T'HH:mm:ssZZ).
- org.joda.time - package org.joda.time
-
Provides support for dates, times, time zones, durations, intervals, and partials.
- org.joda.time.base - package org.joda.time.base
-
Implementation package providing abstract and base time classes.
- org.joda.time.chrono - package org.joda.time.chrono
-
Package containing the chronology classes which define the calendar systems.
- org.joda.time.convert - package org.joda.time.convert
-
Implementation package providing conversion between date and time objects.
- org.joda.time.field - package org.joda.time.field
-
Implementation package providing abstract and standard field classes.
- org.joda.time.format - package org.joda.time.format
-
Provides printing and parsing support for instants and durations.
- org.joda.time.tz - package org.joda.time.tz
-
Implementation package supporting the time zones.
- overlap(ReadableInterval) - Method in class org.joda.time.Interval
-
Gets the overlap between this interval and another interval.
- overlaps(ReadableInterval) - Method in class org.joda.time.base.AbstractInterval
-
Does this time interval overlap the specified time interval.
- overlaps(ReadableInterval) - Method in interface org.joda.time.ReadableInterval
-
Does this time interval overlap the specified time interval.
P
- parse(String) - Static method in class org.joda.time.DateMidnight
-
Deprecated.Parses a
DateMidnight
from the specified string. - parse(String) - Static method in class org.joda.time.DateTime
-
Parses a
DateTime
from the specified string. - parse(String) - Static method in class org.joda.time.Duration
-
Parses a
Duration
from the specified string. - parse(String) - Static method in class org.joda.time.Instant
-
Parses an
Instant
from the specified string. - parse(String) - Static method in class org.joda.time.Interval
-
Parses an
Interval
from the specified string. - parse(String) - Static method in class org.joda.time.LocalDate
-
Parses a
LocalDate
from the specified string. - parse(String) - Static method in class org.joda.time.LocalDateTime
-
Parses a
LocalDateTime
from the specified string. - parse(String) - Static method in class org.joda.time.LocalTime
-
Parses a
LocalTime
from the specified string. - parse(String) - Static method in class org.joda.time.MonthDay
-
Parses a
MonthDay
from the specified string. - parse(String) - Static method in class org.joda.time.MutableDateTime
-
Parses a
MutableDateTime
from the specified string. - parse(String) - Static method in class org.joda.time.MutableInterval
-
Parses a
MutableInterval
from the specified string. - parse(String) - Static method in class org.joda.time.MutablePeriod
-
Parses a
MutablePeriod
from the specified string. - parse(String) - Static method in class org.joda.time.Period
-
Parses a
Period
from the specified string. - parse(String) - Static method in class org.joda.time.YearMonth
-
Parses a
YearMonth
from the specified string. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.DateMidnight
-
Deprecated.Parses a
DateMidnight
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.DateTime
-
Parses a
DateTime
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.Instant
-
Parses an
Instant
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.LocalDate
-
Parses a
LocalDate
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.LocalDateTime
-
Parses a
LocalDateTime
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.LocalTime
-
Parses a
LocalTime
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.MonthDay
-
Parses a
MonthDay
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.MutableDateTime
-
Parses a
MutableDateTime
from the specified string using a formatter. - parse(String, DateTimeFormatter) - Static method in class org.joda.time.YearMonth
-
Parses a
YearMonth
from the specified string using a formatter. - parse(String, PeriodFormatter) - Static method in class org.joda.time.MutablePeriod
-
Parses a
MutablePeriod
from the specified string using a formatter. - parse(String, PeriodFormatter) - Static method in class org.joda.time.Period
-
Parses a
Period
from the specified string using a formatter. - parseDataFile(BufferedReader, boolean) - Method in class org.joda.time.tz.ZoneInfoCompiler
- parseDateTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a date-time from the given text, returning a new DateTime.
- parseDays(String) - Static method in class org.joda.time.Days
-
Creates a new
Days
by parsing a string in the ISO8601 format 'PnD'. - parseHours(String) - Static method in class org.joda.time.Hours
-
Creates a new
Hours
by parsing a string in the ISO8601 format 'PTnH'. - parseInto(DateTimeParserBucket, String, int) - Method in interface org.joda.time.format.DateTimeParser
-
Parse an element from the given text, saving any fields into the given DateTimeParserBucket.
- parseInto(ReadWritableInstant, String, int) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, at the given position, saving the result into the fields of the given ReadWritableInstant.
- parseInto(ReadWritablePeriod, String, int) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, at the given position, saving the result into the fields of the given ReadWritablePeriod.
- parseInto(ReadWritablePeriod, String, int, Locale) - Method in interface org.joda.time.format.PeriodParser
-
Parses a period from the given text, at the given position, saving the result into the fields of the given ReadWritablePeriod.
- parseLocalDate(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses only the local date from the given text, returning a new LocalDate.
- parseLocalDateTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses only the local date-time from the given text, returning a new LocalDateTime.
- parseLocalTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses only the local time from the given text, returning a new LocalTime.
- parseMillis(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a datetime from the given text, returning the number of milliseconds since the epoch, 1970-01-01T00:00:00Z.
- parseMillis(DateTimeParser, CharSequence) - Method in class org.joda.time.format.DateTimeParserBucket
-
Parses a datetime from the given text, returning the number of milliseconds since the epoch, 1970-01-01T00:00:00Z.
- parseMinutes(String) - Static method in class org.joda.time.Minutes
-
Creates a new
Minutes
by parsing a string in the ISO8601 format 'PTnM'. - parseMonths(String) - Static method in class org.joda.time.Months
-
Creates a new
Months
by parsing a string in the ISO8601 format 'PnM'. - parseMutableDateTime(String) - Method in class org.joda.time.format.DateTimeFormatter
-
Parses a date-time from the given text, returning a new MutableDateTime.
- parseMutablePeriod(String) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, returning a new MutablePeriod.
- parsePeriod(String) - Method in class org.joda.time.format.PeriodFormatter
-
Parses a period from the given text, returning a new Period.
- parseSeconds(String) - Static method in class org.joda.time.Seconds
-
Creates a new
Seconds
by parsing a string in the ISO8601 format 'PTnS'. - parseWeeks(String) - Static method in class org.joda.time.Weeks
-
Creates a new
Weeks
by parsing a string in the ISO8601 format 'PnW'. - parseWithOffset(String) - Static method in class org.joda.time.Interval
-
Parses an
Interval
from the specified string, using any offset it contains. - parseYears(String) - Static method in class org.joda.time.Years
-
Creates a new
Years
by parsing a string in the ISO8601 format 'PnY'. - Partial - Class in org.joda.time
-
Partial is an immutable partial datetime supporting any set of datetime fields.
- Partial() - Constructor for class org.joda.time.Partial
-
Constructs a Partial with no fields or values, which can be considered to represent any date.
- Partial(Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with no fields or values, which can be considered to represent any date.
- Partial(DateTimeFieldType[], int[]) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified fields and values.
- Partial(DateTimeFieldType[], int[], Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified fields and values.
- Partial(DateTimeFieldType, int) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified field and value.
- Partial(DateTimeFieldType, int, Chronology) - Constructor for class org.joda.time.Partial
-
Constructs a Partial with the specified field and value.
- Partial(ReadablePartial) - Constructor for class org.joda.time.Partial
-
Constructs a Partial by copying all the fields and types from another partial.
- Partial.Property - Class in org.joda.time
-
The property class for
Partial
. - PartialConverter - Interface in org.joda.time.convert
-
PartialConverter defines how an object is converted to a ReadablePartial.
- patternForStyle(String, Locale) - Static method in class org.joda.time.format.DateTimeFormat
-
Returns the pattern used by a particular style and locale.
- Period - Class in org.joda.time
-
An immutable time period specifying a set of duration field values.
- Period() - Constructor for class org.joda.time.Period
-
Creates a new empty period with the standard set of fields.
- Period(int, int, int, int) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values using the standard set of fields.
- Period(int, int, int, int, int, int, int, int) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values using the standard set of fields.
- Period(int, int, int, int, int, int, int, int, PeriodType) - Constructor for class org.joda.time.Period
-
Create a period from a set of field values.
- Period(long) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration using the standard set of fields.
- Period(long, long) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints using the standard set of fields.
- Period(long, long, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints using the standard set of fields.
- Period(long, long, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints.
- Period(long, long, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given interval endpoints.
- Period(long, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration using the standard set of fields.
- Period(long, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration.
- Period(long, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period from the given millisecond duration.
- Period(Object) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(Object, PeriodType, Chronology) - Constructor for class org.joda.time.Period
-
Creates a period by converting or copying from another object.
- Period(ReadableDuration, ReadableInstant) - Constructor for class org.joda.time.Period
-
Creates a period from the given duration and end point.
- Period(ReadableDuration, ReadableInstant, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given duration and end point.
- Period(ReadableInstant, ReadableDuration) - Constructor for class org.joda.time.Period
-
Creates a period from the given start point and the duration.
- Period(ReadableInstant, ReadableDuration, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from the given start point and the duration.
- Period(ReadableInstant, ReadableInstant) - Constructor for class org.joda.time.Period
-
Creates a period between the given instants using the standard set of fields.
- Period(ReadableInstant, ReadableInstant, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period between the given instants.
- Period(ReadablePartial, ReadablePartial) - Constructor for class org.joda.time.Period
-
Creates a period from two partially specified times.
- Period(ReadablePartial, ReadablePartial, PeriodType) - Constructor for class org.joda.time.Period
-
Creates a period from two partially specified times.
- PeriodConverter - Interface in org.joda.time.convert
-
PeriodConverter defines how an object is converted to a time period.
- PeriodFormat - Class in org.joda.time.format
-
Factory that creates instances of PeriodFormatter.
- PeriodFormat() - Constructor for class org.joda.time.format.PeriodFormat
-
Constructor.
- PeriodFormatter - Class in org.joda.time.format
-
Controls the printing and parsing of a time period to and from a string.
- PeriodFormatter(PeriodPrinter, PeriodParser) - Constructor for class org.joda.time.format.PeriodFormatter
-
Creates a new formatter, however you will normally use the factory or the builder.
- PeriodFormatterBuilder - Class in org.joda.time.format
-
Factory that creates complex instances of PeriodFormatter via method calls.
- PeriodFormatterBuilder() - Constructor for class org.joda.time.format.PeriodFormatterBuilder
- PeriodParser - Interface in org.joda.time.format
-
Internal interface for parsing textual representations of time periods.
- PeriodPrinter - Interface in org.joda.time.format
-
Internal interface for printing textual representations of time periods.
- PeriodType - Class in org.joda.time
-
Controls a period implementation by specifying which duration fields are to be used.
- PeriodType(String, DurationFieldType[], int[]) - Constructor for class org.joda.time.PeriodType
-
Constructor.
- plus(int) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days added.
- plus(int) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours added.
- plus(int) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes added.
- plus(int) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months added.
- plus(int) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds added.
- plus(int) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks added.
- plus(int) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years added.
- plus(long) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration added.
- plus(long) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(long) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified.
- plus(long) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- plus(Days) - Method in class org.joda.time.Days
-
Returns a new instance with the specified number of days added.
- plus(Hours) - Method in class org.joda.time.Hours
-
Returns a new instance with the specified number of hours added.
- plus(Minutes) - Method in class org.joda.time.Minutes
-
Returns a new instance with the specified number of minutes added.
- plus(Months) - Method in class org.joda.time.Months
-
Returns a new instance with the specified number of months added.
- plus(ReadableDuration) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified.
- plus(ReadableDuration) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- plus(ReadableDuration) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified duration added.
- plus(ReadablePeriod) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.Partial
-
Gets a copy of this instance with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.Period
-
Returns a new period with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the specified period added, wrapping to what would be a new day if required.
- plus(ReadablePeriod) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the specified period added.
- plus(ReadablePeriod) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the specified period added.
- plus(Seconds) - Method in class org.joda.time.Seconds
-
Returns a new instance with the specified number of seconds added.
- plus(Weeks) - Method in class org.joda.time.Weeks
-
Returns a new instance with the specified number of weeks added.
- plus(Years) - Method in class org.joda.time.Years
-
Returns a new instance with the specified number of years added.
- plusDays(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day plus the specified number of days.
- plusDays(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of days added.
- plusDays(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date plus the specified number of days.
- plusHours(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of hours.
- plusHours(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of hours added.
- plusHours(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time plus the specified number of hours.
- plusMillis(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of millis.
- plusMillis(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of millis added.
- plusMillis(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time plus the specified number of millis.
- plusMinutes(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of minutes.
- plusMinutes(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of minutes added.
- plusMinutes(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time plus the specified number of minutes.
- plusMonths(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of months added.
- plusMonths(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month plus the specified number of months.
- plusMonths(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date plus the specified number of months.
- plusSeconds(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time plus the specified number of seconds.
- plusSeconds(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of seconds added.
- plusSeconds(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time plus the specified number of seconds.
- plusWeeks(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of weeks.
- plusWeeks(int) - Method in class org.joda.time.Period
-
Returns a new period plus the specified number of weeks added.
- plusYears(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of years added.
- plusYears(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month plus the specified number of years.
- plusYears(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date plus the specified number of years.
- PM - Static variable in class org.joda.time.DateTimeConstants
-
Constant (1) representing PM, the afternoon (from Calendar)
- PreciseDateTimeField - Class in org.joda.time.field
-
Precise datetime field, composed of two precise duration fields.
- PreciseDateTimeField(DateTimeFieldType, DurationField, DurationField) - Constructor for class org.joda.time.field.PreciseDateTimeField
-
Constructor.
- PreciseDurationDateTimeField - Class in org.joda.time.field
-
Precise datetime field, which has a precise unit duration field.
- PreciseDurationDateTimeField(DateTimeFieldType, DurationField) - Constructor for class org.joda.time.field.PreciseDurationDateTimeField
-
Constructor.
- PreciseDurationField - Class in org.joda.time.field
-
Duration field class representing a field with a fixed unit length.
- PreciseDurationField(DurationFieldType, long) - Constructor for class org.joda.time.field.PreciseDurationField
-
Constructor.
- prependMessage(String) - Method in exception org.joda.time.IllegalFieldValueException
-
Provide additional detail by prepending a message to the existing message.
- previousTransition(long) - Method in class org.joda.time.DateTimeZone
-
Retreats the given instant to where the time zone offset or name changes.
- previousTransition(long) - Method in class org.joda.time.tz.CachedDateTimeZone
- previousTransition(long) - Method in class org.joda.time.tz.FixedDateTimeZone
- print(long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a millisecond instant to a String.
- print(ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant to a String.
- print(ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial to a new String.
- print(ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a new String.
- printTo(Writer, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using ISO chronology in the default DateTimeZone.
- printTo(Writer, long, Chronology, int, DateTimeZone, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.
- printTo(Writer, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(Writer, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printTo(Writer, ReadablePartial, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints a ReadablePartial.
- printTo(Writer, ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a Writer.
- printTo(Writer, ReadablePeriod, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Prints a ReadablePeriod to a Writer.
- printTo(Appendable, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using ISO chronology in the default DateTimeZone.
- printTo(Appendable, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(Appendable, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printTo(StringBuffer, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using ISO chronology in the default DateTimeZone.
- printTo(StringBuffer, long, Chronology, int, DateTimeZone, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using the given Chronology.
- printTo(StringBuffer, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(StringBuffer, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printTo(StringBuffer, ReadablePartial, Locale) - Method in interface org.joda.time.format.DateTimePrinter
-
Prints a ReadablePartial.
- printTo(StringBuffer, ReadablePeriod) - Method in class org.joda.time.format.PeriodFormatter
-
Prints a ReadablePeriod to a StringBuffer.
- printTo(StringBuffer, ReadablePeriod, Locale) - Method in interface org.joda.time.format.PeriodPrinter
-
Prints a ReadablePeriod to a StringBuffer.
- printTo(StringBuilder, long) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints an instant from milliseconds since 1970-01-01T00:00:00Z, using ISO chronology in the default DateTimeZone.
- printTo(StringBuilder, ReadableInstant) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadableInstant, using the chronology supplied by the instant.
- printTo(StringBuilder, ReadablePartial) - Method in class org.joda.time.format.DateTimeFormatter
-
Prints a ReadablePartial.
- printZeroAlways() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Always print zero values for the next and following appended fields, even if the period doesn't support it.
- printZeroIfSupported() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Print zero values for the next and following appended fields only if the period supports it.
- printZeroNever() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields, unless no fields would be printed.
- printZeroRarelyFirst() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields, unless no fields would be printed.
- printZeroRarelyLast() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Never print zero values for the next and following appended fields, unless no fields would be printed.
- property(DateTimeFieldType) - Method in class org.joda.time.DateMidnight
-
Deprecated.Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.DateTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalDate
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalDateTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.LocalTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.MonthDay
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.MutableDateTime
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.Partial
-
Gets the property object for the specified type, which contains many useful methods for getting and manipulating the partial.
- property(DateTimeFieldType) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.YearMonth
-
Gets the property object for the specified type, which contains many useful methods.
- property(DateTimeFieldType) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Gets the property object for the specified type, which contains many useful methods.
- Provider - Interface in org.joda.time.tz
-
Service provider factory for time zones.
R
- ReadableDateTime - Interface in org.joda.time
-
Defines an instant in time that can be queried using datetime fields.
- ReadableDuration - Interface in org.joda.time
-
Defines an exact duration of time in milliseconds.
- ReadableInstant - Interface in org.joda.time
-
Defines an instant in the datetime continuum.
- ReadableInterval - Interface in org.joda.time
-
Readable interface for an interval of time between two instants.
- ReadablePartial - Interface in org.joda.time
-
Defines a partial time that does not support every datetime field, and is thus a local time.
- ReadablePeriod - Interface in org.joda.time
-
Defines a time period specified in terms of individual duration fields such as years and days.
- readFrom(DataInput, String) - Static method in class org.joda.time.tz.DateTimeZoneBuilder
-
Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
- readFrom(InputStream, String) - Static method in class org.joda.time.tz.DateTimeZoneBuilder
-
Decodes a built DateTimeZone from the given stream, as encoded by writeTo.
- ReadWritableDateTime - Interface in org.joda.time
-
Defines an instant in time that can be queried and modified using datetime fields.
- ReadWritableInstant - Interface in org.joda.time
-
Defines an instant in the datetime continuum that can be queried and modified.
- ReadWritableInterval - Interface in org.joda.time
-
Writable interface for an interval.
- ReadWritablePeriod - Interface in org.joda.time
-
Defines a duration of time that can be queried and modified using datetime fields.
- rejectSignedValues(boolean) - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Reject signed values when parsing the next and following appended fields.
- remainder() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the fractional duration milliseconds of this field.
- remainder(long) - Method in class org.joda.time.DateTimeField
-
Returns the fractional duration milliseconds of this field.
- remainder(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Returns the fractional duration milliseconds of this field.
- remainder(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- remainder(long) - Method in class org.joda.time.field.DividedDateTimeField
- remainder(long) - Method in class org.joda.time.field.OffsetDateTimeField
- remainder(long) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
This method assumes that this field is properly rounded on 1970-01-01T00:00:00.
- remainder(long) - Method in class org.joda.time.field.RemainderDateTimeField
- remainder(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- remainder(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- RemainderDateTimeField - Class in org.joda.time.field
-
Counterpart remainder datetime field to
DividedDateTimeField
. - RemainderDateTimeField(DateTimeField, DateTimeFieldType, int) - Constructor for class org.joda.time.field.RemainderDateTimeField
-
Constructor.
- RemainderDateTimeField(DateTimeField, DurationField, DateTimeFieldType, int) - Constructor for class org.joda.time.field.RemainderDateTimeField
-
Constructor.
- RemainderDateTimeField(DividedDateTimeField) - Constructor for class org.joda.time.field.RemainderDateTimeField
-
Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.
- RemainderDateTimeField(DividedDateTimeField, DateTimeFieldType) - Constructor for class org.joda.time.field.RemainderDateTimeField
-
Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.
- RemainderDateTimeField(DividedDateTimeField, DurationField, DateTimeFieldType) - Constructor for class org.joda.time.field.RemainderDateTimeField
-
Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.
- removeDurationConverter(DurationConverter) - Method in class org.joda.time.convert.ConverterManager
-
Removes a converter from the set of converters.
- removeInstantConverter(InstantConverter) - Method in class org.joda.time.convert.ConverterManager
-
Removes a converter from the set of converters.
- removeIntervalConverter(IntervalConverter) - Method in class org.joda.time.convert.ConverterManager
-
Removes a converter from the set of converters.
- removePartialConverter(PartialConverter) - Method in class org.joda.time.convert.ConverterManager
-
Removes a converter from the set of converters.
- removePeriodConverter(PeriodConverter) - Method in class org.joda.time.convert.ConverterManager
-
Removes a converter from the set of converters.
- reset() - Method in class org.joda.time.format.DateTimeParserBucket
-
Resets the state back to that when the object was constructed.
- restoreState(Object) - Method in class org.joda.time.format.DateTimeParserBucket
-
Restores the state of this bucket from a previously saved state.
- ROUND_CEILING - Static variable in class org.joda.time.MutableDateTime
-
Rounding mode as described by
DateTimeField.roundCeiling(long)
- ROUND_FLOOR - Static variable in class org.joda.time.MutableDateTime
-
Rounding mode as described by
DateTimeField.roundFloor(long)
- ROUND_HALF_CEILING - Static variable in class org.joda.time.MutableDateTime
-
Rounding mode as described by
DateTimeField.roundHalfCeiling(long)
- ROUND_HALF_EVEN - Static variable in class org.joda.time.MutableDateTime
-
Rounding mode as described by
DateTimeField.roundHalfEven(long)
- ROUND_HALF_FLOOR - Static variable in class org.joda.time.MutableDateTime
-
Rounding mode as described by
DateTimeField.roundHalfFloor(long)
- ROUND_NONE - Static variable in class org.joda.time.MutableDateTime
-
Rounding is disabled
- roundCeiling() - Method in class org.joda.time.MutableDateTime.Property
-
Round to the highest whole unit of this field.
- roundCeiling(long) - Method in class org.joda.time.DateTimeField
-
Round to the highest whole unit of this field.
- roundCeiling(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Round to the highest whole unit of this field.
- roundCeiling(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- roundCeiling(long) - Method in class org.joda.time.field.OffsetDateTimeField
- roundCeiling(long) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
This method assumes that this field is properly rounded on 1970-01-01T00:00:00.
- roundCeiling(long) - Method in class org.joda.time.field.RemainderDateTimeField
- roundCeiling(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- roundCeiling(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- roundCeilingCopy() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Rounds to the highest whole unit of this field on a copy of this DateMidnight.
- roundCeilingCopy() - Method in class org.joda.time.DateTime.Property
-
Rounds to the highest whole unit of this field on a copy of this DateTime.
- roundCeilingCopy() - Method in class org.joda.time.LocalDate.Property
-
Rounds to the highest whole unit of this field on a copy of this LocalDate.
- roundCeilingCopy() - Method in class org.joda.time.LocalDateTime.Property
-
Rounds to the highest whole unit of this field on a copy of this LocalDateTime.
- roundCeilingCopy() - Method in class org.joda.time.LocalTime.Property
-
Rounds to the highest whole unit of this field on a copy of this LocalTime.
- roundFloor() - Method in class org.joda.time.MutableDateTime.Property
-
Round to the lowest whole unit of this field.
- roundFloor(long) - Method in class org.joda.time.DateTimeField
-
Round to the lowest whole unit of this field.
- roundFloor(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Round to the lowest whole unit of this field.
- roundFloor(long) - Method in class org.joda.time.field.DecoratedDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.DividedDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.ImpreciseDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.OffsetDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
This method assumes that this field is properly rounded on 1970-01-01T00:00:00.
- roundFloor(long) - Method in class org.joda.time.field.RemainderDateTimeField
- roundFloor(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- roundFloor(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- roundFloorCopy() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Rounds to the lowest whole unit of this field on a copy of this DateMidnight.
- roundFloorCopy() - Method in class org.joda.time.DateTime.Property
-
Rounds to the lowest whole unit of this field on a copy of this DateTime.
- roundFloorCopy() - Method in class org.joda.time.LocalDate.Property
-
Rounds to the lowest whole unit of this field on a copy of this LocalDate.
- roundFloorCopy() - Method in class org.joda.time.LocalDateTime.Property
-
Rounds to the lowest whole unit of this field on a copy of this LocalDateTime.
- roundFloorCopy() - Method in class org.joda.time.LocalTime.Property
-
Rounds to the lowest whole unit of this field on a copy of this LocalTime.
- roundHalfCeiling() - Method in class org.joda.time.MutableDateTime.Property
-
Round to the nearest whole unit of this field, favoring the ceiling if halfway.
- roundHalfCeiling(long) - Method in class org.joda.time.DateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfCeiling(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfCeiling(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- roundHalfCeiling(long) - Method in class org.joda.time.field.OffsetDateTimeField
- roundHalfCeiling(long) - Method in class org.joda.time.field.RemainderDateTimeField
- roundHalfCeiling(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- roundHalfCeiling(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- roundHalfCeilingCopy() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Rounds to the nearest whole unit of this field on a copy of this DateMidnight, favoring the ceiling if halfway.
- roundHalfCeilingCopy() - Method in class org.joda.time.DateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this DateTime, favoring the ceiling if halfway.
- roundHalfCeilingCopy() - Method in class org.joda.time.LocalDate.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDate, favoring the ceiling if halfway.
- roundHalfCeilingCopy() - Method in class org.joda.time.LocalDateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDateTime, favoring the ceiling if halfway.
- roundHalfCeilingCopy() - Method in class org.joda.time.LocalTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalTime, favoring the ceiling if halfway.
- roundHalfEven() - Method in class org.joda.time.MutableDateTime.Property
-
Round to the nearest whole unit of this field.
- roundHalfEven(long) - Method in class org.joda.time.DateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfEven(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfEven(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- roundHalfEven(long) - Method in class org.joda.time.field.OffsetDateTimeField
- roundHalfEven(long) - Method in class org.joda.time.field.RemainderDateTimeField
- roundHalfEven(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- roundHalfEven(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- roundHalfEvenCopy() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Rounds to the nearest whole unit of this field on a copy of this DateMidnight.
- roundHalfEvenCopy() - Method in class org.joda.time.DateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this DateTime.
- roundHalfEvenCopy() - Method in class org.joda.time.LocalDate.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDate.
- roundHalfEvenCopy() - Method in class org.joda.time.LocalDateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDateTime.
- roundHalfEvenCopy() - Method in class org.joda.time.LocalTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalTime.
- roundHalfFloor() - Method in class org.joda.time.MutableDateTime.Property
-
Round to the nearest whole unit of this field, favoring the floor if halfway.
- roundHalfFloor(long) - Method in class org.joda.time.DateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfFloor(long) - Method in class org.joda.time.field.BaseDateTimeField
-
Round to the nearest whole unit of this field.
- roundHalfFloor(long) - Method in class org.joda.time.field.DelegatedDateTimeField
- roundHalfFloor(long) - Method in class org.joda.time.field.OffsetDateTimeField
- roundHalfFloor(long) - Method in class org.joda.time.field.RemainderDateTimeField
- roundHalfFloor(long) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- roundHalfFloor(long) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- roundHalfFloorCopy() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Rounds to the nearest whole unit of this field on a copy of this DateMidnight, favoring the floor if halfway.
- roundHalfFloorCopy() - Method in class org.joda.time.DateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this DateTime, favoring the floor if halfway.
- roundHalfFloorCopy() - Method in class org.joda.time.LocalDate.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDate, favoring the floor if halfway.
- roundHalfFloorCopy() - Method in class org.joda.time.LocalDateTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalDateTime, favoring the floor if halfway.
- roundHalfFloorCopy() - Method in class org.joda.time.LocalTime.Property
-
Rounds to the nearest whole unit of this field on a copy of this LocalTime, favoring the floor if halfway.
S
- safeAdd(int, int) - Static method in class org.joda.time.field.FieldUtils
-
Add two values throwing an exception if overflow occurs.
- safeAdd(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Add two values throwing an exception if overflow occurs.
- safeDivide(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Divides the dividend by the divisor throwing an exception if overflow occurs or the divisor is zero.
- safeDivide(long, long, RoundingMode) - Static method in class org.joda.time.field.FieldUtils
-
Divides the dividend by divisor.
- safeMultiply(int, int) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiply(long, int) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiply(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values throwing an exception if overflow occurs.
- safeMultiplyToInt(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Multiply two values to return an int throwing an exception if overflow occurs.
- safeNegate(int) - Static method in class org.joda.time.field.FieldUtils
-
Negates the input throwing an exception if it can't negate it.
- safeSubtract(long, long) - Static method in class org.joda.time.field.FieldUtils
-
Subtracts two values throwing an exception if overflow occurs.
- safeToInt(long) - Static method in class org.joda.time.field.FieldUtils
-
Casts to an int throwing an exception if overflow occurs.
- SATURDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (6) representing Saturday, the sixth day of the week (ISO)
- saveField(DateTimeField, int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field value.
- saveField(DateTimeFieldType, int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field value.
- saveField(DateTimeFieldType, String, Locale) - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves a datetime field text value.
- saveState() - Method in class org.joda.time.format.DateTimeParserBucket
-
Saves the state of this bucket, returning it in an opaque object.
- ScaledDurationField - Class in org.joda.time.field
-
Scales a DurationField such that it's unit millis becomes larger in magnitude.
- ScaledDurationField(DurationField, DurationFieldType, int) - Constructor for class org.joda.time.field.ScaledDurationField
-
Constructor
- SECOND_OF_MINUTE - Static variable in class org.joda.time.TimeOfDay
-
Deprecated.The index of the secondOfMinute field in the field array
- secondOfDay - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- secondOfDay() - Method in class org.joda.time.chrono.AssembledChronology
- secondOfDay() - Method in class org.joda.time.chrono.BaseChronology
-
Get the second of day field for this chronology.
- secondOfDay() - Method in class org.joda.time.Chronology
-
Get the second of day field for this chronology.
- secondOfDay() - Method in class org.joda.time.DateTime
-
Get the second of day property which provides access to advanced functionality.
- secondOfDay() - Static method in class org.joda.time.DateTimeFieldType
-
Get the second of day field type.
- secondOfDay() - Method in class org.joda.time.MutableDateTime
-
Get the second of day property
- secondOfMinute - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- secondOfMinute() - Method in class org.joda.time.chrono.AssembledChronology
- secondOfMinute() - Method in class org.joda.time.chrono.BaseChronology
-
Get the second of minute field for this chronology.
- secondOfMinute() - Method in class org.joda.time.Chronology
-
Get the second of minute field for this chronology.
- secondOfMinute() - Method in class org.joda.time.DateTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Static method in class org.joda.time.DateTimeFieldType
-
Get the second of minute field type.
- secondOfMinute() - Method in class org.joda.time.LocalDateTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Method in class org.joda.time.LocalTime
-
Get the second of minute field property which provides access to advanced functionality.
- secondOfMinute() - Method in class org.joda.time.MutableDateTime
-
Get the second of minute field property
- secondOfMinute() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Get the second of minute field property which provides access to advanced functionality.
- seconds - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- seconds() - Method in class org.joda.time.chrono.AssembledChronology
- seconds() - Method in class org.joda.time.chrono.BaseChronology
-
Get the seconds duration field for this chronology.
- seconds() - Method in class org.joda.time.Chronology
-
Get the seconds duration field for this chronology.
- seconds() - Static method in class org.joda.time.DurationFieldType
-
Get the seconds field type.
- seconds() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the seconds field.
- seconds(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of seconds.
- seconds(int) - Static method in class org.joda.time.Seconds
-
Obtains an instance of
Seconds
that may be cached. - Seconds - Class in org.joda.time
-
An immutable time period representing a number of seconds.
- SECONDS_PER_DAY - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in a typical day (ISO).
- SECONDS_PER_HOUR - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in one hour (ISO)
- SECONDS_PER_MINUTE - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in one minute (60) (ISO)
- SECONDS_PER_WEEK - Static variable in class org.joda.time.DateTimeConstants
-
Seconds in a typical week (ISO).
- secondsBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Seconds
-
Creates a
Seconds
representing the number of whole seconds between the two specified datetimes. - secondsBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Seconds
-
Creates a
Seconds
representing the number of whole seconds between the two specified partial datetimes. - secondsIn(ReadableInterval) - Static method in class org.joda.time.Seconds
-
Creates a
Seconds
representing the number of whole seconds in the specified interval. - SEPTEMBER - Static variable in class org.joda.time.DateTimeConstants
-
Constant (9) representing September, the nineth month (ISO)
- set(boolean) - Static method in class org.joda.time.tz.ZoneInfoLogger
- set(int) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a value.
- set(long, int) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied.
- set(long, int) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied.
- set(long, int) - Method in class org.joda.time.field.DecoratedDateTimeField
- set(long, int) - Method in class org.joda.time.field.DelegatedDateTimeField
- set(long, int) - Method in class org.joda.time.field.DividedDateTimeField
-
Set the specified amount of scaled units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.ImpreciseDateTimeField
- set(long, int) - Method in class org.joda.time.field.LenientDateTimeField
-
Set values which may be out of bounds by adding the difference between the new value and the current value.
- set(long, int) - Method in class org.joda.time.field.OffsetDateTimeField
-
Set the specified amount of offset units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.PreciseDateTimeField
-
Set the specified amount of units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.PreciseDurationDateTimeField
-
Set the specified amount of units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.RemainderDateTimeField
-
Set the specified amount of remainder units to the specified time instant.
- set(long, int) - Method in class org.joda.time.field.SkipDateTimeField
- set(long, int) - Method in class org.joda.time.field.SkipUndoDateTimeField
- set(long, int) - Method in class org.joda.time.field.StrictDateTimeField
-
Does a bounds check before setting the value.
- set(long, int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(long, int) - Method in class org.joda.time.field.ZeroIsMaxDateTimeField
- set(long, String) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String) - Method in class org.joda.time.field.DelegatedDateTimeField
- set(long, String) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(long, String, Locale) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(long, String, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- set(long, String, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(String) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a text value.
- set(String, Locale) - Method in class org.joda.time.MutableDateTime.Property
-
Sets a text value.
- set(DateTimeFieldType, int) - Method in class org.joda.time.MutableDateTime
-
Sets the value of one of the fields of the instant, such as hourOfDay.
- set(DateTimeFieldType, int) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the value of one of the fields of the instant, such as hourOfDay.
- set(DurationFieldType, int) - Method in class org.joda.time.MutablePeriod
-
Sets the value of one of the fields.
- set(DurationFieldType, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the value of one of the fields.
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.DateTimeField
-
Sets a value using the specified partial instant.
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value using the specified partial instant.
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.DelegatedDateTimeField
- set(ReadablePartial, int, int[], int) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.BaseDateTimeField
-
Sets a value in the milliseconds supplied from a human-readable, text value.
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.DelegatedDateTimeField
- set(ReadablePartial, int, int[], String, Locale) - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Always throws UnsupportedOperationException
- set(ReadablePartial, long) - Method in class org.joda.time.chrono.BaseChronology
-
Sets the partial into the instant.
- set(ReadablePartial, long) - Method in class org.joda.time.Chronology
-
Sets the partial into the instant.
- setChronology(Chronology) - Method in class org.joda.time.base.BaseDateTime
-
Sets the chronology of the datetime.
- setChronology(Chronology) - Method in class org.joda.time.MutableDateTime
-
Set the chronology of the datetime.
- setChronology(Chronology) - Method in class org.joda.time.MutableInterval
-
Sets the chronology of this time interval.
- setChronology(Chronology) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the chronology of the datetime, which has no effect if not applicable.
- setChronology(Chronology) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the chronology of this time interval.
- setCopy(int) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Sets this field in a copy of the DateMidnight.
- setCopy(int) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime.
- setCopy(int) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate.
- setCopy(int) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime.
- setCopy(int) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime.
- setCopy(int) - Method in class org.joda.time.MonthDay.Property
-
Sets this field in a copy of the MonthDay.
- setCopy(int) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial.
- setCopy(int) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Sets this field in a copy of the TimeOfDay.
- setCopy(int) - Method in class org.joda.time.YearMonth.Property
-
Sets this field in a copy of the YearMonth.
- setCopy(int) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Sets this field in a copy of the YearMonthDay.
- setCopy(String) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Sets this field in a copy of the DateMidnight to a parsed text value.
- setCopy(String) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime to a parsed text value.
- setCopy(String) - Method in class org.joda.time.MonthDay.Property
-
Sets this field in a copy of the MonthDay to a parsed text value.
- setCopy(String) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial to a parsed text value.
- setCopy(String) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Sets this field in a copy of the TimeOfDay to a parsed text value.
- setCopy(String) - Method in class org.joda.time.YearMonth.Property
-
Sets this field in a copy of the YearMonth to a parsed text value.
- setCopy(String) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Sets this field in a copy of the YearMonthDay to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Sets this field in a copy of the DateMidnight to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.DateTime.Property
-
Sets this field in a copy of the DateTime to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.LocalDate.Property
-
Sets this field in a copy of the LocalDate to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.LocalDateTime.Property
-
Sets this field in a copy of the LocalDateTime to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.LocalTime.Property
-
Sets this field in a copy of the LocalTime to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.MonthDay.Property
-
Sets this field in a copy of the MonthDay to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.Partial.Property
-
Sets this field in a copy of the Partial to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Sets this field in a copy of the TimeOfDay to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.YearMonth.Property
-
Sets this field in a copy of the YearMonth to a parsed text value.
- setCopy(String, Locale) - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Sets this field in a copy of the YearMonthDay to a parsed text value.
- setCurrentMillisFixed(long) - Static method in class org.joda.time.DateTimeUtils
-
Sets the current time to return a fixed millisecond time.
- setCurrentMillisOffset(long) - Static method in class org.joda.time.DateTimeUtils
-
Sets the current time to return the system time plus an offset.
- setCurrentMillisProvider(DateTimeUtils.MillisProvider) - Static method in class org.joda.time.DateTimeUtils
-
Sets the provider of the current time to class specified.
- setCurrentMillisSystem() - Static method in class org.joda.time.DateTimeUtils
-
Resets the current time to return the system time.
- setDate(int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the date from fields.
- setDate(int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the date from fields.
- setDate(long) - Method in class org.joda.time.MutableDateTime
-
Set the date from milliseconds.
- setDate(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Set the date from another instant.
- setDateTime(int, int, int, int, int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the date and time from fields.
- setDateTime(int, int, int, int, int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the date and time from fields.
- setDayOfMonth(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of the month to the specified value.
- setDayOfMonth(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of the month to the specified value.
- setDayOfWeek(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of week to the specified value.
- setDayOfWeek(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of week to the specified value.
- setDayOfYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the day of year to the specified value.
- setDayOfYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the day of year to the specified value.
- setDays(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of days of the period.
- setDays(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of days of the period.
- setDefault(DateTimeZone) - Static method in class org.joda.time.DateTimeZone
-
Sets the default time zone.
- setDefaultTimeZoneNames(Map<String, DateTimeZone>) - Static method in class org.joda.time.DateTimeUtils
-
Sets the default map of time zone names.
- setDurationAfterStart(long) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationAfterStart(ReadableDuration) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationAfterStart(ReadableDuration) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the duration of this time interval, preserving the start instant.
- setDurationBeforeEnd(long) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setDurationBeforeEnd(ReadableDuration) - Method in class org.joda.time.MutableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setDurationBeforeEnd(ReadableDuration) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the duration of this time interval, preserving the end instant.
- setEnd(ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets the end of this time interval as an Instant.
- setEnd(ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the end of this time interval as an Instant.
- setEndMillis(long) - Method in class org.joda.time.MutableInterval
-
Sets the end of this time interval.
- setEndMillis(long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the end of this time interval.
- setExtended(long, int) - Method in class org.joda.time.DateTimeField
-
Sets a value in the milliseconds supplied, allowing a little leniency at the margins.
- setField(DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of a field in this period.
- setFieldInto(int[], DurationFieldType, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of a field in this period.
- setFixedSavings(String, int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Set a fixed savings rule at the cutover.
- setHourOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the hour of the day to the specified value.
- setHourOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the hour of the day to the specified value.
- setHours(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of hours of the period.
- setHours(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of hours of the period.
- setInterval(long, long) - Method in class org.joda.time.MutableInterval
-
Sets this interval from two millisecond instants retaining the chronology.
- setInterval(long, long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval from two millisecond instants.
- setInterval(long, long, Chronology) - Method in class org.joda.time.base.BaseInterval
-
Sets this interval from two millisecond instants and a chronology.
- setInterval(ReadableInstant, ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets this interval from two instants, replacing the chronology with that from the start instant.
- setInterval(ReadableInstant, ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval from two instants.
- setInterval(ReadableInterval) - Method in class org.joda.time.MutableInterval
-
Sets this interval to be the same as another.
- setInterval(ReadableInterval) - Method in interface org.joda.time.ReadWritableInterval
-
Sets this interval to be the same as another.
- setInto(ReadWritableInterval, Object, Chronology) - Method in interface org.joda.time.convert.IntervalConverter
-
Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.
- setInto(ReadWritablePeriod, Object, Chronology) - Method in interface org.joda.time.convert.PeriodConverter
-
Extracts duration values from an object of this converter's type, and sets them into the given ReadWritableDuration.
- setMillis(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of millis of the period.
- setMillis(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of millis of the period.
- setMillis(long) - Method in class org.joda.time.base.BaseDateTime
-
Sets the milliseconds of the datetime.
- setMillis(long) - Method in class org.joda.time.base.BaseDuration
-
Sets the length of this duration in milliseconds.
- setMillis(long) - Method in class org.joda.time.MutableDateTime
-
Set the milliseconds of the datetime.
- setMillis(long) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the value as the number of milliseconds since the epoch, 1970-01-01T00:00:00Z.
- setMillis(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Sets the millisecond instant of this instant from another.
- setMillis(ReadableInstant) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the millisecond instant of this instant from another.
- setMillisOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the millis of the day to the specified value.
- setMillisOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the millis of the day to the specified value.
- setMillisOfSecond(int) - Method in class org.joda.time.MutableDateTime
-
Set the millis of the second to the specified value.
- setMillisOfSecond(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the millis of the second to the specified value.
- setMinuteOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the minute of the day to the specified value.
- setMinuteOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the minute of the day to the specified value.
- setMinuteOfHour(int) - Method in class org.joda.time.MutableDateTime
-
Set the minute of the hour to the specified value.
- setMinuteOfHour(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the minute of the hour to the specified value.
- setMinutes(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of minutes of the period.
- setMinutes(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of minutes of the period.
- setMonthOfYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the month of the year to the specified value.
- setMonthOfYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the month of the year to the specified value.
- setMonths(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of months of the period.
- setMonths(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of months of the period.
- setNameProvider(NameProvider) - Static method in class org.joda.time.DateTimeZone
-
Sets the name provider factory.
- setOffset(int) - Method in class org.joda.time.format.DateTimeParserBucket
-
Deprecated.use Integer version
- setOffset(Integer) - Method in class org.joda.time.format.DateTimeParserBucket
-
Set a time zone offset to be used when computeMillis is called.
- setPeriod(int, int, int, int, int, int, int, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the eight standard the fields in one go.
- setPeriod(int, int, int, int, int, int, int, int) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go.
- setPeriod(int, int, int, int, int, int, int, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go.
- setPeriod(long) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond duration dividing the fields using the period type.
- setPeriod(long, long) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond interval using ISOChronology and dividing the fields using the period type.
- setPeriod(long, long, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond interval.
- setPeriod(long, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a millisecond duration.
- setPeriod(ReadableDuration) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a duration dividing the fields using the period type.
- setPeriod(ReadableDuration, Chronology) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from a duration dividing the fields using the period type.
- setPeriod(ReadableInstant, ReadableInstant) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from two instants representing an interval.
- setPeriod(ReadableInterval) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from an interval using the ISO chronology and dividing the fields using the period type.
- setPeriod(ReadableInterval) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go from an interval dividing the fields using the period type.
- setPeriod(ReadablePeriod) - Method in class org.joda.time.base.BasePeriod
-
Sets all the fields of this period from another.
- setPeriod(ReadablePeriod) - Method in class org.joda.time.MutablePeriod
-
Sets all the fields in one go from another ReadablePeriod.
- setPeriod(ReadablePeriod) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets all the fields in one go from another ReadablePeriod.
- setPeriodAfterStart(ReadablePeriod) - Method in class org.joda.time.MutableInterval
-
Sets the period of this time interval, preserving the start instant and using the ISOChronology in the default zone for calculations.
- setPeriodAfterStart(ReadablePeriod) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the period of this time interval, preserving the start instant.
- setPeriodBeforeEnd(ReadablePeriod) - Method in class org.joda.time.MutableInterval
-
Sets the period of this time interval, preserving the end instant and using the ISOChronology in the default zone for calculations.
- setPeriodBeforeEnd(ReadablePeriod) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the period of this time interval, preserving the end instant.
- setPivotYear(Integer) - Method in class org.joda.time.format.DateTimeParserBucket
-
Deprecated.this method should never have been public
- setProvider(Provider) - Static method in class org.joda.time.DateTimeZone
-
Sets the zone provider factory.
- setRounding(DateTimeField) - Method in class org.joda.time.MutableDateTime
-
Sets the status of rounding to use the specified field and ROUND_FLOOR mode.
- setRounding(DateTimeField, int) - Method in class org.joda.time.MutableDateTime
-
Sets the status of rounding to use the specified field and mode.
- setSecondOfDay(int) - Method in class org.joda.time.MutableDateTime
-
Set the second of the day to the specified value.
- setSecondOfDay(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the second of the day to the specified value.
- setSecondOfMinute(int) - Method in class org.joda.time.MutableDateTime
-
Set the second of the minute to the specified value.
- setSecondOfMinute(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the second of the minute to the specified value.
- setSeconds(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of seconds of the period.
- setSeconds(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of seconds of the period.
- setStandardOffset(int) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Sets the standard offset to use for newly added rules until the next cutover is added.
- setStart(ReadableInstant) - Method in class org.joda.time.MutableInterval
-
Sets the start of this time interval as an Instant.
- setStart(ReadableInstant) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the start of this time interval as an Instant.
- setStartMillis(long) - Method in class org.joda.time.MutableInterval
-
Sets the start of this time interval.
- setStartMillis(long) - Method in interface org.joda.time.ReadWritableInterval
-
Sets the start of this time interval.
- setTime(int, int, int, int) - Method in class org.joda.time.MutableDateTime
-
Set the time from fields.
- setTime(int, int, int, int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the time from fields.
- setTime(long) - Method in class org.joda.time.MutableDateTime
-
Set the time from milliseconds.
- setTime(ReadableInstant) - Method in class org.joda.time.MutableDateTime
-
Set the time from another instant.
- setValue(int) - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Sets the amount of this period.
- setValue(int, int) - Method in class org.joda.time.base.BasePartial
-
Sets the value of the field at the specified index.
- setValue(int, int) - Method in class org.joda.time.base.BasePeriod
-
Sets the value of the field at the specified index.
- setValue(int, int) - Method in class org.joda.time.MutablePeriod
-
Sets the value of one of the fields by index.
- setValue(int, int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the value of one of the fields by index.
- setValues(int[]) - Method in class org.joda.time.base.BasePartial
-
Sets the values of all fields.
- setValues(int[]) - Method in class org.joda.time.base.BasePeriod
-
Sets the values of all fields.
- setWeekOfWeekyear(int) - Method in class org.joda.time.MutableDateTime
-
Set the week of weekyear to the specified value.
- setWeekOfWeekyear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the week of weekyear to the specified value.
- setWeeks(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of weeks of the period.
- setWeeks(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of weeks of the period.
- setWeekyear(int) - Method in class org.joda.time.MutableDateTime
-
Set the weekyear to the specified value.
- setWeekyear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the weekyear to the specified value.
- setYear(int) - Method in class org.joda.time.MutableDateTime
-
Set the year to the specified value.
- setYear(int) - Method in interface org.joda.time.ReadWritableDateTime
-
Set the year to the specified value.
- setYears(int) - Method in class org.joda.time.MutablePeriod
-
Sets the number of years of the period.
- setYears(int) - Method in interface org.joda.time.ReadWritablePeriod
-
Sets the number of years of the period.
- setZone(DateTimeZone) - Method in class org.joda.time.format.DateTimeParserBucket
-
Set a time zone to be used when computeMillis is called.
- setZone(DateTimeZone) - Method in class org.joda.time.MutableDateTime
-
Sets the time zone of the datetime, changing the chronology and field values.
- setZone(DateTimeZone) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the time zone of the datetime, changing the chronology and field values.
- setZoneRetainFields(DateTimeZone) - Method in class org.joda.time.MutableDateTime
-
Sets the time zone of the datetime, changing the chronology and millisecond.
- setZoneRetainFields(DateTimeZone) - Method in interface org.joda.time.ReadWritableInstant
-
Sets the time zone of the datetime, changing the chronology and millisecond.
- SEVEN - Static variable in class org.joda.time.Days
-
Constant representing seven days.
- SEVEN - Static variable in class org.joda.time.Hours
-
Constant representing seven hours.
- SEVEN - Static variable in class org.joda.time.Months
-
Constant representing seven months.
- shortDate() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short date format.
- shortDateTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short datetime format.
- shortTime() - Static method in class org.joda.time.format.DateTimeFormat
-
Creates a format that outputs a short time format.
- SIX - Static variable in class org.joda.time.Days
-
Constant representing six days.
- SIX - Static variable in class org.joda.time.Hours
-
Constant representing six hours.
- SIX - Static variable in class org.joda.time.Months
-
Constant representing six months.
- size() - Method in class org.joda.time.base.AbstractPeriod
-
Gets the number of fields that this period supports.
- size() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Gets the number of fields that this period supports, which is one.
- size() - Method in class org.joda.time.LocalDate
-
Gets the number of fields in this partial, which is three.
- size() - Method in class org.joda.time.LocalDateTime
-
Gets the number of fields in this partial, which is four.
- size() - Method in class org.joda.time.LocalTime
-
Gets the number of fields in this partial, which is four.
- size() - Method in class org.joda.time.MonthDay
-
Gets the number of fields in this partial, which is two.
- size() - Method in class org.joda.time.Partial
-
Gets the number of fields in this partial.
- size() - Method in class org.joda.time.PeriodType
-
Gets the number of fields in the period type.
- size() - Method in interface org.joda.time.ReadablePartial
-
Gets the number of fields that this partial supports.
- size() - Method in interface org.joda.time.ReadablePeriod
-
Gets the number of fields that this period supports.
- size() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Gets the number of fields in this partial.
- size() - Method in class org.joda.time.YearMonth
-
Gets the number of fields in this partial, which is two.
- size() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Gets the number of fields in this partial.
- SkipDateTimeField - Class in org.joda.time.field
-
Wraps another field such that a certain value is skipped.
- SkipDateTimeField(Chronology, DateTimeField) - Constructor for class org.joda.time.field.SkipDateTimeField
-
Constructor that skips zero.
- SkipDateTimeField(Chronology, DateTimeField, int) - Constructor for class org.joda.time.field.SkipDateTimeField
-
Constructor.
- SkipUndoDateTimeField - Class in org.joda.time.field
-
Wraps another field such that a certain value is added back into the sequence of numbers.
- SkipUndoDateTimeField(Chronology, DateTimeField) - Constructor for class org.joda.time.field.SkipUndoDateTimeField
-
Constructor that reinserts zero.
- SkipUndoDateTimeField(Chronology, DateTimeField, int) - Constructor for class org.joda.time.field.SkipUndoDateTimeField
-
Constructor.
- standard() - Static method in class org.joda.time.format.ISOPeriodFormat
-
The standard ISO format - PyYmMwWdDThHmMsS.
- standard() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields.
- standardDays(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of days assuming that there are the standard number of milliseconds in a day.
- standardDaysIn(ReadablePeriod) - Static method in class org.joda.time.Days
-
Creates a new
Days
representing the number of complete standard length days in the specified period. - standardHours(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of hours assuming that there are the standard number of milliseconds in an hour.
- standardHoursIn(ReadablePeriod) - Static method in class org.joda.time.Hours
-
Creates a new
Hours
representing the number of complete standard length hours in the specified period. - standardMinutes(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of minutes assuming that there are the standard number of milliseconds in a minute.
- standardMinutesIn(ReadablePeriod) - Static method in class org.joda.time.Minutes
-
Creates a new
Minutes
representing the number of complete standard length minutes in the specified period. - standardPeriodIn(ReadablePeriod, long) - Static method in class org.joda.time.base.BaseSingleFieldPeriod
-
Creates a new instance representing the number of complete standard length units in the specified period.
- standardSeconds(long) - Static method in class org.joda.time.Duration
-
Create a duration with the specified number of seconds assuming that there are the standard number of milliseconds in a second.
- standardSecondsIn(ReadablePeriod) - Static method in class org.joda.time.Seconds
-
Creates a new
Seconds
representing the number of complete standard length seconds in the specified period. - standardWeeksIn(ReadablePeriod) - Static method in class org.joda.time.Weeks
-
Creates a new
Weeks
representing the number of complete standard length weeks in the specified period. - StrictChronology - Class in org.joda.time.chrono
-
Wraps another Chronology, ensuring all the fields are strict.
- StrictDateTimeField - Class in org.joda.time.field
-
Converts a lenient DateTimeField into a strict one.
- StrictDateTimeField(DateTimeField) - Constructor for class org.joda.time.field.StrictDateTimeField
- subtract(long, int) - Method in class org.joda.time.DurationField
-
Subtracts a duration value (which may be negative) from the instant.
- subtract(long, long) - Method in class org.joda.time.DurationField
-
Subtracts a duration value (which may be negative) from the instant.
- SUNDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (7) representing Sunday, the seventh day of the week (ISO)
- SYSTEM_MILLIS_PROVIDER - Static variable in class org.joda.time.DateTimeUtils
-
The singleton instance of the system millisecond provider.
T
- TEN - Static variable in class org.joda.time.Months
-
Constant representing ten months.
- THREE - Static variable in class org.joda.time.Days
-
Constant representing three days.
- THREE - Static variable in class org.joda.time.Hours
-
Constant representing three hours.
- THREE - Static variable in class org.joda.time.Minutes
-
Constant representing three minutes.
- THREE - Static variable in class org.joda.time.Months
-
Constant representing three months.
- THREE - Static variable in class org.joda.time.Seconds
-
Constant representing three seconds.
- THREE - Static variable in class org.joda.time.Weeks
-
Constant representing three weeks.
- THREE - Static variable in class org.joda.time.Years
-
Constant representing three years.
- THURSDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (4) representing Thursday, the fourth day of the week (ISO)
- time() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset (HH:mm:ss.SSSZZ).
- time() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard time fields.
- timeElementParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO time parser.
- timeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset (HH:mm:ssZZ).
- TimeOfDay - Class in org.joda.time
-
Deprecated.Use LocalTime which has a much better internal implementation and has been available since 1.3
- TimeOfDay() - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with the current time, using ISOChronology in the default zone to extract the fields.
- TimeOfDay(int, int) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds using
ISOChronology
in the default zone. - TimeOfDay(int, int, int) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified time field values and zero milliseconds using
ISOChronology
in the default zone. - TimeOfDay(int, int, int, int) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified time field values using
ISOChronology
in the default zone. - TimeOfDay(int, int, int, int, Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified time field values and chronology.
- TimeOfDay(int, int, int, Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified time field values and zero milliseconds.
- TimeOfDay(int, int, Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with specified hour and minute and zero seconds and milliseconds.
- TimeOfDay(long) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
- TimeOfDay(long, Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay extracting the partial fields from the specified milliseconds using the chronology provided.
- TimeOfDay(Object) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from an Object that represents a time.
- TimeOfDay(Object, Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay from an Object that represents a time, using the specified chronology.
- TimeOfDay(Chronology) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with the current time, using the specified chronology and zone to extract the fields.
- TimeOfDay(DateTimeZone) - Constructor for class org.joda.time.TimeOfDay
-
Deprecated.Constructs a TimeOfDay with the current time, using ISOChronology in the specified zone to extract the fields.
- TimeOfDay.Property - Class in org.joda.time
-
Deprecated.Use LocalTime which has a much better internal implementation
- timeParser() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a generic ISO time parser for parsing times with a possible zone.
- toCalendar(Locale) - Method in class org.joda.time.base.AbstractDateTime
-
Get the date time as a
java.util.Calendar
, assigning exactly the same millisecond instant. - toDate() - Method in class org.joda.time.base.AbstractInstant
-
Get the date time as a
java.util.Date
. - toDate() - Method in class org.joda.time.LocalDate
-
Get the date time as a
java.util.Date
. - toDate() - Method in class org.joda.time.LocalDateTime
-
Get the date time as a
java.util.Date
. - toDate(TimeZone) - Method in class org.joda.time.LocalDateTime
-
Get the date time as a
java.util.Date
using the specified time zone. - toDateMidnight() - Method in class org.joda.time.DateTime
-
Deprecated.DateMidnight is deprecated
- toDateMidnight() - Method in class org.joda.time.LocalDate
-
Deprecated.DateMidnight is deprecated
- toDateMidnight() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to a DateMidnight in the default time zone.
- toDateMidnight(DateTimeZone) - Method in class org.joda.time.LocalDate
-
Deprecated.DateMidnight is deprecated
- toDateMidnight(DateTimeZone) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to a DateMidnight.
- toDateTime() - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a DateTime in the same zone.
- toDateTime() - Method in class org.joda.time.DateTime
-
Get this object as a DateTime by returning
this
. - toDateTime() - Method in class org.joda.time.Instant
-
Get this object as a DateTime using ISOChronology in the default zone.
- toDateTime() - Method in class org.joda.time.LocalDateTime
-
Converts this object to a DateTime using the default zone.
- toDateTime() - Method in interface org.joda.time.ReadableDateTime
-
Get this object as a DateTime.
- toDateTime(Chronology) - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a DateTime using the given chronology and its zone.
- toDateTime(Chronology) - Method in class org.joda.time.DateTime
-
Get this object as a DateTime, returning
this
if possible. - toDateTime(DateTimeZone) - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a DateTime using the same chronology but a different zone.
- toDateTime(DateTimeZone) - Method in class org.joda.time.DateTime
-
Get this object as a DateTime, returning
this
if possible. - toDateTime(DateTimeZone) - Method in class org.joda.time.LocalDateTime
-
Converts this object to a DateTime using the specified zone.
- toDateTime(LocalTime) - Method in class org.joda.time.LocalDate
-
Converts this object to a DateTime using a LocalTime to fill in the missing fields and using the default time zone.
- toDateTime(LocalTime, DateTimeZone) - Method in class org.joda.time.LocalDate
-
Converts this object to a DateTime using a LocalTime to fill in the missing fields.
- toDateTime(ReadableInstant) - Method in class org.joda.time.base.AbstractPartial
-
Resolves this partial against another complete instant to create a new full instant.
- toDateTime(ReadableInstant) - Method in interface org.joda.time.ReadablePartial
-
Converts this partial to a full datetime by resolving it against another datetime.
- toDateTime(TimeOfDay) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to a DateTime using a TimeOfDay to fill in the missing fields and using the default time zone.
- toDateTime(TimeOfDay, DateTimeZone) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.
- toDateTimeAtCurrentTime() - Method in class org.joda.time.LocalDate
-
Converts this LocalDate to a full datetime using the default time zone setting the date fields from this instance and the time fields from the current time.
- toDateTimeAtCurrentTime() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this partial to a full datetime using the default time zone setting the date fields from this instance and the time fields from the current time.
- toDateTimeAtCurrentTime(DateTimeZone) - Method in class org.joda.time.LocalDate
-
Converts this LocalDate to a full datetime using the specified time zone setting the date fields from this instance and the time fields from the current time.
- toDateTimeAtCurrentTime(DateTimeZone) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this partial to a full datetime using the specified time zone setting the date fields from this instance and the time fields from the current time.
- toDateTimeAtMidnight() - Method in class org.joda.time.LocalDate
-
Deprecated.Use
LocalDate.toDateTimeAtStartOfDay()
which won't throw an exception - toDateTimeAtMidnight() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this YearMonthDay to a full datetime at midnight using the default time zone.
- toDateTimeAtMidnight(DateTimeZone) - Method in class org.joda.time.LocalDate
-
Deprecated.Use
LocalDate.toDateTimeAtStartOfDay(DateTimeZone)
which won't throw an exception - toDateTimeAtMidnight(DateTimeZone) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this YearMonthDay to a full datetime at midnight using the specified time zone.
- toDateTimeAtStartOfDay() - Method in class org.joda.time.LocalDate
-
Converts this LocalDate to a full datetime at the earliest valid time for the date using the default time zone.
- toDateTimeAtStartOfDay(DateTimeZone) - Method in class org.joda.time.LocalDate
-
Converts this LocalDate to a full datetime at the earliest valid time for the date using the specified time zone.
- toDateTimeISO() - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a DateTime using ISOChronology in the same zone.
- toDateTimeISO() - Method in class org.joda.time.DateTime
-
Get this object as a DateTime using ISOChronology in the default zone, returning
this
if possible. - toDateTimeISO() - Method in class org.joda.time.Instant
-
Deprecated.Use toDateTime() as it is identical
- toDateTimeToday() - Method in class org.joda.time.LocalTime
-
Converts this LocalTime to a full datetime using the default time zone setting the time fields from this instance and the date fields from the current date.
- toDateTimeToday() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Converts this partial to a full datetime using the default time zone setting the time fields from this instance and the date fields from the current time.
- toDateTimeToday(DateTimeZone) - Method in class org.joda.time.LocalTime
-
Converts this LocalTime to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
- toDateTimeToday(DateTimeZone) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Converts this partial to a full datetime using the specified time zone setting the time fields from this instance and the date fields from the current time.
- toDateTimeZone(String, boolean) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Processes all the rules and builds a DateTimeZone.
- toDuration() - Method in class org.joda.time.base.AbstractDuration
-
Get this duration as an immutable
Duration
object. - toDuration() - Method in class org.joda.time.base.AbstractInterval
-
Gets the duration of this time interval.
- toDuration() - Method in class org.joda.time.Duration
-
Get this duration as an immutable
Duration
object by returningthis
. - toDuration() - Method in interface org.joda.time.ReadableDuration
-
Get this duration as an immutable
Duration
object. - toDuration() - Method in interface org.joda.time.ReadableInterval
-
Gets the millisecond duration of this time interval.
- toDurationFrom(ReadableInstant) - Method in class org.joda.time.base.BasePeriod
-
Gets the total millisecond duration of this period relative to a start instant.
- toDurationMillis() - Method in class org.joda.time.base.AbstractInterval
-
Gets the duration of this time interval in milliseconds.
- toDurationMillis() - Method in interface org.joda.time.ReadableInterval
-
Gets the millisecond duration of this time interval.
- toDurationTo(ReadableInstant) - Method in class org.joda.time.base.BasePeriod
-
Gets the total millisecond duration of this period relative to an end instant.
- toFormatter() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Constructs a DateTimeFormatter using all the appended elements.
- toFormatter() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Constructs a PeriodFormatter using all the appended elements.
- toGregorianCalendar() - Method in class org.joda.time.base.AbstractDateTime
-
Get the date time as a
java.util.GregorianCalendar
, assigning exactly the same millisecond instant. - toInstant() - Method in class org.joda.time.base.AbstractInstant
-
Get this object as an Instant.
- toInstant() - Method in class org.joda.time.Instant
-
Get this object as an Instant by returning
this
. - toInstant() - Method in interface org.joda.time.ReadableInstant
-
Get the value as a simple immutable
Instant
object. - toInterval() - Method in class org.joda.time.base.AbstractInterval
-
Get this interval as an immutable
Interval
object. - toInterval() - Method in class org.joda.time.DateMidnight
-
Deprecated.Converts this object to an
Interval
encompassing the whole of this day. - toInterval() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Returns the interval that represents the range of the minimum and maximum values of this field.
- toInterval() - Method in class org.joda.time.Interval
-
Get this interval as an immutable
Interval
object by returningthis
. - toInterval() - Method in class org.joda.time.LocalDate
-
Converts this object to an Interval representing the whole day in the default time zone.
- toInterval() - Method in interface org.joda.time.ReadableInterval
-
Get this interval as an immutable
Interval
object. - toInterval() - Method in class org.joda.time.YearMonth
-
Converts this object to an Interval representing the whole month.
- toInterval() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to an Interval representing the whole day in the default time zone.
- toInterval(DateTimeZone) - Method in class org.joda.time.LocalDate
-
Converts this object to an Interval representing the whole day.
- toInterval(DateTimeZone) - Method in class org.joda.time.YearMonth
-
Converts this object to an Interval representing the whole month.
- toInterval(DateTimeZone) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to an Interval representing the whole day.
- toIntervalFrom(ReadableInstant) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to an Interval starting at the specified instant.
- toIntervalTo(ReadableInstant) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to an Interval ending at the specified instant.
- toJulianDay(long) - Static method in class org.joda.time.DateTimeUtils
-
Calculates the astronomical Julian Day for an instant.
- toJulianDayNumber(long) - Static method in class org.joda.time.DateTimeUtils
-
Calculates the astronomical Julian Day Number for an instant.
- toLocalDate() - Method in class org.joda.time.DateMidnight
-
Deprecated.Converts this object to a
LocalDate
with the same date and chronology. - toLocalDate() - Method in class org.joda.time.DateTime
-
Converts this object to a
LocalDate
with the same date and chronology. - toLocalDate() - Method in class org.joda.time.LocalDateTime
-
Converts this object to a LocalDate with the same date and chronology.
- toLocalDate() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Converts this object to a LocalDate with the same date and chronology.
- toLocalDate(int) - Method in class org.joda.time.MonthDay
-
Converts this object to a LocalDate with the same month-day and chronology.
- toLocalDate(int) - Method in class org.joda.time.YearMonth
-
Converts this object to a LocalDate with the same year-month and chronology.
- toLocalDateTime() - Method in class org.joda.time.DateTime
-
Converts this object to a
LocalDateTime
with the same datetime and chronology. - toLocalDateTime(LocalTime) - Method in class org.joda.time.LocalDate
-
Converts this object to a LocalDateTime using a LocalTime to fill in the missing fields.
- toLocalTime() - Method in class org.joda.time.DateTime
-
Converts this object to a
LocalTime
with the same time and chronology. - toLocalTime() - Method in class org.joda.time.LocalDateTime
-
Converts this object to a LocalTime with the same time and chronology.
- toLocalTime() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Converts this object to a LocalTime with the same time and chronology.
- toMutableDateTime() - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a MutableDateTime in the same zone.
- toMutableDateTime() - Method in class org.joda.time.Instant
-
Get this object as a MutableDateTime using ISOChronology in the default zone.
- toMutableDateTime() - Method in interface org.joda.time.ReadableDateTime
-
Get this object as a MutableDateTime, always returning a new instance.
- toMutableDateTime(Chronology) - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a MutableDateTime using the given chronology and its zone.
- toMutableDateTime(DateTimeZone) - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a MutableDateTime using the same chronology but a different zone.
- toMutableDateTimeISO() - Method in class org.joda.time.base.AbstractInstant
-
Get this object as a MutableDateTime using ISOChronology in the same zone.
- toMutableDateTimeISO() - Method in class org.joda.time.Instant
-
Deprecated.Use toMutableDateTime() as it is identical
- toMutableInterval() - Method in class org.joda.time.base.AbstractInterval
-
Get this time interval as a
MutableInterval
. - toMutableInterval() - Method in interface org.joda.time.ReadableInterval
-
Get this time interval as a
MutableInterval
. - toMutablePeriod() - Method in class org.joda.time.base.AbstractPeriod
-
Get this object as a
MutablePeriod
. - toMutablePeriod() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Get this object as a
MutablePeriod
. - toMutablePeriod() - Method in interface org.joda.time.ReadablePeriod
-
Get this object as a
MutablePeriod
. - toParser() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Internal method to create a DateTimeParser instance using all the appended elements.
- toParser() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Internal method to create a PeriodParser instance using all the appended elements.
- toPeriod() - Method in class org.joda.time.base.AbstractDuration
-
Converts this duration to a Period instance using the standard period type and the ISO chronology.
- toPeriod() - Method in class org.joda.time.base.AbstractInterval
-
Converts the duration of the interval to a
Period
using the All period type. - toPeriod() - Method in class org.joda.time.base.AbstractPeriod
-
Get this period as an immutable
Period
object. - toPeriod() - Method in class org.joda.time.base.BaseSingleFieldPeriod
-
Get this period as an immutable
Period
object. - toPeriod() - Method in class org.joda.time.Period
-
Get this period as an immutable
Period
object by returningthis
. - toPeriod() - Method in interface org.joda.time.ReadableDuration
-
Converts this duration to a Period instance using the standard period type and the ISO chronology.
- toPeriod() - Method in interface org.joda.time.ReadableInterval
-
Converts the duration of the interval to a period using the standard period type.
- toPeriod() - Method in interface org.joda.time.ReadablePeriod
-
Get this period as an immutable
Period
object. - toPeriod(Chronology) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance using the standard period type and the specified chronology.
- toPeriod(PeriodType) - Method in class org.joda.time.base.AbstractInterval
-
Converts the duration of the interval to a
Period
using the specified period type. - toPeriod(PeriodType) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance using the specified period type and the ISO chronology.
- toPeriod(PeriodType) - Method in interface org.joda.time.ReadableInterval
-
Converts the duration of the interval to a period using the specified period type.
- toPeriod(PeriodType, Chronology) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance using the specified period type and chronology.
- toPeriodFrom(ReadableInstant) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval using the standard period type.
- toPeriodFrom(ReadableInstant, PeriodType) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval.
- toPeriodTo(ReadableInstant) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.
- toPeriodTo(ReadableInstant, PeriodType) - Method in class org.joda.time.base.BaseDuration
-
Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.
- toPrinter() - Method in class org.joda.time.format.DateTimeFormatterBuilder
-
Internal method to create a DateTimePrinter instance using all the appended elements.
- toPrinter() - Method in class org.joda.time.format.PeriodFormatterBuilder
-
Internal method to create a PeriodPrinter instance using all the appended elements.
- toStandardDays() - Method in class org.joda.time.Duration
-
Converts this duration to a period in days assuming that there are the standard number of milliseconds in a day.
- toStandardDays() - Method in class org.joda.time.Hours
-
Converts this period in hours to a period in days assuming a 24 hour day.
- toStandardDays() - Method in class org.joda.time.Minutes
-
Converts this period in minutes to a period in days assuming a 24 hour day and 60 minute hour.
- toStandardDays() - Method in class org.joda.time.Period
-
Converts this period to a period in days assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardDays() - Method in class org.joda.time.Seconds
-
Converts this period in seconds to a period in days assuming a 24 hour day, 60 minute hour and 60 second minute.
- toStandardDays() - Method in class org.joda.time.Weeks
-
Converts this period in weeks to a period in days assuming a 7 day week.
- toStandardDuration() - Method in class org.joda.time.Days
-
Converts this period in days to a duration in milliseconds assuming a 24 hour day, 60 minute hour and 60 second minute.
- toStandardDuration() - Method in class org.joda.time.Hours
-
Converts this period in hours to a duration in milliseconds assuming a 60 minute hour and 60 second minute.
- toStandardDuration() - Method in class org.joda.time.Minutes
-
Converts this period in minutes to a duration in milliseconds assuming a 60 second minute.
- toStandardDuration() - Method in class org.joda.time.Period
-
Converts this period to a duration assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardDuration() - Method in class org.joda.time.Seconds
-
Converts this period in seconds to a duration in milliseconds assuming a 24 hour day, 60 minute hour and 60 second minute.
- toStandardDuration() - Method in class org.joda.time.Weeks
-
Converts this period in weeks to a duration in milliweeks assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardHours() - Method in class org.joda.time.Days
-
Converts this period in days to a period in hours assuming a 24 hour day.
- toStandardHours() - Method in class org.joda.time.Duration
-
Converts this duration to a period in hours assuming that there are the standard number of milliseconds in an hour.
- toStandardHours() - Method in class org.joda.time.Minutes
-
Converts this period in minutes to a period in hours assuming a 60 minute hour.
- toStandardHours() - Method in class org.joda.time.Period
-
Converts this period to a period in hours assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardHours() - Method in class org.joda.time.Seconds
-
Converts this period in seconds to a period in hours assuming a 60 minute hour and 60 second minute.
- toStandardHours() - Method in class org.joda.time.Weeks
-
Converts this period in weeks to a period in hours assuming a 7 day week and 24 hour day.
- toStandardMinutes() - Method in class org.joda.time.Days
-
Converts this period in days to a period in minutes assuming a 24 hour day and 60 minute hour.
- toStandardMinutes() - Method in class org.joda.time.Duration
-
Converts this duration to a period in minutes assuming that there are the standard number of milliseconds in a minute.
- toStandardMinutes() - Method in class org.joda.time.Hours
-
Converts this period in hours to a period in minutes assuming a 60 minute hour.
- toStandardMinutes() - Method in class org.joda.time.Period
-
Converts this period to a period in minutes assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardMinutes() - Method in class org.joda.time.Seconds
-
Converts this period in seconds to a period in minutes assuming a 60 second minute.
- toStandardMinutes() - Method in class org.joda.time.Weeks
-
Converts this period in weeks to a period in minutes assuming a 7 day week, 24 hour day and 60 minute hour.
- toStandardSeconds() - Method in class org.joda.time.Days
-
Converts this period in days to a period in seconds assuming a 24 hour day, 60 minute hour and 60 second minute.
- toStandardSeconds() - Method in class org.joda.time.Duration
-
Converts this duration to a period in seconds assuming that there are the standard number of milliseconds in a second.
- toStandardSeconds() - Method in class org.joda.time.Hours
-
Converts this period in hours to a period in seconds assuming a 60 minute hour and 60 second minute.
- toStandardSeconds() - Method in class org.joda.time.Minutes
-
Converts this period in minutes to a period in seconds assuming a 60 second minute.
- toStandardSeconds() - Method in class org.joda.time.Period
-
Converts this period to a period in seconds assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardSeconds() - Method in class org.joda.time.Weeks
-
Converts this period in weeks to a period in seconds assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardWeeks() - Method in class org.joda.time.Days
-
Converts this period in days to a period in weeks assuming a 7 day week.
- toStandardWeeks() - Method in class org.joda.time.Hours
-
Converts this period in hours to a period in weeks assuming a 7 day week and 24 hour day.
- toStandardWeeks() - Method in class org.joda.time.Minutes
-
Converts this period in minutes to a period in weeks assuming a 7 days week, 24 hour day and 60 minute hour.
- toStandardWeeks() - Method in class org.joda.time.Period
-
Converts this period to a period in weeks assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toStandardWeeks() - Method in class org.joda.time.Seconds
-
Converts this period in seconds to a period in weeks assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
- toString() - Method in class org.joda.time.base.AbstractDateTime
-
Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSSZZ).
- toString() - Method in class org.joda.time.base.AbstractDuration
-
Gets the value as a String in the ISO8601 duration format including only seconds and milliseconds.
- toString() - Method in class org.joda.time.base.AbstractInstant
-
Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSSZZ).
- toString() - Method in class org.joda.time.base.AbstractInterval
-
Output a string in ISO8601 interval format.
- toString() - Method in class org.joda.time.base.AbstractPeriod
-
Gets the value as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.chrono.BaseChronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.chrono.CopticChronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.chrono.BuddhistChronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.chrono.GJChronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.chrono.ISOChronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.chrono.LenientChronology
-
A debugging string for the chronology.
- toString() - Method in class org.joda.time.chrono.LimitChronology
-
A debugging string for the chronology.
- toString() - Method in class org.joda.time.chrono.StrictChronology
-
A debugging string for the chronology.
- toString() - Method in class org.joda.time.chrono.ZonedChronology
-
A debugging string for the chronology.
- toString() - Method in class org.joda.time.Chronology
-
Gets a debugging toString.
- toString() - Method in class org.joda.time.convert.AbstractConverter
-
Gets a debugging string version of this converter.
- toString() - Method in class org.joda.time.convert.ConverterManager
-
Gets a debug representation of the object.
- toString() - Method in class org.joda.time.DateTimeComparator
-
Gets a debugging string.
- toString() - Method in class org.joda.time.DateTimeField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.DateTimeFieldType
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.DateTimeZone
-
Gets the datetime zone as a string, which is simply its ID.
- toString() - Method in class org.joda.time.Days
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.DurationField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.DurationFieldType
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.field.AbstractPartialFieldProperty
-
Output a debugging string.
- toString() - Method in class org.joda.time.field.AbstractReadableInstantFieldProperty
-
Output a debugging string.
- toString() - Method in class org.joda.time.field.BaseDateTimeField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.field.BaseDurationField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.field.DelegatedDateTimeField
- toString() - Method in class org.joda.time.field.DelegatedDurationField
- toString() - Method in class org.joda.time.field.MillisDurationField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.field.UnsupportedDateTimeField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.field.UnsupportedDurationField
-
Get a suitable debug string.
- toString() - Method in class org.joda.time.Hours
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.LocalDate
-
Output the date time in ISO8601 format (yyyy-MM-dd).
- toString() - Method in class org.joda.time.LocalDateTime
-
Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSS).
- toString() - Method in class org.joda.time.LocalTime
-
Output the time in ISO8601 format (HH:mm:ss.SSS).
- toString() - Method in class org.joda.time.Minutes
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.MonthDay
-
Output the month-day in ISO8601 format (--MM-dd).
- toString() - Method in class org.joda.time.Months
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.Partial
-
Output the date in an appropriate ISO8601 format.
- toString() - Method in class org.joda.time.PeriodType
-
Gets a debugging to string.
- toString() - Method in interface org.joda.time.ReadableDuration
-
Gets the value as a String in the ISO8601 duration format using hours, minutes and seconds (including fractional milliseconds).
- toString() - Method in interface org.joda.time.ReadableInstant
-
Get the value as a String in a recognisable ISO8601 format.
- toString() - Method in interface org.joda.time.ReadableInterval
-
Get the value as a String in the ISO8601 interval format.
- toString() - Method in interface org.joda.time.ReadablePartial
-
Get the value as a String in a recognisable ISO8601 format, only displaying supported fields.
- toString() - Method in interface org.joda.time.ReadablePeriod
-
Gets the value as a String in the style of the ISO8601 duration format.
- toString() - Method in class org.joda.time.Seconds
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.TimeOfDay
-
Deprecated.Output the time in the ISO8601 format THH:mm:ss.SSS.
- toString() - Method in class org.joda.time.Weeks
-
Gets this instance as a String in the ISO8601 duration format.
- toString() - Method in class org.joda.time.YearMonth
-
Output the year-month in ISO8601 format (yyyy-MM).
- toString() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Output the date in the ISO8601 format YYYY-MM-DD.
- toString() - Method in class org.joda.time.Years
-
Gets this instance as a String in the ISO8601 duration format.
- toString(String) - Method in class org.joda.time.base.AbstractDateTime
-
Output the instant using the specified format pattern.
- toString(String) - Method in class org.joda.time.base.BasePartial
-
Output the date using the specified format pattern.
- toString(String) - Method in class org.joda.time.LocalDate
-
Output the date using the specified format pattern.
- toString(String) - Method in class org.joda.time.LocalDateTime
-
Output the date using the specified format pattern.
- toString(String) - Method in class org.joda.time.LocalTime
-
Output the time using the specified format pattern.
- toString(String) - Method in class org.joda.time.MonthDay
-
Output the month-day using the specified format pattern.
- toString(String) - Method in class org.joda.time.Partial
-
Output the date using the specified format pattern.
- toString(String) - Method in interface org.joda.time.ReadableDateTime
-
Output the instant using the specified format pattern.
- toString(String) - Method in class org.joda.time.YearMonth
-
Output the year-month using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.base.AbstractDateTime
-
Output the instant using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.base.BasePartial
-
Output the date using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.LocalDate
-
Output the date using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.LocalDateTime
-
Output the date using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.LocalTime
-
Output the time using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.MonthDay
-
Output the month-day using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.Partial
-
Output the date using the specified format pattern.
- toString(String, Locale) - Method in interface org.joda.time.ReadableDateTime
-
Output the instant using the specified format pattern.
- toString(String, Locale) - Method in class org.joda.time.YearMonth
-
Output the year-month using the specified format pattern.
- toString(DateTimeFormatter) - Method in class org.joda.time.base.AbstractInstant
-
Uses the specified formatter to convert this partial to a String.
- toString(DateTimeFormatter) - Method in class org.joda.time.base.AbstractPartial
-
Uses the specified formatter to convert this partial to a String.
- toString(PeriodFormatter) - Method in class org.joda.time.base.AbstractPeriod
-
Uses the specified formatter to convert this period to a String.
- toStringList() - Method in class org.joda.time.Partial
-
Gets a string version of the partial that lists all the fields.
- toTimeOfDay() - Method in class org.joda.time.DateTime
-
Deprecated.Use LocalTime instead of TimeOfDay
- toTimeZone() - Method in class org.joda.time.DateTimeZone
-
Get the datetime zone as a
TimeZone
. - toTimeZone() - Method in class org.joda.time.tz.FixedDateTimeZone
-
Override to return the correct timezone instance.
- toYearMonthDay() - Method in class org.joda.time.DateMidnight
-
Deprecated.Use LocalDate instead of YearMonthDay
- toYearMonthDay() - Method in class org.joda.time.DateTime
-
Deprecated.Use LocalDate instead of YearMonthDay
- tTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, three digit fraction of second, and time zone offset prefixed by 'T' ('T'HH:mm:ss.SSSZZ).
- tTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a two digit hour of day, two digit minute of hour, two digit second of minute, and time zone offset prefixed by 'T' ('T'HH:mm:ssZZ).
- TUESDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (2) representing Tuesday, the second day of the week (ISO)
- TWELVE - Static variable in class org.joda.time.Months
-
Constant representing twelve months.
- TWO - Static variable in class org.joda.time.Days
-
Constant representing two days.
- TWO - Static variable in class org.joda.time.Hours
-
Constant representing two hours.
- TWO - Static variable in class org.joda.time.Minutes
-
Constant representing two minutes.
- TWO - Static variable in class org.joda.time.Months
-
Constant representing two months.
- TWO - Static variable in class org.joda.time.Seconds
-
Constant representing two seconds.
- TWO - Static variable in class org.joda.time.Weeks
-
Constant representing two weeks.
- TWO - Static variable in class org.joda.time.Years
-
Constant representing two years.
U
- uncaughtException(Exception) - Method in class org.joda.time.tz.ZoneInfoProvider
-
Called if an exception is thrown from getZone while loading zone data.
- UnsupportedDateTimeField - Class in org.joda.time.field
-
A placeholder implementation to use when a datetime field is not supported.
- UnsupportedDurationField - Class in org.joda.time.field
-
A placeholder implementation to use when a duration field is not supported.
- UTC - Static variable in class org.joda.time.DateTimeZone
-
The time zone for Universal Coordinated Time
- UTCProvider - Class in org.joda.time.tz
-
Simple time zone provider that supports only UTC.
- UTCProvider() - Constructor for class org.joda.time.tz.UTCProvider
-
Constructor.
V
- validate(ReadablePartial, int[]) - Method in class org.joda.time.chrono.BaseChronology
-
Validates whether the fields stored in a partial instant are valid.
- validate(ReadablePartial, int[]) - Method in class org.joda.time.Chronology
-
Validates whether the values are valid for the fields of a partial instant.
- verbose() - Static method in class org.joda.time.tz.ZoneInfoLogger
-
Gets a flag indicating that verbose logging is required.
- verifyValueBounds(String, int, int, int) - Static method in class org.joda.time.field.FieldUtils
-
Verify that input values are within specified bounds.
- verifyValueBounds(DateTimeField, int, int, int) - Static method in class org.joda.time.field.FieldUtils
-
Verify that input values are within specified bounds.
- verifyValueBounds(DateTimeFieldType, int, int, int) - Static method in class org.joda.time.field.FieldUtils
-
Verify that input values are within specified bounds.
W
- WEDNESDAY - Static variable in class org.joda.time.DateTimeConstants
-
Constant (3) representing Wednesday, the third day of the week (ISO)
- weekDate() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a full date as four digit weekyear, two digit week of weekyear, and one digit day of week (xxxx-'W'ww-e).
- weekDateTime() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full weekyear date and time, separated by a 'T' (xxxx-'W'ww-e'T'HH:mm:ss.SSSZZ).
- weekDateTimeNoMillis() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter that combines a full weekyear date and time without millis, separated by a 'T' (xxxx-'W'ww-e'T'HH:mm:ssZZ).
- weekOfWeekyear - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- weekOfWeekyear() - Method in class org.joda.time.chrono.AssembledChronology
- weekOfWeekyear() - Method in class org.joda.time.chrono.BaseChronology
-
Get the week of a week based year field for this chronology.
- weekOfWeekyear() - Method in class org.joda.time.Chronology
-
Get the week of a week based year field for this chronology.
- weekOfWeekyear() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the week of a week based year property which provides access to advanced functionality.
- weekOfWeekyear() - Method in class org.joda.time.DateTime
-
Get the week of a week based year property which provides access to advanced functionality.
- weekOfWeekyear() - Static method in class org.joda.time.DateTimeFieldType
-
Get the week of a week based year field type.
- weekOfWeekyear() - Method in class org.joda.time.LocalDate
-
Get the week of a week based year property which provides access to advanced functionality.
- weekOfWeekyear() - Method in class org.joda.time.LocalDateTime
-
Get the week of a week based year property which provides access to advanced functionality.
- weekOfWeekyear() - Method in class org.joda.time.MutableDateTime
-
Get the week of a week based year property.
- weeks - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- weeks() - Method in class org.joda.time.chrono.AssembledChronology
- weeks() - Method in class org.joda.time.chrono.BaseChronology
-
Get the weeks duration field for this chronology.
- weeks() - Method in class org.joda.time.Chronology
-
Get the weeks duration field for this chronology.
- weeks() - Static method in class org.joda.time.DurationFieldType
-
Get the weeks field type.
- weeks() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the weeks field.
- weeks(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of weeks.
- weeks(int) - Static method in class org.joda.time.Weeks
-
Obtains an instance of
Weeks
that may be cached. - Weeks - Class in org.joda.time
-
An immutable time period representing a number of weeks.
- weeksBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Weeks
-
Creates a
Weeks
representing the number of whole weeks between the two specified datetimes. - weeksBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Weeks
-
Creates a
Weeks
representing the number of whole weeks between the two specified partial datetimes. - weeksIn(ReadableInterval) - Static method in class org.joda.time.Weeks
-
Creates a
Weeks
representing the number of whole weeks in the specified interval. - weekyear - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- weekyear() - Method in class org.joda.time.chrono.AssembledChronology
- weekyear() - Method in class org.joda.time.chrono.BaseChronology
-
Get the year of a week based year field for this chronology.
- weekyear() - Method in class org.joda.time.Chronology
-
Get the year of a week based year field for this chronology.
- weekyear() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the year of a week based year property which provides access to advanced functionality.
- weekyear() - Method in class org.joda.time.DateTime
-
Get the year of a week based year property which provides access to advanced functionality.
- weekyear() - Static method in class org.joda.time.DateTimeFieldType
-
Get the year of a week based year field type.
- weekyear() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit weekyear.
- weekyear() - Method in class org.joda.time.LocalDate
-
Get the weekyear property which provides access to advanced functionality.
- weekyear() - Method in class org.joda.time.LocalDateTime
-
Get the weekyear property which provides access to advanced functionality.
- weekyear() - Method in class org.joda.time.MutableDateTime
-
Get the year of a week based year property.
- weekyearOfCentury - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- weekyearOfCentury() - Method in class org.joda.time.chrono.AssembledChronology
- weekyearOfCentury() - Method in class org.joda.time.chrono.BaseChronology
-
Get the year of a week based year in a century field for this chronology.
- weekyearOfCentury() - Method in class org.joda.time.Chronology
-
Get the year of a week based year in a century field for this chronology.
- weekyearOfCentury() - Static method in class org.joda.time.DateTimeFieldType
-
Get the year of a week based year within a century field type.
- weekyears - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- weekyears() - Method in class org.joda.time.chrono.AssembledChronology
- weekyears() - Method in class org.joda.time.chrono.BaseChronology
-
Get the weekyears duration field for this chronology.
- weekyears() - Method in class org.joda.time.Chronology
-
Get the weekyears duration field for this chronology.
- weekyears() - Static method in class org.joda.time.DurationFieldType
-
Get the weekyears field type.
- weekyearWeek() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit weekyear and two digit week of weekyear.
- weekyearWeekDay() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit weekyear, two digit week of weekyear, and one digit day of week.
- with(DateTimeFieldType, int) - Method in class org.joda.time.Partial
-
Gets a copy of this date with the specified field set to a new value.
- withCenturyOfEra(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the century of era field updated.
- withCenturyOfEra(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the century of era field updated.
- withCenturyOfEra(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the century of era field updated.
- withCenturyOfEra(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the century of era field updated.
- withChronology(Chronology) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with a different chronology, potentially changing the day in unexpected ways.
- withChronology(Chronology) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with a different chronology.
- withChronology(Chronology) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the specified chronology in preference to that of the printed object, or ISO on a parse.
- withChronology(Chronology) - Method in class org.joda.time.Interval
-
Creates a new interval with the same start and end, but a different chronology.
- withChronologyRetainFields(Chronology) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the specified chronology.
- withChronologyRetainFields(Chronology) - Method in class org.joda.time.Partial
-
Creates a new Partial instance with the specified chronology.
- withChronologyRetainFields(Chronology) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the specified chronology.
- withChronologyRetainFields(Chronology) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the specified chronology.
- withChronologyRetainFields(Chronology) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the specified chronology.
- withDate(int, int, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified date, retaining the time fields.
- withDate(int, int, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified date, retaining the time fields.
- withDate(LocalDate) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified date, retaining the time fields.
- withDayOfMonth(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the day of month field updated.
- withDayOfMonth(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the day of month field updated.
- withDayOfMonth(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the day of month field updated.
- withDayOfMonth(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the day of month field updated.
- withDayOfMonth(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the day of month field updated.
- withDayOfMonth(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the day of month field updated.
- withDayOfWeek(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the day of week field updated.
- withDayOfWeek(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the day of week field updated.
- withDayOfWeek(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the day of week field updated.
- withDayOfWeek(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the day of week field updated.
- withDayOfYear(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the day of year field updated.
- withDayOfYear(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the day of year field updated.
- withDayOfYear(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the day of year field updated.
- withDayOfYear(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the day of year field updated.
- withDays(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of days.
- withDaysRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support days.
- withDefaultYear(int) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the specified default year.
- withDurationAdded(long, int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration added.
- withDurationAdded(long, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- withDurationAdded(long, int) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified multiplied by the scalar.
- withDurationAdded(long, int) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- withDurationAdded(ReadableDuration, int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified duration added.
- withDurationAdded(ReadableDuration, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified duration added.
- withDurationAdded(ReadableDuration, int) - Method in class org.joda.time.Duration
-
Returns a new duration with this length plus that specified multiplied by the scalar.
- withDurationAdded(ReadableDuration, int) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with the specified duration added.
- withDurationAdded(ReadableDuration, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified duration added.
- withDurationAfterStart(ReadableDuration) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified duration after the start instant.
- withDurationBeforeEnd(ReadableDuration) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified duration before the end instant.
- withEarlierOffsetAtOverlap() - Method in class org.joda.time.DateTime
-
Returns a copy of this ZonedDateTime changing the zone offset to the earlier of the two valid offsets at a local time-line overlap.
- withEnd(ReadableInstant) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified end instant.
- withEndMillis(long) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified end millisecond instant.
- withEra(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the era field updated.
- withEra(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the era field updated.
- withEra(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the era field updated.
- withEra(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the era field updated.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.Partial
-
Gets a copy of this Partial with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the specified field set to a new value.
- withField(DateTimeFieldType, int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the specified field set to a new value.
- withField(DurationFieldType, int) - Method in class org.joda.time.Period
-
Creates a new Period instance with the specified field set to a new value.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.Partial
-
Gets a copy of this Partial with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.Period
-
Creates a new Period instance with the valueToAdd added to the specified field.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the value of the specified field increased, wrapping to what would be a new day if required.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the value of the specified field increased.
- withFieldAdded(DurationFieldType, int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the value of the specified field increased.
- withFieldAddWrapped(DurationFieldType, int) - Method in class org.joda.time.Partial
-
Gets a copy of this Partial with the value of the specified field increased.
- withFields(ReadablePartial) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the partial set of fields replacing those from this instance.
- withFields(ReadablePartial) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the partial set of fields replacing those from this instance.
- withFields(ReadablePartial) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the partial set of fields replacing those from this instance.
- withFields(ReadablePartial) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the partial set of fields replacing those from this instance.
- withFields(ReadablePartial) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the partial set of fields replacing those from this instance.
- withFields(ReadablePeriod) - Method in class org.joda.time.Period
-
Creates a new Period instance with the fields from the specified period copied on top of those from this period.
- withHourOfDay(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the hour of day field updated.
- withHourOfDay(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the hour of day field updated.
- withHourOfDay(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the hour of day field updated.
- withHourOfDay(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the hour of day field updated.
- withHours(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of hours.
- withHoursRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support hours.
- withLaterOffsetAtOverlap() - Method in class org.joda.time.DateTime
-
Returns a copy of this ZonedDateTime changing the zone offset to the later of the two valid offsets at a local time-line overlap.
- withLocale(Locale) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter with a different locale that will be used for printing and parsing.
- withLocale(Locale) - Method in class org.joda.time.format.PeriodFormatter
-
Returns a new formatter with a different locale that will be used for printing and parsing.
- withMaximumValue() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Returns a new DateMidnight with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.DateTime.Property
-
Returns a new DateTime with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.LocalDate.Property
-
Returns a new LocalDate with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.LocalDateTime.Property
-
Returns a new LocalDateTime with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.LocalTime.Property
-
Returns a new LocalTime with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.Partial.Property
-
Returns a new Partial with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Returns a new TimeOfDay with this field set to the maximum value for this field.
- withMaximumValue() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Returns a new YearMonthDay with this field set to the maximum value for this field.
- withMillis(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of millis.
- withMillis(long) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with a different millisecond instant.
- withMillis(long) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with different millis.
- withMillis(long) - Method in class org.joda.time.Duration
-
Creates a new Duration instance with a different millisecond length.
- withMillis(long) - Method in class org.joda.time.Instant
-
Gets a copy of this instant with different millis.
- withMillisOfDay(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the millis of day field updated.
- withMillisOfDay(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the millis of day field updated.
- withMillisOfDay(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the millis of day field updated.
- withMillisOfSecond(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the millis of second field updated.
- withMillisOfSecond(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the millis of second field updated.
- withMillisOfSecond(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the millis of second field updated.
- withMillisOfSecond(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the millis of second field updated.
- withMillisRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support milliseconds.
- withMinimumValue() - Method in class org.joda.time.DateMidnight.Property
-
Deprecated.Returns a new DateMidnight with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.DateTime.Property
-
Returns a new DateTime with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.LocalDate.Property
-
Returns a new LocalDate with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.LocalDateTime.Property
-
Returns a new LocalDateTime with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.LocalTime.Property
-
Returns a new LocalTime with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.Partial.Property
-
Returns a new Partial with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.TimeOfDay.Property
-
Deprecated.Returns a new TimeOfDay with this field set to the minimum value for this field.
- withMinimumValue() - Method in class org.joda.time.YearMonthDay.Property
-
Deprecated.Returns a new YearMonthDay with this field set to the minimum value for this field.
- withMinuteOfHour(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the minute of hour updated.
- withMinuteOfHour(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the minute of hour field updated.
- withMinuteOfHour(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the minute of hour field updated.
- withMinuteOfHour(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the minute of hour field updated.
- withMinutes(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of minutes.
- withMinutesRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support minutes.
- withMonthOfYear(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the month of year field updated.
- withMonthOfYear(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the month of year field updated.
- withMonths(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of months.
- withMonthsRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support months.
- withOffsetParsed() - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will create a datetime with a time zone equal to that of the offset of the parsed string.
- without(DateTimeFieldType) - Method in class org.joda.time.Partial
-
Gets a copy of this date with the specified field removed.
- withParseType(PeriodType) - Method in class org.joda.time.format.PeriodFormatter
-
Returns a new formatter with a different PeriodType for parsing.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.MonthDay
-
Returns a copy of this month-day with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.Partial
-
Gets a copy of this Partial with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the specified period added, wrapping to what would be a new day if required.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the specified period added.
- withPeriodAdded(ReadablePeriod, int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the specified period added.
- withPeriodAfterStart(ReadablePeriod) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified period after the start instant.
- withPeriodBeforeEnd(ReadablePeriod) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified period before the end instant.
- withPeriodType(PeriodType) - Method in class org.joda.time.Period
-
Creates a new Period instance with the same field values but different PeriodType.
- withPivotYear(int) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the specified pivot year for two digit year parsing in preference to that stored in the parser.
- withPivotYear(Integer) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the specified pivot year for two digit year parsing in preference to that stored in the parser.
- withSecondOfMinute(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the second of minute field updated.
- withSecondOfMinute(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the second of minute field updated.
- withSecondOfMinute(int) - Method in class org.joda.time.LocalTime
-
Returns a copy of this time with the second of minute field updated.
- withSecondOfMinute(int) - Method in class org.joda.time.TimeOfDay
-
Deprecated.Returns a copy of this time with the second of minute field updated.
- withSeconds(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of seconds.
- withSecondsRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support seconds.
- withStart(ReadableInstant) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified start instant.
- withStartMillis(long) - Method in class org.joda.time.Interval
-
Creates a new interval with the specified start millisecond instant.
- withTime(int, int, int, int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified time, retaining the date fields.
- withTime(int, int, int, int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the specified time, retaining the date fields.
- withTime(LocalTime) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the specified time, retaining the date fields.
- withTimeAtStartOfDay() - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the time set to the start of the day.
- withUTC() - Method in class org.joda.time.chrono.BaseChronology
-
Returns an instance of this Chronology that operates in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.BuddhistChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.CopticChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.EthiopicChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.GJChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.GregorianChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.IslamicChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.ISOChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.JulianChronology
-
Gets the Chronology in the UTC time zone.
- withUTC() - Method in class org.joda.time.chrono.LenientChronology
- withUTC() - Method in class org.joda.time.chrono.LimitChronology
-
If this LimitChronology is already UTC, then this is returned.
- withUTC() - Method in class org.joda.time.chrono.StrictChronology
- withUTC() - Method in class org.joda.time.chrono.ZonedChronology
- withUTC() - Method in class org.joda.time.Chronology
-
Returns an instance of this Chronology that operates in the UTC time zone.
- withWeekOfWeekyear(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the week of weekyear field updated.
- withWeekOfWeekyear(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the week of weekyear field updated.
- withWeekOfWeekyear(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the week of weekyear field updated.
- withWeekOfWeekyear(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the week of weekyear field updated.
- withWeeks(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of weeks.
- withWeeksRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support weeks.
- withWeekyear(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the weekyear field updated.
- withWeekyear(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the weekyear field updated.
- withWeekyear(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the weekyear field updated.
- withWeekyear(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the weekyear field updated.
- withYear(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the year field updated.
- withYear(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the year field updated.
- withYear(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the year field updated.
- withYear(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the year field updated.
- withYear(int) - Method in class org.joda.time.YearMonth
-
Returns a copy of this year-month with the year field updated.
- withYear(int) - Method in class org.joda.time.YearMonthDay
-
Deprecated.Returns a copy of this date with the year field updated.
- withYearOfCentury(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the year of century field updated.
- withYearOfCentury(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the year of century field updated.
- withYearOfCentury(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the year of century field updated.
- withYearOfCentury(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the year of century field updated.
- withYearOfEra(int) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with the year of era field updated.
- withYearOfEra(int) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with the year of era field updated.
- withYearOfEra(int) - Method in class org.joda.time.LocalDate
-
Returns a copy of this date with the year of era field updated.
- withYearOfEra(int) - Method in class org.joda.time.LocalDateTime
-
Returns a copy of this datetime with the year of era field updated.
- withYears(int) - Method in class org.joda.time.Period
-
Returns a new period with the specified number of years.
- withYearsRemoved() - Method in class org.joda.time.PeriodType
-
Returns a version of this PeriodType instance that does not support years.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.BaseChronology
-
Returns an instance of this Chronology that operates in any time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.BuddhistChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.CopticChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.EthiopicChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.GJChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.GregorianChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.IslamicChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.ISOChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.JulianChronology
-
Gets the Chronology in a specific time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.LenientChronology
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.LimitChronology
-
If this LimitChronology has the same time zone as the one given, then this is returned.
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.StrictChronology
- withZone(DateTimeZone) - Method in class org.joda.time.chrono.ZonedChronology
- withZone(DateTimeZone) - Method in class org.joda.time.Chronology
-
Returns an instance of this Chronology that operates in any time zone.
- withZone(DateTimeZone) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with a different time zone, preserving the millisecond instant.
- withZone(DateTimeZone) - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the specified zone in preference to the zone of the printed object, or default zone on a parse.
- withZoneRetainFields(DateTimeZone) - Method in class org.joda.time.DateMidnight
-
Deprecated.Returns a copy of this date with a different time zone, preserving the day The returned object will have a local time of midnight in the new zone on the same day as the original instant.
- withZoneRetainFields(DateTimeZone) - Method in class org.joda.time.DateTime
-
Returns a copy of this datetime with a different time zone, preserving the field values.
- withZoneUTC() - Method in class org.joda.time.format.DateTimeFormatter
-
Returns a new formatter that will use the UTC zone in preference to the zone of the printed object, or default zone on a parse.
- wordBased() - Static method in class org.joda.time.format.PeriodFormat
-
Returns a word based formatter for the JDK default locale.
- wordBased(Locale) - Static method in class org.joda.time.format.PeriodFormat
-
Returns a word based formatter for the specified locale.
- writePaddedInteger(Writer, int, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and writes it to the given writer.
- writePaddedInteger(Writer, long, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, prepended with a variable amount of '0' pad characters, and writes it to the given writer.
- writeReplace() - Method in class org.joda.time.DateTimeZone
-
By default, when DateTimeZones are serialized, only a "stub" object referring to the id is written out.
- writeTo(String, DataOutput) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Encodes a built DateTimeZone to the given stream.
- writeTo(String, OutputStream) - Method in class org.joda.time.tz.DateTimeZoneBuilder
-
Encodes a built DateTimeZone to the given stream.
- writeUnpaddedInteger(Writer, int) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and writes it to the given writer.
- writeUnpaddedInteger(Writer, long) - Static method in class org.joda.time.format.FormatUtils
-
Converts an integer to a string, and writes it to the given writer.
Y
- year - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- year() - Method in class org.joda.time.chrono.AssembledChronology
- year() - Method in class org.joda.time.chrono.BaseChronology
-
Get the year field for this chronology.
- year() - Method in class org.joda.time.Chronology
-
Get the year field for this chronology.
- year() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the year property which provides access to advanced functionality.
- year() - Method in class org.joda.time.DateTime
-
Get the year property which provides access to advanced functionality.
- year() - Static method in class org.joda.time.DateTimeFieldType
-
Get the year field type.
- year() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit year.
- year() - Method in class org.joda.time.LocalDate
-
Get the year property which provides access to advanced functionality.
- year() - Method in class org.joda.time.LocalDateTime
-
Get the year property which provides access to advanced functionality.
- year() - Method in class org.joda.time.MutableDateTime
-
Get the year property.
- year() - Method in class org.joda.time.YearMonth
-
Get the year field property which provides access to advanced functionality.
- year() - Method in class org.joda.time.YearMonthDay
-
Deprecated.Get the year field property which provides access to advanced functionality.
- YEAR - Static variable in class org.joda.time.YearMonth
-
The index of the year field in the field array
- YEAR - Static variable in class org.joda.time.YearMonthDay
-
Deprecated.The index of the year field in the field array
- yearDay() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines the year and day fields.
- yearDayTime() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields except months and weeks.
- yearMonth() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit year and two digit month of year.
- YearMonth - Class in org.joda.time
-
YearMonth is an immutable partial supporting the year and monthOfYear fields.
- YearMonth() - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth with the current year-month, using ISOChronology in the default zone to extract the fields.
- YearMonth(int, int) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth with specified year and month using
ISOChronology
. - YearMonth(int, int, Chronology) - Constructor for class org.joda.time.YearMonth
-
Constructs an instance set to the specified year and month using the specified chronology, whose zone is ignored.
- YearMonth(long) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
- YearMonth(long, Chronology) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth extracting the partial fields from the specified milliseconds using the chronology provided.
- YearMonth(Object) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth from an Object that represents some form of time.
- YearMonth(Object, Chronology) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth from an Object that represents some form of time, using the specified chronology.
- YearMonth(Chronology) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth with the current year-month, using the specified chronology and zone to extract the fields.
- YearMonth(DateTimeZone) - Constructor for class org.joda.time.YearMonth
-
Constructs a YearMonth with the current year-month, using ISOChronology in the specified zone to extract the fields.
- YearMonth.Property - Class in org.joda.time
-
The property class for
YearMonth
. - yearMonthDay() - Static method in class org.joda.time.format.ISODateTimeFormat
-
Returns a formatter for a four digit year, two digit month of year, and two digit day of month.
- yearMonthDay() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines the year, month and day fields.
- YearMonthDay - Class in org.joda.time
-
Deprecated.Use LocalDate which has a much better internal implementation and has been available since 1.3
- YearMonthDay() - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay with the current date, using ISOChronology in the default zone to extract the fields.
- YearMonthDay(int, int, int) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay with specified time field values using
ISOChronology
in the default zone. - YearMonthDay(int, int, int, Chronology) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay with specified time field values.
- YearMonthDay(long) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay extracting the partial fields from the specified milliseconds using the ISOChronology in the default zone.
- YearMonthDay(long, Chronology) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay extracting the partial fields from the specified milliseconds using the chronology provided.
- YearMonthDay(Object) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay from an Object that represents a time.
- YearMonthDay(Object, Chronology) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay from an Object that represents a time, using the specified chronology.
- YearMonthDay(Chronology) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay with the current date, using the specified chronology and zone to extract the fields.
- YearMonthDay(DateTimeZone) - Constructor for class org.joda.time.YearMonthDay
-
Deprecated.Constructs a YearMonthDay with the current date, using ISOChronology in the specified zone to extract the fields.
- YearMonthDay.Property - Class in org.joda.time
-
Deprecated.Use LocalDate which has a much better internal implementation
- yearMonthDayTime() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields except weeks.
- yearOfCentury - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- yearOfCentury() - Method in class org.joda.time.chrono.AssembledChronology
- yearOfCentury() - Method in class org.joda.time.chrono.BaseChronology
-
Get the year of century field for this chronology.
- yearOfCentury() - Method in class org.joda.time.Chronology
-
Get the year of century field for this chronology.
- yearOfCentury() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the year of century property which provides access to advanced functionality.
- yearOfCentury() - Method in class org.joda.time.DateTime
-
Get the year of century property which provides access to advanced functionality.
- yearOfCentury() - Static method in class org.joda.time.DateTimeFieldType
-
Get the year of century field type.
- yearOfCentury() - Method in class org.joda.time.LocalDate
-
Get the year of century property which provides access to advanced functionality.
- yearOfCentury() - Method in class org.joda.time.LocalDateTime
-
Get the year of century property which provides access to advanced functionality.
- yearOfCentury() - Method in class org.joda.time.MutableDateTime
-
Get the year of century property.
- yearOfEra - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- yearOfEra() - Method in class org.joda.time.chrono.AssembledChronology
- yearOfEra() - Method in class org.joda.time.chrono.BaseChronology
-
Get the year of era field for this chronology.
- yearOfEra() - Method in class org.joda.time.Chronology
-
Get the year of era field for this chronology.
- yearOfEra() - Method in class org.joda.time.DateMidnight
-
Deprecated.Get the year of era property which provides access to advanced functionality.
- yearOfEra() - Method in class org.joda.time.DateTime
-
Get the year of era property which provides access to advanced functionality.
- yearOfEra() - Static method in class org.joda.time.DateTimeFieldType
-
Get the year of era field type.
- yearOfEra() - Method in class org.joda.time.LocalDate
-
Get the year of era property which provides access to advanced functionality.
- yearOfEra() - Method in class org.joda.time.LocalDateTime
-
Get the year of era property which provides access to advanced functionality.
- yearOfEra() - Method in class org.joda.time.MutableDateTime
-
Get the year of era property.
- years - Variable in class org.joda.time.chrono.AssembledChronology.Fields
- years() - Method in class org.joda.time.chrono.AssembledChronology
- years() - Method in class org.joda.time.chrono.BaseChronology
-
Get the years duration field for this chronology.
- years() - Method in class org.joda.time.Chronology
-
Get the years duration field for this chronology.
- years() - Static method in class org.joda.time.DurationFieldType
-
Get the years field type.
- years() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines just the years field.
- years(int) - Static method in class org.joda.time.Period
-
Create a period with a specified number of years.
- years(int) - Static method in class org.joda.time.Years
-
Obtains an instance of
Years
that may be cached. - Years - Class in org.joda.time
-
An immutable time period representing a number of years.
- yearsBetween(ReadableInstant, ReadableInstant) - Static method in class org.joda.time.Years
-
Creates a
Years
representing the number of whole years between the two specified datetimes. - yearsBetween(ReadablePartial, ReadablePartial) - Static method in class org.joda.time.Years
-
Creates a
Years
representing the number of whole years between the two specified partial datetimes. - yearsIn(ReadableInterval) - Static method in class org.joda.time.Years
-
Creates a
Years
representing the number of whole years in the specified interval. - yearWeekDay() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines year, week and day fields.
- yearWeekDayTime() - Static method in class org.joda.time.PeriodType
-
Gets a type that defines all standard fields except months.
Z
- ZERO - Static variable in class org.joda.time.Days
-
Constant representing zero days.
- ZERO - Static variable in class org.joda.time.Duration
-
Constant representing zero millisecond duration
- ZERO - Static variable in class org.joda.time.Hours
-
Constant representing zero hours.
- ZERO - Static variable in class org.joda.time.Minutes
-
Constant representing zero minutes.
- ZERO - Static variable in class org.joda.time.Months
-
Constant representing zero months.
- ZERO - Static variable in class org.joda.time.Period
-
A period of zero length and standard period type.
- ZERO - Static variable in class org.joda.time.Seconds
-
Constant representing zero seconds.
- ZERO - Static variable in class org.joda.time.Weeks
-
Constant representing zero weeks.
- ZERO - Static variable in class org.joda.time.Years
-
Constant representing zero years.
- ZeroIsMaxDateTimeField - Class in org.joda.time.field
-
Wraps another field such that zero values are replaced with one more than it's maximum.
- ZeroIsMaxDateTimeField(DateTimeField, DateTimeFieldType) - Constructor for class org.joda.time.field.ZeroIsMaxDateTimeField
-
Constructor.
- ZonedChronology - Class in org.joda.time.chrono
-
Wraps another Chronology to add support for time zones.
- ZoneInfoCompiler - Class in org.joda.time.tz
-
Compiles IANA ZoneInfo database files into binary files for each time zone in the database.
- ZoneInfoCompiler() - Constructor for class org.joda.time.tz.ZoneInfoCompiler
- ZoneInfoLogger - Class in org.joda.time.tz
-
Logger for the compiler.
- ZoneInfoLogger() - Constructor for class org.joda.time.tz.ZoneInfoLogger
- ZoneInfoProvider - Class in org.joda.time.tz
-
ZoneInfoProvider loads compiled data files as generated by
ZoneInfoCompiler
. - ZoneInfoProvider() - Constructor for class org.joda.time.tz.ZoneInfoProvider
-
Search the default classloader resource path for compiled data files.
- ZoneInfoProvider(File) - Constructor for class org.joda.time.tz.ZoneInfoProvider
-
ZoneInfoProvider searches the given directory for compiled data files.
- ZoneInfoProvider(String) - Constructor for class org.joda.time.tz.ZoneInfoProvider
-
ZoneInfoProvider searches the given ClassLoader resource path for compiled data files.
- ZoneInfoProvider(String, ClassLoader) - Constructor for class org.joda.time.tz.ZoneInfoProvider
-
ZoneInfoProvider searches the given ClassLoader resource path for compiled data files.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
LocalDate
to represent a date without a time zone. Or useDateTime
to represent a full date and time, perhaps usingDateTime.withTimeAtStartOfDay()
to get an instant at the start of a day.