A B C D E F G H I J L M N O P Q R S T U V W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abs() - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with a positive length.
- AbstractChronology - Class in org.threeten.bp.chrono
-
An abstract implementation of
Chronology
. - AbstractChronology() - Constructor for class org.threeten.bp.chrono.AbstractChronology
- addTo(Temporal) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Adds this period to the specified temporal object.
- addTo(Temporal) - Method in class org.threeten.bp.Duration
-
Adds this duration to the specified temporal object.
- addTo(Temporal) - Method in class org.threeten.bp.Period
-
Adds this period to the specified temporal object.
- addTo(Temporal) - Method in interface org.threeten.bp.temporal.TemporalAmount
-
Adds to the specified temporal object.
- addTo(R, long) - Method in enum org.threeten.bp.temporal.ChronoUnit
- addTo(R, long) - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Returns a copy of the specified temporal object with the specified period added.
- adjustInto(Temporal) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- adjustInto(Temporal) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- adjustInto(Temporal) - Method in enum org.threeten.bp.chrono.HijrahEra
- adjustInto(Temporal) - Method in enum org.threeten.bp.chrono.IsoEra
- adjustInto(Temporal) - Method in enum org.threeten.bp.chrono.MinguoEra
- adjustInto(Temporal) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- adjustInto(Temporal) - Method in enum org.threeten.bp.DayOfWeek
-
Adjusts the specified temporal object to have this day-of-week.
- adjustInto(Temporal) - Method in class org.threeten.bp.Instant
-
Adjusts the specified temporal object to have this instant.
- adjustInto(Temporal) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- adjustInto(Temporal) - Method in class org.threeten.bp.LocalDate
-
Adjusts the specified temporal object to have the same date as this object.
- adjustInto(Temporal) - Method in class org.threeten.bp.LocalDateTime
-
Adjusts the specified temporal object to have the same date and time as this object.
- adjustInto(Temporal) - Method in class org.threeten.bp.LocalTime
-
Adjusts the specified temporal object to have the same time as this object.
- adjustInto(Temporal) - Method in enum org.threeten.bp.Month
-
Adjusts the specified temporal object to have this month-of-year.
- adjustInto(Temporal) - Method in class org.threeten.bp.MonthDay
-
Adjusts the specified temporal object to have this month-day.
- adjustInto(Temporal) - Method in class org.threeten.bp.OffsetDateTime
-
Adjusts the specified temporal object to have the same offset, date and time as this object.
- adjustInto(Temporal) - Method in class org.threeten.bp.OffsetTime
-
Adjusts the specified temporal object to have the same offset and time as this object.
- adjustInto(Temporal) - Method in interface org.threeten.bp.temporal.TemporalAdjuster
-
Adjusts the specified temporal object.
- adjustInto(Temporal) - Method in class org.threeten.bp.Year
-
Adjusts the specified temporal object to have this year.
- adjustInto(Temporal) - Method in class org.threeten.bp.YearMonth
-
Adjusts the specified temporal object to have this year-month.
- adjustInto(Temporal) - Method in class org.threeten.bp.ZoneOffset
-
Adjusts the specified temporal object to have the same offset as this object.
- adjustInto(R, long) - Method in enum org.threeten.bp.temporal.ChronoField
- adjustInto(R, long) - Method in interface org.threeten.bp.temporal.TemporalField
-
Returns a copy of the specified temporal object with the value of this field set.
- AH - org.threeten.bp.chrono.HijrahEra
-
The singleton instance for the current era, 'Anno Hegirae', which has the value 1.
- ALIGNED_DAY_OF_WEEK_IN_MONTH - org.threeten.bp.temporal.ChronoField
-
The aligned day-of-week within a month.
- ALIGNED_DAY_OF_WEEK_IN_YEAR - org.threeten.bp.temporal.ChronoField
-
The aligned day-of-week within a year.
- ALIGNED_WEEK_OF_MONTH - org.threeten.bp.temporal.ChronoField
-
The aligned week within a month.
- ALIGNED_WEEK_OF_YEAR - org.threeten.bp.temporal.ChronoField
-
The aligned week within a year.
- ALWAYS - org.threeten.bp.format.SignStyle
-
Style to always output the sign, where zero will output '+'.
- AMPM_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The am-pm-of-day.
- append(DateTimeFormatter) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends all the elements of a formatter to the builder.
- appendChronologyId() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the chronology ID to the formatter.
- appendChronologyText(TextStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.
- appendFraction(TemporalField, int, int, boolean) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the fractional value of a date-time field to the formatter.
- appendInstant() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends an instant using ISO-8601 to the formatter, formatting fractional digits in groups of three.
- appendInstant(int) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends an instant using ISO-8601 to the formatter with control over the number of fractional digits.
- appendLiteral(char) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends a character literal to the formatter.
- appendLiteral(String) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends a string literal to the formatter.
- appendLocalized(FormatStyle, FormatStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends a localized date-time pattern to the formatter.
- appendLocalizedOffset(TextStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the localized zone offset, such as 'GMT+01:00', to the formatter.
- appendOffset(String, String) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the zone offset, such as '+01:00', to the formatter.
- appendOffsetId() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the zone offset, such as '+01:00', to the formatter.
- appendOptional(DateTimeFormatter) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends a formatter to the builder which will optionally print/parse.
- appendPattern(String) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the elements defined by the specified pattern to the builder.
- appendText(TemporalField) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter using the full text style.
- appendText(TemporalField, Map<Long, String>) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter using the specified map to supply the text.
- appendText(TemporalField, TextStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter.
- appendValue(TemporalField) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter using a normal output style.
- appendValue(TemporalField, int) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter using a fixed width, zero-padded approach.
- appendValue(TemporalField, int, int, SignStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter providing full control over printing.
- appendValueReduced(TemporalField, int, int, int) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the reduced value of a date-time field to the formatter.
- appendValueReduced(TemporalField, int, int, ChronoLocalDate) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the reduced value of a date-time field to the formatter.
- appendZoneId() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to the formatter.
- appendZoneOrOffsetId() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to the formatter, using the best available zone ID.
- appendZoneRegionId() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the time-zone region ID, such as 'Europe/Paris', to the formatter, rejecting the zone ID if it is a
ZoneOffset
. - appendZoneText(TextStyle) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the time-zone name, such as 'British Summer Time', to the formatter.
- appendZoneText(TextStyle, Set<ZoneId>) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends the time-zone name, such as 'British Summer Time', to the formatter.
- APRIL - org.threeten.bp.Month
-
The singleton instance for the month of April with 30 days.
- asNormal() - Method in enum org.threeten.bp.format.TextStyle
-
Converts the style to the equivalent normal style.
- asStandalone() - Method in enum org.threeten.bp.format.TextStyle
-
Converts the style to the equivalent stand-alone style.
- atDate(LocalDate) - Method in class org.threeten.bp.LocalTime
-
Combines this time with a date to create a
LocalDateTime
. - atDate(LocalDate) - Method in class org.threeten.bp.OffsetTime
-
Combines this time with a date to create an
OffsetDateTime
. - atDay(int) - Method in class org.threeten.bp.Year
-
Combines this year with a day-of-year to create a
LocalDate
. - atDay(int) - Method in class org.threeten.bp.YearMonth
-
Combines this year-month with a day-of-month to create a
LocalDate
. - atEndOfMonth() - Method in class org.threeten.bp.YearMonth
-
Returns a
LocalDate
at the end of the month. - atMonth(int) - Method in class org.threeten.bp.Year
-
Combines this year with a month to create a
YearMonth
. - atMonth(Month) - Method in class org.threeten.bp.Year
-
Combines this year with a month to create a
YearMonth
. - atMonthDay(MonthDay) - Method in class org.threeten.bp.Year
-
Combines this year with a month-day to create a
LocalDate
. - atOffset(ZoneOffset) - Method in class org.threeten.bp.Instant
-
Combines this instant with an offset to create an
OffsetDateTime
. - atOffset(ZoneOffset) - Method in class org.threeten.bp.LocalDateTime
-
Combines this date-time with an offset to create an
OffsetDateTime
. - atOffset(ZoneOffset) - Method in class org.threeten.bp.LocalTime
-
Combines this time with an offset to create an
OffsetTime
. - atStartOfDay() - Method in class org.threeten.bp.LocalDate
-
Combines this date with the time of midnight to create a
LocalDateTime
at the start of this date. - atStartOfDay(ZoneId) - Method in class org.threeten.bp.LocalDate
-
Combines this date with a time-zone to create a
ZonedDateTime
at the start of the day - atTime(int, int) - Method in class org.threeten.bp.LocalDate
-
Combines this date with a time to create a
LocalDateTime
. - atTime(int, int, int) - Method in class org.threeten.bp.LocalDate
-
Combines this date with a time to create a
LocalDateTime
. - atTime(int, int, int, int) - Method in class org.threeten.bp.LocalDate
-
Combines this date with a time to create a
LocalDateTime
. - atTime(LocalTime) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Combines this date with a time to create a
ChronoLocalDateTime
. - atTime(LocalTime) - Method in class org.threeten.bp.chrono.HijrahDate
- atTime(LocalTime) - Method in class org.threeten.bp.chrono.JapaneseDate
- atTime(LocalTime) - Method in class org.threeten.bp.chrono.MinguoDate
- atTime(LocalTime) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- atTime(LocalTime) - Method in class org.threeten.bp.LocalDate
-
Combines this date with a time to create a
LocalDateTime
. - atTime(OffsetTime) - Method in class org.threeten.bp.LocalDate
-
Combines this date with an offset time to create an
OffsetDateTime
. - atYear(int) - Method in class org.threeten.bp.MonthDay
-
Combines this month-day with a year to create a
LocalDate
. - atZone(ZoneId) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Combines this time with a time-zone to create a
ChronoZonedDateTime
. - atZone(ZoneId) - Method in class org.threeten.bp.Instant
-
Combines this instant with a time-zone to create a
ZonedDateTime
. - atZone(ZoneId) - Method in class org.threeten.bp.LocalDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTime
. - atZoneSameInstant(ZoneId) - Method in class org.threeten.bp.OffsetDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTime
ensuring that the result has the same instant. - atZoneSimilarLocal(ZoneId) - Method in class org.threeten.bp.OffsetDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTime
trying to keep the same local date and time. - AUGUST - org.threeten.bp.Month
-
The singleton instance for the month of August with 31 days.
B
- BASIC_ISO_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date without an offset, such as '20111203'.
- BCE - org.threeten.bp.chrono.IsoEra
-
The singleton instance for the era BCE, 'Before Current Era'.
- BE - org.threeten.bp.chrono.ThaiBuddhistEra
-
The singleton instance for the current era, 'Buddhist Era', which has the value 1.
- BEFORE_AH - org.threeten.bp.chrono.HijrahEra
-
The singleton instance for the era before the current one, 'Before Anno Hegirae', which has the value 0.
- BEFORE_BE - org.threeten.bp.chrono.ThaiBuddhistEra
-
The singleton instance for the era before the current one, 'Before Buddhist Era', which has the value 0.
- BEFORE_ROC - org.threeten.bp.chrono.MinguoEra
-
The singleton instance for the era BEFORE_ROC, 'Before Republic of China'.
- between(ChronoLocalDate, ChronoLocalDate) - Static method in class org.threeten.bp.chrono.ChronoPeriod
-
Obtains a
ChronoPeriod
consisting of amount of time between two dates. - between(LocalDate, LocalDate) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
consisting of the number of years, months, and days between two dates. - between(Temporal, Temporal) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
representing the duration between two instants. - between(Temporal, Temporal) - Method in enum org.threeten.bp.temporal.ChronoUnit
- between(Temporal, Temporal) - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Calculates the period in terms of this unit between two temporal objects of the same type.
C
- CE - org.threeten.bp.chrono.IsoEra
-
The singleton instance for the era CE, 'Current Era'.
- CENTURIES - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a century.
- checkValidIntValue(long) - Method in enum org.threeten.bp.temporal.ChronoField
-
Checks that the specified value is valid and fits in an
int
. - checkValidIntValue(long, TemporalField) - Method in class org.threeten.bp.temporal.ValueRange
-
Checks that the specified value is valid and fits in an
int
. - checkValidValue(long) - Method in enum org.threeten.bp.temporal.ChronoField
-
Checks that the specified value is valid for this field.
- checkValidValue(long, TemporalField) - Method in class org.threeten.bp.temporal.ValueRange
-
Checks that the specified value is valid.
- ChronoField - Enum in org.threeten.bp.temporal
-
A standard set of fields.
- ChronoLocalDate - Class in org.threeten.bp.chrono
-
A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- ChronoLocalDate() - Constructor for class org.threeten.bp.chrono.ChronoLocalDate
- ChronoLocalDateTime<D extends ChronoLocalDate> - Class in org.threeten.bp.chrono
-
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- ChronoLocalDateTime() - Constructor for class org.threeten.bp.chrono.ChronoLocalDateTime
- chronology() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A query for the
Chronology
. - Chronology - Class in org.threeten.bp.chrono
-
A calendar system, used to organize and identify dates.
- Chronology() - Constructor for class org.threeten.bp.chrono.Chronology
-
Creates an instance.
- ChronoPeriod - Class in org.threeten.bp.chrono
-
A date-based amount of time, such as '3 years, 4 months and 5 days' in an arbitrary chronology, intended for advanced globalization use cases.
- ChronoPeriod() - Constructor for class org.threeten.bp.chrono.ChronoPeriod
- ChronoUnit - Enum in org.threeten.bp.temporal
-
A standard set of date periods units.
- ChronoZonedDateTime<D extends ChronoLocalDate> - Class in org.threeten.bp.chrono
-
A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- ChronoZonedDateTime() - Constructor for class org.threeten.bp.chrono.ChronoZonedDateTime
- Clock - Class in org.threeten.bp
-
A clock providing access to the current instant, date and time using a time-zone.
- Clock() - Constructor for class org.threeten.bp.Clock
-
Constructor accessible by subclasses.
- CLOCK_HOUR_OF_AMPM - org.threeten.bp.temporal.ChronoField
-
The clock-hour-of-am-pm.
- CLOCK_HOUR_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The clock-hour-of-day.
- compareInts(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Compares two ints.
- compareLongs(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Compares two longs.
- compareTo(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Compares this date to another date, including the chronology.
- compareTo(ChronoLocalDate) - Method in class org.threeten.bp.LocalDate
-
Compares this date to another date.
- compareTo(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Compares this date-time to another date-time, including the chronology.
- compareTo(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.LocalDateTime
-
Compares this date-time to another date-time.
- compareTo(Chronology) - Method in class org.threeten.bp.chrono.Chronology
-
Compares this chronology to another chronology.
- compareTo(ChronoZonedDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Compares this date-time to another date-time, including the chronology.
- compareTo(Duration) - Method in class org.threeten.bp.Duration
-
Compares this duration to the specified
Duration
. - compareTo(Instant) - Method in class org.threeten.bp.Instant
-
Compares this instant to the specified instant.
- compareTo(LocalTime) - Method in class org.threeten.bp.LocalTime
-
Compares this
LocalTime
to another time. - compareTo(MonthDay) - Method in class org.threeten.bp.MonthDay
-
Compares this month-day to another month-day.
- compareTo(OffsetDateTime) - Method in class org.threeten.bp.OffsetDateTime
-
Compares this
OffsetDateTime
to another date-time. - compareTo(OffsetTime) - Method in class org.threeten.bp.OffsetTime
-
Compares this
OffsetTime
to another time. - compareTo(Year) - Method in class org.threeten.bp.Year
-
Compares this year to another year.
- compareTo(YearMonth) - Method in class org.threeten.bp.YearMonth
-
Compares this year-month to another year-month.
- compareTo(ZoneOffsetTransition) - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Compares this transition to another based on the transition instant.
- compareTo(ZoneOffset) - Method in class org.threeten.bp.ZoneOffset
-
Compares this offset to another offset in descending order.
- createDateTime(LocalDateTime, ZoneOffset, ZoneOffset) - Method in enum org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
Converts the specified local date-time to the local date-time actually seen on a wall clock.
- createTransition(int) - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Creates a transition instance for the specified year.
D
- date(int, int, int) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class org.threeten.bp.chrono.HijrahChronology
- date(int, int, int) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date from the proleptic-year, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class org.threeten.bp.chrono.JapaneseChronology
- date(int, int, int) - Method in class org.threeten.bp.chrono.MinguoChronology
- date(int, int, int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from the era, year-of-era, month-of-year and day-of-month fields.
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.HijrahChronology
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date from the era, year-of-era, month-of-year and day-of-month fields.
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.JapaneseChronology
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.MinguoChronology
- date(Era, int, int, int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from another temporal object.
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.HijrahChronology
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date from another date-time object.
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.JapaneseChronology
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.MinguoChronology
- date(TemporalAccessor) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from the epoch-day.
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.HijrahChronology
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.IsoChronology
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.JapaneseChronology
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.MinguoChronology
- dateEpochDay(long) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- dateNow() - Method in class org.threeten.bp.chrono.Chronology
-
Obtains the current local date in this chronology from the system clock in the default time-zone.
- dateNow() - Method in class org.threeten.bp.chrono.HijrahChronology
- dateNow() - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains the current ISO local date from the system clock in the default time-zone.
- dateNow() - Method in class org.threeten.bp.chrono.JapaneseChronology
- dateNow() - Method in class org.threeten.bp.chrono.MinguoChronology
- dateNow() - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- dateNow(Clock) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains the current local date in this chronology from the specified clock.
- dateNow(Clock) - Method in class org.threeten.bp.chrono.HijrahChronology
- dateNow(Clock) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains the current ISO local date from the specified clock.
- dateNow(Clock) - Method in class org.threeten.bp.chrono.JapaneseChronology
- dateNow(Clock) - Method in class org.threeten.bp.chrono.MinguoChronology
- dateNow(Clock) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains the current local date in this chronology from the system clock in the specified time-zone.
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.HijrahChronology
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains the current ISO local date from the system clock in the specified time-zone.
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.JapaneseChronology
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.MinguoChronology
- dateNow(ZoneId) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- DateTimeException - Exception in org.threeten.bp
-
Exception used to indicate a problem while calculating a date-time.
- DateTimeException(String) - Constructor for exception org.threeten.bp.DateTimeException
-
Constructs a new date-time exception with the specified message.
- DateTimeException(String, Throwable) - Constructor for exception org.threeten.bp.DateTimeException
-
Constructs a new date-time exception with the specified message and cause.
- DateTimeFormatter - Class in org.threeten.bp.format
-
Formatter for printing and parsing date-time objects.
- DateTimeFormatterBuilder - Class in org.threeten.bp.format
-
Builder to create date-time formatters.
- DateTimeFormatterBuilder() - Constructor for class org.threeten.bp.format.DateTimeFormatterBuilder
-
Constructs a new instance of the builder.
- DateTimeParseException - Exception in org.threeten.bp.format
-
An exception thrown when an error occurs during parsing.
- DateTimeParseException(String, CharSequence, int) - Constructor for exception org.threeten.bp.format.DateTimeParseException
-
Constructs a new exception with the specified message.
- DateTimeParseException(String, CharSequence, int, Throwable) - Constructor for exception org.threeten.bp.format.DateTimeParseException
-
Constructs a new exception with the specified message and cause.
- DateTimeTextProvider - Class in org.threeten.bp.format
-
The Service Provider Interface (SPI) to be implemented by classes providing the textual form of a date-time field.
- DateTimeTextProvider() - Constructor for class org.threeten.bp.format.DateTimeTextProvider
- DateTimeUtils - Class in org.threeten.bp
-
A set of utilities to assist in bridging the gap to Java 8.
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from the proleptic-year and day-of-year fields.
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.HijrahChronology
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date from the proleptic-year and day-of-year fields.
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the proleptic-year and day-of-year fields.
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.MinguoChronology
- dateYearDay(int, int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date in this chronology from the era, year-of-era and day-of-year fields.
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.HijrahChronology
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date from the era, year-of-era and day-of-year fields.
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the era, year-of-era and day-of-year fields.
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.MinguoChronology
- dateYearDay(Era, int, int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- DAY_OF_MONTH - org.threeten.bp.temporal.ChronoField
-
The day-of-month.
- DAY_OF_QUARTER - Static variable in class org.threeten.bp.temporal.IsoFields
-
The field that represents the day-of-quarter.
- DAY_OF_WEEK - org.threeten.bp.temporal.ChronoField
-
The day-of-week, such as Tuesday.
- DAY_OF_YEAR - org.threeten.bp.temporal.ChronoField
-
The day-of-year.
- dayOfWeek() - Method in class org.threeten.bp.temporal.WeekFields
-
Returns a field to access the day of week based on this
WeekFields
. - DayOfWeek - Enum in org.threeten.bp
-
A day-of-week, such as 'Tuesday'.
- dayOfWeekInMonth(int, DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the day-of-week in month adjuster, which returns a new date in the same month with the ordinal day-of-week.
- DAYS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a day.
- DECADES - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a decade.
- DECEMBER - org.threeten.bp.Month
-
The singleton instance for the month of December with 31 days.
- DecimalStyle - Class in org.threeten.bp.format
-
Localized symbols used in date and time formatting.
- DefaultInterfaceEra - Class in org.threeten.bp.jdk8
-
A temporary class providing implementations that will become default interface methods once integrated into JDK 8.
- DefaultInterfaceEra() - Constructor for class org.threeten.bp.jdk8.DefaultInterfaceEra
- DefaultInterfaceTemporal - Class in org.threeten.bp.jdk8
-
A temporary class providing implementations that will become default interface methods once integrated into JDK 8.
- DefaultInterfaceTemporal() - Constructor for class org.threeten.bp.jdk8.DefaultInterfaceTemporal
- DefaultInterfaceTemporalAccessor - Class in org.threeten.bp.jdk8
-
A temporary class providing implementations that will become default interface methods once integrated into JDK 8.
- DefaultInterfaceTemporalAccessor() - Constructor for class org.threeten.bp.jdk8.DefaultInterfaceTemporalAccessor
- dividedBy(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration divided by the specified value.
- DO_NOTHING - Static variable in class org.threeten.bp.zone.ZoneRulesInitializer
-
An instance that does nothing.
- Duration - Class in org.threeten.bp
-
A time-based amount of time, such as '34.5 seconds'.
E
- EPOCH - Static variable in class org.threeten.bp.Instant
-
Constant for the 1970-01-01T00:00:00Z epoch instant.
- EPOCH_DAY - org.threeten.bp.temporal.ChronoField
-
The epoch-day, based on the Java epoch of 1970-01-01 (ISO).
- equals(Object) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Checks if this date is equal to another date, including the chronology.
- equals(Object) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Checks if this date-time is equal to another date-time, including the chronology.
- equals(Object) - Method in class org.threeten.bp.chrono.Chronology
-
Checks if this chronology is equal to another chronology.
- equals(Object) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Checks if this period is equal to another period, including the chronology.
- equals(Object) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class org.threeten.bp.chrono.JapaneseDate
- equals(Object) - Method in class org.threeten.bp.chrono.MinguoDate
- equals(Object) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- equals(Object) - Method in class org.threeten.bp.Clock
-
Checks if this clock is equal to another clock.
- equals(Object) - Method in class org.threeten.bp.Duration
-
Checks if this duration is equal to the specified
Duration
. - equals(Object) - Method in class org.threeten.bp.format.DecimalStyle
-
Checks if these symbols equal another set of symbols.
- equals(Object) - Method in class org.threeten.bp.Instant
-
Checks if this instant is equal to the specified instant.
- equals(Object) - Method in class org.threeten.bp.LocalDate
-
Checks if this date is equal to another date.
- equals(Object) - Method in class org.threeten.bp.LocalDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class org.threeten.bp.LocalTime
-
Checks if this time is equal to another time.
- equals(Object) - Method in class org.threeten.bp.MonthDay
-
Checks if this month-day is equal to another month-day.
- equals(Object) - Method in class org.threeten.bp.OffsetDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class org.threeten.bp.OffsetTime
-
Checks if this time is equal to another time.
- equals(Object) - Method in class org.threeten.bp.Period
-
Checks if this period is equal to another period.
- equals(Object) - Method in class org.threeten.bp.temporal.ValueRange
-
Checks if this range is equal to another range.
- equals(Object) - Method in class org.threeten.bp.temporal.WeekFields
-
Checks if this
WeekFields
is equal to the specified object. - equals(Object) - Method in class org.threeten.bp.Year
-
Checks if this year is equal to another year.
- equals(Object) - Method in class org.threeten.bp.YearMonth
-
Checks if this year-month is equal to another year-month.
- equals(Object) - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Checks if this object equals another.
- equals(Object) - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Checks if this object equals another.
- equals(Object) - Method in class org.threeten.bp.zone.ZoneRules
-
Checks if this set of rules equals another.
- equals(Object) - Method in class org.threeten.bp.ZonedDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class org.threeten.bp.ZoneId
-
Checks if this time-zone ID is equal to another time-zone ID.
- equals(Object) - Method in class org.threeten.bp.ZoneOffset
-
Checks if this offset is equal to another offset.
- equals(Object, Object) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Compares two objects.
- Era - Interface in org.threeten.bp.chrono
-
An era of the time-line.
- ERA - org.threeten.bp.temporal.ChronoField
-
The era.
- eraOf(int) - Method in class org.threeten.bp.chrono.Chronology
-
Creates the chronology era object from the numeric value.
- eraOf(int) - Method in class org.threeten.bp.chrono.HijrahChronology
- eraOf(int) - Method in class org.threeten.bp.chrono.IsoChronology
- eraOf(int) - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Returns the calendar system era object from the given numeric value.
- eraOf(int) - Method in class org.threeten.bp.chrono.MinguoChronology
- eraOf(int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- eras() - Method in class org.threeten.bp.chrono.Chronology
-
Gets the list of eras for the chronology.
- eras() - Method in class org.threeten.bp.chrono.HijrahChronology
- eras() - Method in class org.threeten.bp.chrono.IsoChronology
- eras() - Method in class org.threeten.bp.chrono.JapaneseChronology
- eras() - Method in class org.threeten.bp.chrono.MinguoChronology
- eras() - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- ERAS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of an era.
- EXCEEDS_PAD - org.threeten.bp.format.SignStyle
-
Style to always output the sign if the value exceeds the pad width.
F
- FEBRUARY - org.threeten.bp.Month
-
The singleton instance for the month of February with 28 days, or 29 in a leap year.
- firstDayOfMonth() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "first day of month" adjuster, which returns a new date set to the first day of the current month.
- firstDayOfNextMonth() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "first day of next month" adjuster, which returns a new date set to the first day of the next month.
- firstDayOfNextYear() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "first day of next year" adjuster, which returns a new date set to the first day of the next year.
- firstDayOfYear() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "first day of year" adjuster, which returns a new date set to the first day of the current year.
- firstDayOfYear(boolean) - Method in enum org.threeten.bp.Month
-
Gets the day-of-year corresponding to the first day of this month.
- firstInMonth(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the first in month adjuster, which returns a new date in the same month with the first matching day-of-week.
- firstMonthOfQuarter() - Method in enum org.threeten.bp.Month
-
Gets the month corresponding to the first month of this quarter.
- fixed(Instant, ZoneId) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that always returns the same instant.
- floorDiv(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Returns the floor division.
- floorDiv(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Returns the floor division.
- floorMod(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Returns the floor modulus.
- floorMod(long, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Returns the floor modulus.
- floorMod(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Returns the floor modulus.
- FOREVER - org.threeten.bp.temporal.ChronoUnit
-
Artificial unit that represents the concept of forever.
- format(DateTimeFormatter) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Formats this date using the specified formatter.
- format(DateTimeFormatter) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Formats this date-time using the specified formatter.
- format(DateTimeFormatter) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Outputs this date-time as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.LocalDate
-
Outputs this date as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.LocalDateTime
-
Outputs this date-time as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.LocalTime
-
Outputs this time as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.MonthDay
-
Outputs this month-day as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.OffsetDateTime
-
Outputs this date-time as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.OffsetTime
-
Outputs this time as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.Year
-
Outputs this year as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.YearMonth
-
Outputs this year-month as a
String
using the formatter. - format(DateTimeFormatter) - Method in class org.threeten.bp.ZonedDateTime
-
Outputs this date-time as a
String
using the formatter. - format(TemporalAccessor) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Formats a date-time object using this formatter.
- FormatStyle - Enum in org.threeten.bp.format
-
Enumeration of the style of a localized date, time or date-time formatter.
- formatTo(TemporalAccessor, Appendable) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Formats a date-time object to an
Appendable
using this formatter. - FRIDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Friday.
- from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.ChronoLocalDate
-
Obtains an instance of
ChronoLocalDate
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Obtains an instance of
ChronoLocalDateTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.Chronology
-
Obtains an instance of
Chronology
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Obtains an instance of
ChronoZonedDateTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.HijrahDate
-
Obtains a
HijrahDate
of the Islamic Umm Al-Qura calendar from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains a
JapaneseDate
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.MinguoDate
-
Obtains a
MinguoDate
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.chrono.ThaiBuddhistDate
-
Obtains a
ThaiBuddhistDate
from a temporal object. - from(TemporalAccessor) - Static method in enum org.threeten.bp.DayOfWeek
-
Obtains an instance of
DayOfWeek
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.Instant
-
Obtains an instance of
Instant
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from a temporal object. - from(TemporalAccessor) - Static method in enum org.threeten.bp.Month
-
Obtains an instance of
Month
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.MonthDay
-
Obtains an instance of
MonthDay
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.Year
-
Obtains an instance of
Year
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.YearMonth
-
Obtains an instance of
YearMonth
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.ZoneId
-
Obtains an instance of
ZoneId
from a temporal object. - from(TemporalAccessor) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
from a temporal object. - from(TemporalAmount) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from an amount. - from(TemporalAmount) - Static method in class org.threeten.bp.Period
-
Obtains an instance of
Period
from a temporal amount. - FROM - Static variable in class org.threeten.bp.chrono.Chronology
-
Simulate JDK 8 method reference Chronology::from.
- FROM - Static variable in enum org.threeten.bp.DayOfWeek
-
Simulate JDK 8 method reference DayOfWeek::from.
- FROM - Static variable in class org.threeten.bp.Instant
-
Simulate JDK 8 method reference Instant::from.
- FROM - Static variable in class org.threeten.bp.LocalDate
-
Simulate JDK 8 method reference LocalDate::from.
- FROM - Static variable in class org.threeten.bp.LocalDateTime
-
Simulate JDK 8 method reference LocalDateTime::from.
- FROM - Static variable in class org.threeten.bp.LocalTime
-
Simulate JDK 8 method reference LocalTime::from.
- FROM - Static variable in enum org.threeten.bp.Month
-
Simulate JDK 8 method reference Month::from.
- FROM - Static variable in class org.threeten.bp.MonthDay
-
Simulate JDK 8 method reference MonthDay::from.
- FROM - Static variable in class org.threeten.bp.OffsetDateTime
-
Simulate JDK 8 method reference OffsetDateTime::from.
- FROM - Static variable in class org.threeten.bp.OffsetTime
-
Simulate JDK 8 method reference OffsetTime::from.
- FROM - Static variable in class org.threeten.bp.Year
-
Simulate JDK 8 method reference Year::from.
- FROM - Static variable in class org.threeten.bp.YearMonth
-
Simulate JDK 8 method reference YearMonth::from.
- FROM - Static variable in class org.threeten.bp.ZonedDateTime
-
Simulate JDK 8 method reference ZonedDateTime::from.
- FROM - Static variable in class org.threeten.bp.ZoneId
-
Simulate JDK 8 method reference ZoneId::from.
- FROM - Static variable in class org.threeten.bp.ZoneOffset
-
Simulate JDK 8 method reference ZoneOffset::from.
- FULL - org.threeten.bp.format.FormatStyle
-
Full text style, with the most detail.
- FULL - org.threeten.bp.format.TextStyle
-
Full text, typically the full description.
- FULL_STANDALONE - org.threeten.bp.format.TextStyle
-
Full text for stand-alone use, typically the full description.
G
- get(TemporalField) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- get(TemporalField) - Method in enum org.threeten.bp.chrono.HijrahEra
- get(TemporalField) - Method in enum org.threeten.bp.chrono.IsoEra
- get(TemporalField) - Method in enum org.threeten.bp.chrono.MinguoEra
- get(TemporalField) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- get(TemporalField) - Method in enum org.threeten.bp.DayOfWeek
-
Gets the value of the specified field from this day-of-week as an
int
. - get(TemporalField) - Method in class org.threeten.bp.Instant
-
Gets the value of the specified field from this instant as an
int
. - get(TemporalField) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- get(TemporalField) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporalAccessor
- get(TemporalField) - Method in class org.threeten.bp.LocalDate
-
Gets the value of the specified field from this date as an
int
. - get(TemporalField) - Method in class org.threeten.bp.LocalDateTime
-
Gets the value of the specified field from this date-time as an
int
. - get(TemporalField) - Method in class org.threeten.bp.LocalTime
-
Gets the value of the specified field from this time as an
int
. - get(TemporalField) - Method in enum org.threeten.bp.Month
-
Gets the value of the specified field from this month-of-year as an
int
. - get(TemporalField) - Method in class org.threeten.bp.MonthDay
-
Gets the value of the specified field from this month-day as an
int
. - get(TemporalField) - Method in class org.threeten.bp.OffsetDateTime
-
Gets the value of the specified field from this date-time as an
int
. - get(TemporalField) - Method in class org.threeten.bp.OffsetTime
-
Gets the value of the specified field from this time as an
int
. - get(TemporalField) - Method in interface org.threeten.bp.temporal.TemporalAccessor
-
Gets the value of the specified field as an
int
. - get(TemporalField) - Method in class org.threeten.bp.Year
-
Gets the value of the specified field from this year as an
int
. - get(TemporalField) - Method in class org.threeten.bp.YearMonth
-
Gets the value of the specified field from this year-month as an
int
. - get(TemporalField) - Method in class org.threeten.bp.ZonedDateTime
-
Gets the value of the specified field from this date-time as an
int
. - get(TemporalField) - Method in class org.threeten.bp.ZoneOffset
-
Gets the value of the specified field from this offset as an
int
. - get(TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Gets the value of the requested unit.
- get(TemporalUnit) - Method in class org.threeten.bp.Duration
- get(TemporalUnit) - Method in class org.threeten.bp.Period
- get(TemporalUnit) - Method in interface org.threeten.bp.temporal.TemporalAmount
-
Gets the amount associated with the specified unit.
- getAvailableChronologies() - Static method in class org.threeten.bp.chrono.Chronology
-
Returns the available chronologies.
- getAvailableLocales() - Static method in class org.threeten.bp.format.DecimalStyle
-
Lists all the locales that are supported.
- getAvailableZoneIds() - Static method in class org.threeten.bp.zone.ZoneRulesProvider
-
Gets the set of available zone IDs.
- getAvailableZoneIds() - Static method in class org.threeten.bp.ZoneId
-
Gets the set of available zone IDs.
- getBaseUnit() - Method in enum org.threeten.bp.temporal.ChronoField
- getBaseUnit() - Method in interface org.threeten.bp.temporal.TemporalField
-
Gets the unit that the field is measured in.
- getCalendarType() - Method in class org.threeten.bp.chrono.Chronology
-
Gets the calendar type of the underlying calendar system.
- getCalendarType() - Method in class org.threeten.bp.chrono.HijrahChronology
-
Gets the calendar type of the underlying calendar system - 'islamic-umalqura'.
- getCalendarType() - Method in class org.threeten.bp.chrono.IsoChronology
-
Gets the calendar type of the underlying calendar system - 'iso8601'.
- getCalendarType() - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Gets the calendar type of the underlying calendar system - 'japanese'.
- getCalendarType() - Method in class org.threeten.bp.chrono.MinguoChronology
-
Gets the calendar type of the underlying calendar system - 'roc'.
- getCalendarType() - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
-
Gets the calendar type of the underlying calendar system - 'buddhist'.
- getChronology() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Gets the chronology of this date.
- getChronology() - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Gets the chronology of this date-time.
- getChronology() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Gets the chronology that defines the meaning of the supported units.
- getChronology() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the chronology of this date-time.
- getChronology() - Method in class org.threeten.bp.chrono.HijrahDate
- getChronology() - Method in class org.threeten.bp.chrono.JapaneseDate
- getChronology() - Method in class org.threeten.bp.chrono.MinguoDate
- getChronology() - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- getChronology() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the overriding chronology to be used during formatting.
- getChronology() - Method in class org.threeten.bp.LocalDate
-
Gets the chronology of this date, which is the ISO calendar system.
- getChronology() - Method in class org.threeten.bp.Period
- getDateTimeAfter() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the local transition date-time, as would be expressed with the 'after' offset.
- getDateTimeBefore() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the local transition date-time, as would be expressed with the 'before' offset.
- getDaylightSavings(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the amount of daylight savings in use for the specified instant in this zone.
- getDayOfMonth() - Method in class org.threeten.bp.LocalDate
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class org.threeten.bp.LocalDateTime
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class org.threeten.bp.MonthDay
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the day-of-month field.
- getDayOfMonthIndicator() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the indicator of the day-of-month of the transition.
- getDayOfWeek() - Method in class org.threeten.bp.LocalDate
-
Gets the day-of-week field, which is an enum
DayOfWeek
. - getDayOfWeek() - Method in class org.threeten.bp.LocalDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek
. - getDayOfWeek() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek
. - getDayOfWeek() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the day-of-week of the transition.
- getDayOfWeek() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek
. - getDayOfYear() - Method in class org.threeten.bp.LocalDate
-
Gets the day-of-year field.
- getDayOfYear() - Method in class org.threeten.bp.LocalDateTime
-
Gets the day-of-year field.
- getDayOfYear() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the day-of-year field.
- getDayOfYear() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the day-of-year field.
- getDays() - Method in class org.threeten.bp.Period
-
Gets the amount of days of this period.
- getDecimalSeparator() - Method in class org.threeten.bp.format.DecimalStyle
-
Gets the character that represents the decimal point.
- getDecimalStyle() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the decimal style to be used during formatting.
- getDisplayName(Locale) - Method in enum org.threeten.bp.temporal.ChronoField
- getDisplayName(Locale) - Method in interface org.threeten.bp.temporal.TemporalField
-
Gets the display name for the field in the requested locale.
- getDisplayName(TextStyle, Locale) - Method in class org.threeten.bp.chrono.Chronology
-
Gets the textual representation of this chronology.
- getDisplayName(TextStyle, Locale) - Method in interface org.threeten.bp.chrono.Era
-
Gets the textual representation of this era.
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.chrono.HijrahEra
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.chrono.IsoEra
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.chrono.MinguoEra
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.DayOfWeek
-
Gets the textual representation, such as 'Mon' or 'Friday'.
- getDisplayName(TextStyle, Locale) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- getDisplayName(TextStyle, Locale) - Method in enum org.threeten.bp.Month
-
Gets the textual representation, such as 'Jan' or 'December'.
- getDisplayName(TextStyle, Locale) - Method in class org.threeten.bp.ZoneId
-
Gets the textual representation of the zone, such as 'British Time' or '+02:00'.
- getDuration() - Method in enum org.threeten.bp.temporal.ChronoUnit
-
Gets the estimated duration of this unit in the ISO calendar system.
- getDuration() - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Gets the duration of this unit, which may be an estimate.
- getDuration() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the duration of the transition.
- getEpochSecond() - Method in class org.threeten.bp.Instant
-
Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z.
- getEra() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Gets the era, as defined by the chronology.
- getEra() - Method in class org.threeten.bp.chrono.HijrahDate
- getEra() - Method in class org.threeten.bp.chrono.JapaneseDate
- getEra() - Method in class org.threeten.bp.chrono.MinguoDate
- getEra() - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- getEra() - Method in class org.threeten.bp.LocalDate
-
Gets the era applicable at this date.
- getErrorIndex() - Method in exception org.threeten.bp.format.DateTimeParseException
-
Returns the index where the error was found.
- getFirstDayOfWeek() - Method in class org.threeten.bp.temporal.WeekFields
-
Gets the first day-of-week.
- getFrom(TemporalAccessor) - Method in enum org.threeten.bp.temporal.ChronoField
- getFrom(TemporalAccessor) - Method in interface org.threeten.bp.temporal.TemporalField
-
Gets the value of this field from the specified temporal object.
- getHour() - Method in class org.threeten.bp.LocalDateTime
-
Gets the hour-of-day field.
- getHour() - Method in class org.threeten.bp.LocalTime
-
Gets the hour-of-day field.
- getHour() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the hour-of-day field.
- getHour() - Method in class org.threeten.bp.OffsetTime
-
Gets the hour-of-day field.
- getHour() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the hour-of-day field.
- getId() - Method in class org.threeten.bp.chrono.Chronology
-
Gets the ID of the chronology.
- getId() - Method in class org.threeten.bp.chrono.HijrahChronology
-
Gets the ID of the chronology - 'Hijrah-umalqura'.
- getId() - Method in class org.threeten.bp.chrono.IsoChronology
-
Gets the ID of the chronology - 'ISO'.
- getId() - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Gets the ID of the chronology - 'Japanese'.
- getId() - Method in class org.threeten.bp.chrono.MinguoChronology
-
Gets the ID of the chronology - 'Minguo'.
- getId() - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
-
Gets the ID of the chronology - 'ThaiBuddhist'.
- getId() - Method in class org.threeten.bp.ZoneId
-
Gets the unique time-zone ID.
- getId() - Method in class org.threeten.bp.ZoneOffset
-
Gets the normalized zone offset ID.
- getInstant() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the transition instant.
- getLargestMinimum() - Method in class org.threeten.bp.temporal.ValueRange
-
Gets the largest possible minimum value that the field can take.
- getLocale() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the locale to be used during formatting.
- getLocalizedDateTimePattern(FormatStyle, FormatStyle, Chronology, Locale) - Static method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Gets the formatting pattern for date and time styles for a locale and chronology.
- getLocalTime() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the local time of day of the transition which must be checked with
ZoneOffsetTransitionRule.isMidnightEndOfDay()
. - getLong(TemporalField) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- getLong(TemporalField) - Method in class org.threeten.bp.chrono.HijrahDate
- getLong(TemporalField) - Method in enum org.threeten.bp.chrono.HijrahEra
- getLong(TemporalField) - Method in enum org.threeten.bp.chrono.IsoEra
- getLong(TemporalField) - Method in class org.threeten.bp.chrono.JapaneseDate
- getLong(TemporalField) - Method in class org.threeten.bp.chrono.MinguoDate
- getLong(TemporalField) - Method in enum org.threeten.bp.chrono.MinguoEra
- getLong(TemporalField) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- getLong(TemporalField) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- getLong(TemporalField) - Method in enum org.threeten.bp.DayOfWeek
-
Gets the value of the specified field from this day-of-week as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.Instant
-
Gets the value of the specified field from this instant as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- getLong(TemporalField) - Method in class org.threeten.bp.LocalDate
-
Gets the value of the specified field from this date as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.LocalDateTime
-
Gets the value of the specified field from this date-time as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.LocalTime
-
Gets the value of the specified field from this time as a
long
. - getLong(TemporalField) - Method in enum org.threeten.bp.Month
-
Gets the value of the specified field from this month-of-year as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.MonthDay
-
Gets the value of the specified field from this month-day as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.OffsetDateTime
-
Gets the value of the specified field from this date-time as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.OffsetTime
-
Gets the value of the specified field from this time as a
long
. - getLong(TemporalField) - Method in interface org.threeten.bp.temporal.TemporalAccessor
-
Gets the value of the specified field as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.Year
-
Gets the value of the specified field from this year as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.YearMonth
-
Gets the value of the specified field from this year-month as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.ZonedDateTime
-
Gets the value of the specified field from this date-time as a
long
. - getLong(TemporalField) - Method in class org.threeten.bp.ZoneOffset
-
Gets the value of the specified field from this offset as a
long
. - getMaximum() - Method in class org.threeten.bp.temporal.ValueRange
-
Gets the maximum value that the field can take.
- getMinimalDaysInFirstWeek() - Method in class org.threeten.bp.temporal.WeekFields
-
Gets the minimal number of days in the first week.
- getMinimum() - Method in class org.threeten.bp.temporal.ValueRange
-
Gets the minimum value that the field can take.
- getMinute() - Method in class org.threeten.bp.LocalDateTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class org.threeten.bp.LocalTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class org.threeten.bp.OffsetTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the minute-of-hour field.
- getMonth() - Method in class org.threeten.bp.LocalDate
-
Gets the month-of-year field using the
Month
enum. - getMonth() - Method in class org.threeten.bp.LocalDateTime
-
Gets the month-of-year field using the
Month
enum. - getMonth() - Method in class org.threeten.bp.MonthDay
-
Gets the month-of-year field using the
Month
enum. - getMonth() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the month-of-year field using the
Month
enum. - getMonth() - Method in class org.threeten.bp.YearMonth
-
Gets the month-of-year field using the
Month
enum. - getMonth() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the month of the transition.
- getMonth() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the month-of-year field using the
Month
enum. - getMonths() - Method in class org.threeten.bp.Period
-
Gets the amount of months of this period.
- getMonthValue() - Method in class org.threeten.bp.LocalDate
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class org.threeten.bp.LocalDateTime
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class org.threeten.bp.MonthDay
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class org.threeten.bp.YearMonth
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the month-of-year field from 1 to 12.
- getNano() - Method in class org.threeten.bp.Duration
-
Gets the number of nanoseconds within the second in this duration.
- getNano() - Method in class org.threeten.bp.Instant
-
Gets the number of nanoseconds, later along the time-line, from the start of the second.
- getNano() - Method in class org.threeten.bp.LocalDateTime
-
Gets the nano-of-second field.
- getNano() - Method in class org.threeten.bp.LocalTime
-
Gets the nano-of-second field.
- getNano() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the nano-of-second field.
- getNano() - Method in class org.threeten.bp.OffsetTime
-
Gets the nano-of-second field.
- getNano() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the nano-of-second field.
- getNegativeSign() - Method in class org.threeten.bp.format.DecimalStyle
-
Gets the character that represents the negative sign.
- getOffset() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class org.threeten.bp.OffsetTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the offset applicable at the specified instant in these rules.
- getOffset(LocalDateTime) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets a suitable offset for the specified local date-time in these rules.
- getOffsetAfter() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the offset after the transition.
- getOffsetAfter() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the offset after the transition.
- getOffsetBefore() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the offset before the transition.
- getOffsetBefore() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the offset before the transition.
- getParsedString() - Method in exception org.threeten.bp.format.DateTimeParseException
-
Returns the string that was being parsed.
- getPositiveSign() - Method in class org.threeten.bp.format.DecimalStyle
-
Gets the character that represents the positive sign.
- getRangeUnit() - Method in enum org.threeten.bp.temporal.ChronoField
- getRangeUnit() - Method in interface org.threeten.bp.temporal.TemporalField
-
Gets the range that the field is bound by.
- getResolverFields() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the resolver fields to use during parsing.
- getResolverStyle() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the resolver style to use during parsing.
- getRules() - Method in class org.threeten.bp.ZoneId
-
Gets the time-zone rules for this ID allowing calculations to be performed.
- getRules() - Method in class org.threeten.bp.ZoneOffset
-
Gets the associated time-zone rules.
- getRules(String, boolean) - Static method in class org.threeten.bp.zone.ZoneRulesProvider
-
Gets the rules for the zone ID.
- getSecond() - Method in class org.threeten.bp.LocalDateTime
-
Gets the second-of-minute field.
- getSecond() - Method in class org.threeten.bp.LocalTime
-
Gets the second-of-minute field.
- getSecond() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the second-of-minute field.
- getSecond() - Method in class org.threeten.bp.OffsetTime
-
Gets the second-of-minute field.
- getSecond() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the second-of-minute field.
- getSeconds() - Method in class org.threeten.bp.Duration
-
Gets the number of seconds in this duration.
- getSmallestMaximum() - Method in class org.threeten.bp.temporal.ValueRange
-
Gets the smallest possible maximum value that the field can take.
- getStandardOffset() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the standard offset in force at the transition.
- getStandardOffset(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the standard offset for the specified instant in this zone.
- getText(TemporalField, long, TextStyle, Locale) - Method in class org.threeten.bp.format.DateTimeTextProvider
-
Gets the text for the specified field, locale and style for the purpose of printing.
- getTextIterator(TemporalField, TextStyle, Locale) - Method in class org.threeten.bp.format.DateTimeTextProvider
-
Gets an iterator of text to field for the specified field, locale and style for the purpose of parsing.
- getTimeDefinition() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Gets the time definition, specifying how to convert the time to an instant.
- getTotalSeconds() - Method in class org.threeten.bp.ZoneOffset
-
Gets the total zone offset in seconds.
- getTransition(LocalDateTime) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the offset transition applicable at the specified local date-time in these rules.
- getTransitionRules() - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the list of transition rules for years beyond those defined in the transition list.
- getTransitions() - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the complete list of fully defined transitions.
- getUnits() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Gets the set of units supported by this period.
- getUnits() - Method in class org.threeten.bp.Duration
- getUnits() - Method in class org.threeten.bp.Period
- getUnits() - Method in interface org.threeten.bp.temporal.TemporalAmount
-
Gets the list of units, from largest to smallest, that fully define this amount.
- getValidOffsets(LocalDateTime) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the offset applicable at the specified local date-time in these rules.
- getValue() - Method in interface org.threeten.bp.chrono.Era
-
Gets the numeric value associated with the era as defined by the chronology.
- getValue() - Method in enum org.threeten.bp.chrono.HijrahEra
-
Gets the era numeric value.
- getValue() - Method in enum org.threeten.bp.chrono.IsoEra
-
Gets the numeric era
int
value. - getValue() - Method in class org.threeten.bp.chrono.JapaneseEra
-
Returns the numeric value of this
JapaneseEra
. - getValue() - Method in enum org.threeten.bp.chrono.MinguoEra
-
Gets the numeric era
int
value. - getValue() - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
-
Gets the era numeric value.
- getValue() - Method in enum org.threeten.bp.DayOfWeek
-
Gets the day-of-week
int
value. - getValue() - Method in enum org.threeten.bp.Month
-
Gets the month-of-year
int
value. - getValue() - Method in class org.threeten.bp.Year
-
Gets the year value.
- getVersions(String) - Static method in class org.threeten.bp.zone.ZoneRulesProvider
-
Gets the history of rules for the zone ID.
- getYear() - Method in class org.threeten.bp.LocalDate
-
Gets the year field.
- getYear() - Method in class org.threeten.bp.LocalDateTime
-
Gets the year field.
- getYear() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the year field.
- getYear() - Method in class org.threeten.bp.YearMonth
-
Gets the year field.
- getYear() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the year field.
- getYears() - Method in class org.threeten.bp.Period
-
Gets the amount of years of this period.
- getZeroDigit() - Method in class org.threeten.bp.format.DecimalStyle
-
Gets the character that represents zero.
- getZone() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the zone ID, such as 'Europe/Paris'.
- getZone() - Method in class org.threeten.bp.Clock
-
Gets the time-zone being used to create dates and times.
- getZone() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Gets the overriding zone to be used during formatting.
- getZone() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the time-zone, such as 'Europe/Paris'.
H
- HALF_DAYS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of half a day, as used in AM/PM.
- hashCode() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
A hash code for this date.
- hashCode() - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
A hash code for this date-time.
- hashCode() - Method in class org.threeten.bp.chrono.Chronology
-
A hash code for this chronology.
- hashCode() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
A hash code for this period.
- hashCode() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
A hash code for this date-time.
- hashCode() - Method in class org.threeten.bp.chrono.JapaneseDate
- hashCode() - Method in class org.threeten.bp.chrono.MinguoDate
- hashCode() - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- hashCode() - Method in class org.threeten.bp.Clock
-
A hash code for this clock.
- hashCode() - Method in class org.threeten.bp.Duration
-
A hash code for this duration.
- hashCode() - Method in class org.threeten.bp.format.DecimalStyle
-
A hash code for these symbols.
- hashCode() - Method in class org.threeten.bp.Instant
-
Returns a hash code for this instant.
- hashCode() - Method in class org.threeten.bp.LocalDate
-
A hash code for this date.
- hashCode() - Method in class org.threeten.bp.LocalDateTime
-
A hash code for this date-time.
- hashCode() - Method in class org.threeten.bp.LocalTime
-
A hash code for this time.
- hashCode() - Method in class org.threeten.bp.MonthDay
-
A hash code for this month-day.
- hashCode() - Method in class org.threeten.bp.OffsetDateTime
-
A hash code for this date-time.
- hashCode() - Method in class org.threeten.bp.OffsetTime
-
A hash code for this time.
- hashCode() - Method in class org.threeten.bp.Period
-
A hash code for this period.
- hashCode() - Method in class org.threeten.bp.temporal.ValueRange
-
A hash code for this range.
- hashCode() - Method in class org.threeten.bp.temporal.WeekFields
-
A hash code for this
WeekFields
. - hashCode() - Method in class org.threeten.bp.Year
-
A hash code for this year.
- hashCode() - Method in class org.threeten.bp.YearMonth
-
A hash code for this year-month.
- hashCode() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Returns a suitable hash code.
- hashCode() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Returns a suitable hash code.
- hashCode() - Method in class org.threeten.bp.zone.ZoneRules
-
Returns a suitable hash code given the definition of
#equals
. - hashCode() - Method in class org.threeten.bp.ZonedDateTime
-
A hash code for this date-time.
- hashCode() - Method in class org.threeten.bp.ZoneId
-
A hash code for this time-zone ID.
- hashCode() - Method in class org.threeten.bp.ZoneOffset
-
A hash code for this offset.
- HEISEI - Static variable in class org.threeten.bp.chrono.JapaneseEra
-
The singleton instance for the 'Heisei' era (1989-01-08 - current) which has the value 2.
- HijrahChronology - Class in org.threeten.bp.chrono
-
The Hijrah calendar system.
- HijrahDate - Class in org.threeten.bp.chrono
-
A date in the Hijrah calendar system.
- HijrahEra - Enum in org.threeten.bp.chrono
-
An era in the Hijrah calendar system.
- HOUR_OF_AMPM - org.threeten.bp.temporal.ChronoField
-
The hour-of-am-pm.
- HOUR_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The hour-of-day.
- HOURS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of an hour.
I
- initializeProviders() - Method in class org.threeten.bp.zone.ZoneRulesInitializer
-
Initialize the providers.
- INSTANCE - Static variable in class org.threeten.bp.chrono.HijrahChronology
-
Singleton instance of the Hijrah chronology.
- INSTANCE - Static variable in class org.threeten.bp.chrono.IsoChronology
-
Singleton instance of the ISO chronology.
- INSTANCE - Static variable in class org.threeten.bp.chrono.JapaneseChronology
-
Singleton instance for Japanese chronology.
- INSTANCE - Static variable in class org.threeten.bp.chrono.MinguoChronology
-
Singleton instance for the Minguo chronology.
- INSTANCE - Static variable in class org.threeten.bp.chrono.ThaiBuddhistChronology
-
Singleton instance of the Buddhist chronology.
- instant() - Method in class org.threeten.bp.Clock
-
Gets the current instant of the clock.
- Instant - Class in org.threeten.bp
-
An instantaneous point on the time-line.
- INSTANT_SECONDS - org.threeten.bp.temporal.ChronoField
-
The instant epoch-seconds.
- isAfter(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Checks if this date is after the specified date ignoring the chronology.
- isAfter(ChronoLocalDate) - Method in class org.threeten.bp.LocalDate
-
Checks if this date is after the specified date.
- isAfter(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Checks if this date-time is after the specified date-time ignoring the chronology.
- isAfter(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.LocalDateTime
-
Checks if this date-time is after the specified date-time.
- isAfter(ChronoZonedDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is after that of the specified date-time.
- isAfter(Instant) - Method in class org.threeten.bp.Instant
-
Checks if this instant is after the specified instant.
- isAfter(LocalTime) - Method in class org.threeten.bp.LocalTime
-
Checks if this
LocalTime
is after the specified time. - isAfter(MonthDay) - Method in class org.threeten.bp.MonthDay
-
Is this month-day after the specified month-day.
- isAfter(OffsetDateTime) - Method in class org.threeten.bp.OffsetDateTime
-
Checks if the instant of this date-time is after that of the specified date-time.
- isAfter(OffsetTime) - Method in class org.threeten.bp.OffsetTime
-
Checks if the instant of this
OffsetTime
is after that of the specified time applying both times to a common date. - isAfter(Year) - Method in class org.threeten.bp.Year
-
Is this year after the specified year.
- isAfter(YearMonth) - Method in class org.threeten.bp.YearMonth
-
Is this year-month after the specified year-month.
- isBefore(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Checks if this date is before the specified date ignoring the chronology.
- isBefore(ChronoLocalDate) - Method in class org.threeten.bp.LocalDate
-
Checks if this date is before the specified date.
- isBefore(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Checks if this date-time is before the specified date-time ignoring the chronology.
- isBefore(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.LocalDateTime
-
Checks if this date-time is before the specified date-time.
- isBefore(ChronoZonedDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is before that of the specified date-time.
- isBefore(Instant) - Method in class org.threeten.bp.Instant
-
Checks if this instant is before the specified instant.
- isBefore(LocalTime) - Method in class org.threeten.bp.LocalTime
-
Checks if this
LocalTime
is before the specified time. - isBefore(MonthDay) - Method in class org.threeten.bp.MonthDay
-
Is this month-day before the specified month-day.
- isBefore(OffsetDateTime) - Method in class org.threeten.bp.OffsetDateTime
-
Checks if the instant of this date-time is before that of the specified date-time.
- isBefore(OffsetTime) - Method in class org.threeten.bp.OffsetTime
-
Checks if the instant of this
OffsetTime
is before that of the specified time applying both times to a common date. - isBefore(Year) - Method in class org.threeten.bp.Year
-
Is this year before the specified year.
- isBefore(YearMonth) - Method in class org.threeten.bp.YearMonth
-
Is this year-month before the specified year-month.
- isDateBased() - Method in enum org.threeten.bp.temporal.ChronoField
-
Checks if this field represents a component of a date.
- isDateBased() - Method in enum org.threeten.bp.temporal.ChronoUnit
-
Checks if this unit is a date unit.
- isDateBased() - Method in interface org.threeten.bp.temporal.TemporalField
-
Checks if this field is date-based.
- isDateBased() - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Checks if this unit is date-based.
- isDaylightSavings(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Checks if the specified instant is in daylight savings.
- isDurationEstimated() - Method in enum org.threeten.bp.temporal.ChronoUnit
-
Checks if the duration of the unit is an estimate.
- isDurationEstimated() - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Checks if the duration of the unit is an estimate.
- isEqual(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Checks if this date is equal to the specified date ignoring the chronology.
- isEqual(ChronoLocalDate) - Method in class org.threeten.bp.LocalDate
-
Checks if this date is equal to the specified date.
- isEqual(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Checks if this date-time is equal to the specified date-time ignoring the chronology.
- isEqual(ChronoLocalDateTime<?>) - Method in class org.threeten.bp.LocalDateTime
-
Checks if this date-time is equal to the specified date-time.
- isEqual(ChronoZonedDateTime<?>) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is equal to that of the specified date-time.
- isEqual(OffsetDateTime) - Method in class org.threeten.bp.OffsetDateTime
-
Checks if the instant of this date-time is equal to that of the specified date-time.
- isEqual(OffsetTime) - Method in class org.threeten.bp.OffsetTime
-
Checks if the instant of this
OffsetTime
is equal to that of the specified time applying both times to a common date. - isFixed() - Method in class org.threeten.bp.temporal.ValueRange
-
Is the value range fixed and fully known.
- isFixedOffset() - Method in class org.threeten.bp.zone.ZoneRules
-
Checks of the zone rules are fixed, such that the offset never varies.
- isGap() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Does this transition represent a gap in the local time-line.
- isIntValue() - Method in class org.threeten.bp.temporal.ValueRange
-
Checks if all values in the range fit in an
int
. - isLeap() - Method in class org.threeten.bp.Year
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeap(long) - Static method in class org.threeten.bp.Year
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Checks if the year is a leap year, as defined by the calendar system.
- isLeapYear() - Method in class org.threeten.bp.chrono.HijrahDate
-
Checks if the year is a leap year, according to the Hijrah calendar system rules.
- isLeapYear() - Method in class org.threeten.bp.LocalDate
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear() - Method in class org.threeten.bp.YearMonth
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear(long) - Method in class org.threeten.bp.chrono.Chronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class org.threeten.bp.chrono.HijrahChronology
- isLeapYear(long) - Method in class org.threeten.bp.chrono.IsoChronology
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear(long) - Method in class org.threeten.bp.chrono.JapaneseChronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class org.threeten.bp.chrono.MinguoChronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
-
Checks if the specified year is a leap year.
- isMidnightEndOfDay() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Is the transition local time midnight at the end of day.
- isNegative() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Checks if any of the supported units of this period are negative.
- isNegative() - Method in class org.threeten.bp.Duration
-
Checks if this duration is negative, excluding zero.
- isNegative() - Method in class org.threeten.bp.Period
-
Checks if any of the three units of this period are negative.
- ISO - Static variable in class org.threeten.bp.temporal.WeekFields
-
The ISO-8601 definition, where a week starts on Monday and the first week has a minimum of 4 days.
- ISO_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date with the offset if available, such as '2011-12-03' or '2011-12-03+01:00'.
- ISO_DATE_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date-time with the offset and zone if available, such as '2011-12-03T10:15:30', '2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'.
- ISO_INSTANT - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
The ISO instant formatter that formats or parses an instant in UTC, such as '2011-12-03T10:15:30Z'.
- ISO_LOCAL_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date without an offset, such as '2011-12-03'.
- ISO_LOCAL_DATE_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date-time without an offset, such as '2011-12-03T10:15:30'.
- ISO_LOCAL_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO time formatter that prints/parses a time without an offset, such as '10:15' or '10:15:30'.
- ISO_OFFSET_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date with an offset, such as '2011-12-03+01:00'.
- ISO_OFFSET_DATE_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date-time with an offset, such as '2011-12-03T10:15:30+01:00'.
- ISO_OFFSET_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO time formatter that prints/parses a time with an offset, such as '10:15+01:00' or '10:15:30+01:00'.
- ISO_ORDINAL_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses the ordinal date without an offset, such as '2012-337'.
- ISO_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO time formatter that prints/parses a time, with the offset if available, such as '10:15', '10:15:30' or '10:15:30+01:00'.
- ISO_WEEK_DATE - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses the week-based date without an offset, such as '2012-W48-6'.
- ISO_ZONED_DATE_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the ISO date formatter that prints/parses a date-time with offset and zone, such as '2011-12-03T10:15:30+01:00[Europe/Paris]'.
- IsoChronology - Class in org.threeten.bp.chrono
-
The ISO calendar system.
- IsoEra - Enum in org.threeten.bp.chrono
-
An era in the ISO calendar system.
- IsoFields - Class in org.threeten.bp.temporal
-
Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year.
- isOverlap() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Does this transition represent a gap in the local time-line.
- isStandalone() - Method in enum org.threeten.bp.format.TextStyle
-
Checks if the style is stand-alone.
- isSupported(TemporalField) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- isSupported(TemporalField) - Method in enum org.threeten.bp.chrono.HijrahEra
- isSupported(TemporalField) - Method in enum org.threeten.bp.chrono.IsoEra
- isSupported(TemporalField) - Method in class org.threeten.bp.chrono.JapaneseDate
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in enum org.threeten.bp.chrono.MinguoEra
- isSupported(TemporalField) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- isSupported(TemporalField) - Method in enum org.threeten.bp.DayOfWeek
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.Instant
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- isSupported(TemporalField) - Method in class org.threeten.bp.LocalDate
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.LocalDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.LocalTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in enum org.threeten.bp.Month
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.MonthDay
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.OffsetDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.OffsetTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in interface org.threeten.bp.temporal.TemporalAccessor
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.Year
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.YearMonth
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.ZonedDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class org.threeten.bp.ZoneOffset
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- isSupported(TemporalUnit) - Method in class org.threeten.bp.Instant
- isSupported(TemporalUnit) - Method in class org.threeten.bp.LocalDateTime
- isSupported(TemporalUnit) - Method in class org.threeten.bp.LocalTime
- isSupported(TemporalUnit) - Method in class org.threeten.bp.OffsetDateTime
- isSupported(TemporalUnit) - Method in class org.threeten.bp.OffsetTime
- isSupported(TemporalUnit) - Method in interface org.threeten.bp.temporal.Temporal
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class org.threeten.bp.Year
- isSupported(TemporalUnit) - Method in class org.threeten.bp.YearMonth
- isSupported(TemporalUnit) - Method in class org.threeten.bp.ZonedDateTime
- isSupportedBy(Temporal) - Method in enum org.threeten.bp.temporal.ChronoUnit
- isSupportedBy(Temporal) - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Checks if this unit is supported by the specified temporal object.
- isSupportedBy(TemporalAccessor) - Method in enum org.threeten.bp.temporal.ChronoField
- isSupportedBy(TemporalAccessor) - Method in interface org.threeten.bp.temporal.TemporalField
-
Checks if this field is supported by the temporal object.
- isTimeBased() - Method in enum org.threeten.bp.temporal.ChronoField
-
Checks if this field represents a component of a time.
- isTimeBased() - Method in enum org.threeten.bp.temporal.ChronoUnit
-
Checks if this unit is a time unit.
- isTimeBased() - Method in interface org.threeten.bp.temporal.TemporalField
-
Checks if this field is time-based.
- isTimeBased() - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Checks if this unit is time-based.
- isValidDay(int) - Method in class org.threeten.bp.YearMonth
-
Checks if the day-of-month is valid for this year-month.
- isValidIntValue(long) - Method in class org.threeten.bp.temporal.ValueRange
-
Checks if the value is within the valid range and that all values in the range fit in an
int
. - isValidMonthDay(MonthDay) - Method in class org.threeten.bp.Year
-
Checks if the month-day is valid for this year.
- isValidOffset(LocalDateTime, ZoneOffset) - Method in class org.threeten.bp.zone.ZoneRules
-
Checks if the offset date-time is valid for these rules.
- isValidOffset(ZoneOffset) - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Checks if the specified offset is valid during this transition.
- isValidValue(long) - Method in class org.threeten.bp.temporal.ValueRange
-
Checks if the value is within the valid range.
- isValidYear(int) - Method in class org.threeten.bp.MonthDay
-
Checks if the year is valid for this month-day.
- isZero() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Checks if all the supported units of this period are zero.
- isZero() - Method in class org.threeten.bp.Duration
-
Checks if this duration is zero length.
- isZero() - Method in class org.threeten.bp.Period
-
Checks if all three units of this period are zero.
J
- JANUARY - org.threeten.bp.Month
-
The singleton instance for the month of January with 31 days.
- JapaneseChronology - Class in org.threeten.bp.chrono
-
The Japanese Imperial calendar system.
- JapaneseDate - Class in org.threeten.bp.chrono
-
A date in the Japanese Imperial calendar system.
- JapaneseEra - Class in org.threeten.bp.chrono
-
An era in the Japanese Imperial calendar system.
- Jdk8Methods - Class in org.threeten.bp.jdk8
-
A set of utility methods that provide additional functionality for working with dates and times.
- JULIAN_DAY - Static variable in class org.threeten.bp.temporal.JulianFields
-
Julian Day field.
- JulianFields - Class in org.threeten.bp.temporal
-
A set of date fields that provide access to Julian Days.
- JulianFields() - Constructor for class org.threeten.bp.temporal.JulianFields
- JULY - org.threeten.bp.Month
-
The singleton instance for the month of July with 31 days.
- JUNE - org.threeten.bp.Month
-
The singleton instance for the month of June with 30 days.
L
- lastDayOfMonth() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "last day of month" adjuster, which returns a new date set to the last day of the current month.
- lastDayOfYear() - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the "last day of year" adjuster, which returns a new date set to the last day of the current year.
- lastInMonth(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the last in month adjuster, which returns a new date in the same month with the last matching day-of-week.
- length() - Method in class org.threeten.bp.Year
-
Gets the length of this year in days.
- length(boolean) - Method in enum org.threeten.bp.Month
-
Gets the length of this month in days.
- lengthOfMonth() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Returns the length of the month represented by this date, as defined by the calendar system.
- lengthOfMonth() - Method in class org.threeten.bp.chrono.HijrahDate
- lengthOfMonth() - Method in class org.threeten.bp.chrono.JapaneseDate
- lengthOfMonth() - Method in class org.threeten.bp.chrono.MinguoDate
- lengthOfMonth() - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- lengthOfMonth() - Method in class org.threeten.bp.LocalDate
-
Returns the length of the month represented by this date.
- lengthOfMonth() - Method in class org.threeten.bp.YearMonth
-
Returns the length of the month, taking account of the year.
- lengthOfYear() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Returns the length of the year represented by this date, as defined by the calendar system.
- lengthOfYear() - Method in class org.threeten.bp.chrono.HijrahDate
- lengthOfYear() - Method in class org.threeten.bp.chrono.JapaneseDate
- lengthOfYear() - Method in class org.threeten.bp.LocalDate
-
Returns the length of the year represented by this date.
- lengthOfYear() - Method in class org.threeten.bp.YearMonth
-
Returns the length of the year.
- LENIENT - org.threeten.bp.format.ResolverStyle
-
Style to resolve dates and times leniently.
- localDate() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A query for
LocalDate
returning null if not found. - LocalDate - Class in org.threeten.bp
-
A date without a time-zone in the ISO-8601 calendar system, such as
2007-12-23
. - localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a local date-time in this chronology from another temporal object.
- localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.HijrahChronology
- localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO local date-time from another date-time object.
- localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.JapaneseChronology
- localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.MinguoChronology
- localDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- LocalDateTime - Class in org.threeten.bp
-
A date-time without a time-zone in the ISO-8601 calendar system, such as
2007-12-23T10:15:30
. - localTime() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A query for
LocalTime
returning null if not found. - LocalTime - Class in org.threeten.bp
-
A time without time-zone in the ISO-8601 calendar system, such as
10:15:30
. - LONG - org.threeten.bp.format.FormatStyle
-
Long text style, with lots of detail.
M
- MARCH - org.threeten.bp.Month
-
The singleton instance for the month of March with 31 days.
- MAX - Static variable in class org.threeten.bp.Instant
-
The maximum supported
Instant
, '1000000000-12-31T23:59:59.999999999Z'. - MAX - Static variable in class org.threeten.bp.LocalDate
-
The maximum supported
LocalDate
, '+999999999-12-31'. - MAX - Static variable in class org.threeten.bp.LocalDateTime
-
The maximum supported
LocalDateTime
, '+999999999-12-31T23:59:59.999999999'. - MAX - Static variable in class org.threeten.bp.LocalTime
-
The maximum supported
LocalTime
, '23:59:59.999999999'. - MAX - Static variable in class org.threeten.bp.OffsetDateTime
-
The maximum supported
OffsetDateTime
, '+999999999-12-31T23:59:59.999999999-18:00'. - MAX - Static variable in class org.threeten.bp.OffsetTime
-
The maximum supported
OffsetTime
, '23:59:59.999999999-18:00'. - MAX - Static variable in class org.threeten.bp.ZoneOffset
-
Constant for the maximum supported offset.
- MAX_VALUE - Static variable in class org.threeten.bp.Year
-
The maximum supported year, '+999,999,999'.
- MAX_VALUE_OF_ERA - Static variable in class org.threeten.bp.chrono.HijrahDate
-
The maximum valid year-of-era.
- maxLength() - Method in enum org.threeten.bp.Month
-
Gets the maximum length of this month in days.
- MAY - org.threeten.bp.Month
-
The singleton instance for the month of May with 31 days.
- MEDIUM - org.threeten.bp.format.FormatStyle
-
Medium text style, with some detail.
- MEIJI - Static variable in class org.threeten.bp.chrono.JapaneseEra
-
The singleton instance for the 'Meiji' era (1868-09-08 - 1912-07-29) which has the value -1.
- MICRO_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The micro-of-day.
- MICRO_OF_SECOND - org.threeten.bp.temporal.ChronoField
-
The micro-of-second.
- MICROS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a microsecond.
- MIDNIGHT - Static variable in class org.threeten.bp.LocalTime
-
The time of midnight at the start of the day, '00:00'.
- MILLENNIA - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a millennium.
- MILLI_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The milli-of-day.
- MILLI_OF_SECOND - org.threeten.bp.temporal.ChronoField
-
The milli-of-second.
- millis() - Method in class org.threeten.bp.Clock
-
Gets the current millisecond instant of the clock.
- MILLIS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a millisecond.
- MIN - Static variable in class org.threeten.bp.Instant
-
The minimum supported
Instant
, '-1000000000-01-01T00:00Z'. - MIN - Static variable in class org.threeten.bp.LocalDate
-
The minimum supported
LocalDate
, '-999999999-01-01'. - MIN - Static variable in class org.threeten.bp.LocalDateTime
-
The minimum supported
LocalDateTime
, '-999999999-01-01T00:00:00'. - MIN - Static variable in class org.threeten.bp.LocalTime
-
The minimum supported
LocalTime
, '00:00'. - MIN - Static variable in class org.threeten.bp.OffsetDateTime
-
The minimum supported
OffsetDateTime
, '-999999999-01-01T00:00:00+18:00'. - MIN - Static variable in class org.threeten.bp.OffsetTime
-
The minimum supported
OffsetTime
, '00:00:00+18:00'. - MIN - Static variable in class org.threeten.bp.ZoneOffset
-
Constant for the maximum supported offset.
- MIN_VALUE - Static variable in class org.threeten.bp.Year
-
The minimum supported year, '-999,999,999'.
- MIN_VALUE_OF_ERA - Static variable in class org.threeten.bp.chrono.HijrahDate
-
The minimum valid year-of-era.
- MinguoChronology - Class in org.threeten.bp.chrono
-
The Minguo calendar system.
- MinguoDate - Class in org.threeten.bp.chrono
-
A date in the Minguo calendar system.
- MinguoEra - Enum in org.threeten.bp.chrono
-
An era in the Minguo calendar system.
- minLength() - Method in enum org.threeten.bp.Month
-
Gets the minimum length of this month in days.
- minus(long) - Method in enum org.threeten.bp.DayOfWeek
-
Returns the day-of-week that is the specified number of days before this one.
- minus(long) - Method in enum org.threeten.bp.Month
-
Returns the month-of-year that is the specified number of months before this one.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.HijrahDate
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.JapaneseDate
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.MinguoDate
- minus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- minus(long, TemporalUnit) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.Instant
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporal
- minus(long, TemporalUnit) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this time with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this time with the specified period subtracted.
- minus(long, TemporalUnit) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.Year
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.YearMonth
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minus(Duration) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Returns a copy of this period with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.HijrahDate
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.JapaneseDate
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.MinguoDate
- minus(TemporalAmount) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- minus(TemporalAmount) - Method in class org.threeten.bp.Instant
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporal
- minus(TemporalAmount) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this time with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this time with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified amount subtracted.
- minus(TemporalAmount) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.Year
-
Returns a copy of this year with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period subtracted.
- minus(TemporalAmount) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the specified period subtracted.
- minusDays(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in 24 hour days subtracted.
- minusDays(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified number of days subtracted. - minusDays(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in days subtracted. - minusDays(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in days subtracted. - minusDays(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified days subtracted.
- minusDays(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in days subtracted. - minusHours(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in hours subtracted.
- minusHours(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in hours subtracted. - minusHours(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in hours subtracted. - minusHours(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in hours subtracted. - minusHours(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in hours subtracted. - minusHours(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in hours subtracted. - minusMillis(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in milliseconds subtracted.
- minusMillis(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in milliseconds subtracted.
- minusMinutes(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in minutes subtracted.
- minusMinutes(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in minutes subtracted. - minusMinutes(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in minutes subtracted. - minusMinutes(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in minutes subtracted. - minusMinutes(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in minutes subtracted. - minusMinutes(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in minutes subtracted. - minusMonths(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in months subtracted. - minusMonths(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in months subtracted. - minusMonths(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in months subtracted. - minusMonths(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified months subtracted.
- minusMonths(long) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period in months subtracted.
- minusMonths(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in months subtracted. - minusNanos(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in nanoseconds subtracted.
- minusNanos(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in nanoseconds subtracted.
- minusNanos(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in nanoseconds subtracted. - minusNanos(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in nanoseconds subtracted. - minusNanos(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in nanoseconds subtracted. - minusNanos(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in nanoseconds subtracted. - minusNanos(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in nanoseconds subtracted. - minusSeconds(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in seconds subtracted.
- minusSeconds(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in seconds subtracted.
- minusSeconds(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in seconds subtracted. - minusSeconds(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in seconds subtracted. - minusSeconds(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in seconds subtracted. - minusSeconds(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in seconds subtracted. - minusSeconds(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in seconds subtracted. - minusWeeks(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in weeks subtracted. - minusWeeks(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in weeks subtracted. - minusWeeks(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in weeks subtracted. - minusWeeks(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in weeks subtracted. - minusYears(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in years subtracted. - minusYears(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in years subtracted. - minusYears(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in years subtracted. - minusYears(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified years subtracted.
- minusYears(long) - Method in class org.threeten.bp.Year
-
Returns a copy of this year with the specified number of years subtracted.
- minusYears(long) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period in years subtracted.
- minusYears(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in years subtracted. - MINUTE_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The minute-of-day.
- MINUTE_OF_HOUR - org.threeten.bp.temporal.ChronoField
-
The minute-of-hour.
- MINUTES - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a minute.
- MODIFIED_JULIAN_DAY - Static variable in class org.threeten.bp.temporal.JulianFields
-
Modified Julian Day field.
- MONDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Monday.
- Month - Enum in org.threeten.bp
-
A month-of-year, such as 'July'.
- MONTH_OF_YEAR - org.threeten.bp.temporal.ChronoField
-
The month-of-year, such as March.
- MonthDay - Class in org.threeten.bp
-
A month-day in the ISO-8601 calendar system, such as
--12-03
. - MONTHS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a month.
- multipliedBy(int) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Returns a new instance with each amount in this period in this period multiplied by the specified scalar.
- multipliedBy(int) - Method in class org.threeten.bp.Period
-
Returns a new instance with each element in this period multiplied by the specified scalar.
- multipliedBy(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration multiplied by the scalar.
N
- NANO_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The nano-of-day.
- NANO_OF_SECOND - org.threeten.bp.temporal.ChronoField
-
The nano-of-second.
- NANOS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a nanosecond, the smallest supported unit of time.
- NARROW - org.threeten.bp.format.TextStyle
-
Narrow text, typically a single letter.
- NARROW_STANDALONE - org.threeten.bp.format.TextStyle
-
Narrow text for stand-alone use, typically a single letter.
- negated() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Returns a new instance with each amount in this period negated.
- negated() - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the length negated.
- negated() - Method in class org.threeten.bp.Period
-
Returns a new instance with each amount in this period negated.
- NEVER - org.threeten.bp.format.SignStyle
-
Style to never output sign, only outputting the absolute value.
- next(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the next day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted.
- nextOrSame(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the next-or-same day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted unless it is already on that day in which case the same object is returned.
- nextTransition(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the next transition after the specified instant.
- NOON - Static variable in class org.threeten.bp.LocalTime
-
The time of noon in the middle of the day, '12:00'.
- NORMAL - org.threeten.bp.format.SignStyle
-
Style to output the sign only if the value is negative.
- normalized() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Returns a copy of this period with the amounts of each unit normalized.
- normalized() - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the years and months normalized using a 12 month year.
- normalized() - Method in class org.threeten.bp.ZoneId
-
Normalizes the time-zone ID, returning a
ZoneOffset
where possible. - NOT_NEGATIVE - org.threeten.bp.format.SignStyle
-
Style to block negative values, throwing an exception on printing.
- NOVEMBER - org.threeten.bp.Month
-
The singleton instance for the month of November with 30 days.
- now() - Static method in class org.threeten.bp.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar in the default time-zone. - now() - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the system clock in the default time-zone. - now() - Static method in class org.threeten.bp.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the system clock in the default time-zone. - now() - Static method in class org.threeten.bp.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the system clock in the default time-zone. - now() - Static method in class org.threeten.bp.Instant
-
Obtains the current instant from the system clock.
- now() - Static method in class org.threeten.bp.LocalDate
-
Obtains the current date from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.LocalDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.LocalTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.MonthDay
-
Obtains the current month-day from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.OffsetTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.Year
-
Obtains the current year from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.YearMonth
-
Obtains the current year-month from the system clock in the default time-zone.
- now() - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now(Clock) - Static method in class org.threeten.bp.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar from the specified clock. - now(Clock) - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the specified clock. - now(Clock) - Static method in class org.threeten.bp.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the specified clock. - now(Clock) - Static method in class org.threeten.bp.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the specified clock. - now(Clock) - Static method in class org.threeten.bp.Instant
-
Obtains the current instant from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.LocalDate
-
Obtains the current date from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.LocalTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.MonthDay
-
Obtains the current month-day from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.OffsetTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.Year
-
Obtains the current year from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.YearMonth
-
Obtains the current year-month from the specified clock.
- now(Clock) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains the current date-time from the specified clock.
- now(ZoneId) - Static method in class org.threeten.bp.chrono.HijrahDate
-
Obtains the current
HijrahDate
of the Islamic Umm Al-Qura calendar in the specified time-zone. - now(ZoneId) - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains the current
JapaneseDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class org.threeten.bp.chrono.MinguoDate
-
Obtains the current
MinguoDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class org.threeten.bp.chrono.ThaiBuddhistDate
-
Obtains the current
ThaiBuddhistDate
from the system clock in the specified time-zone. - now(ZoneId) - Static method in class org.threeten.bp.LocalDate
-
Obtains the current date from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.LocalTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.MonthDay
-
Obtains the current month-day from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.OffsetTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.Year
-
Obtains the current year from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.YearMonth
-
Obtains the current year-month from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
O
- OCTOBER - org.threeten.bp.Month
-
The singleton instance for the month of October with 31 days.
- of(int) - Static method in enum org.threeten.bp.chrono.HijrahEra
-
Obtains an instance of
HijrahEra
from a value. - of(int) - Static method in enum org.threeten.bp.chrono.IsoEra
-
Obtains an instance of
IsoEra
from anint
value. - of(int) - Static method in class org.threeten.bp.chrono.JapaneseEra
-
Obtains an instance of
JapaneseEra
from anint
value. - of(int) - Static method in enum org.threeten.bp.chrono.MinguoEra
-
Obtains an instance of
MinguoEra
from anint
value. - of(int) - Static method in enum org.threeten.bp.chrono.ThaiBuddhistEra
-
Obtains an instance of
ThaiBuddhistEra
from a value. - of(int) - Static method in enum org.threeten.bp.DayOfWeek
-
Obtains an instance of
DayOfWeek
from anint
value. - of(int) - Static method in enum org.threeten.bp.Month
-
Obtains an instance of
Month
from anint
value. - of(int) - Static method in class org.threeten.bp.Year
-
Obtains an instance of
Year
. - of(int, int) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from an hour and minute. - of(int, int) - Static method in class org.threeten.bp.MonthDay
-
Obtains an instance of
MonthDay
. - of(int, int) - Static method in class org.threeten.bp.YearMonth
-
Obtains an instance of
YearMonth
from a year and month. - of(int, int, int) - Static method in class org.threeten.bp.chrono.HijrahDate
-
Obtains an instance of
HijrahDate
from the Hijrah era year, month-of-year and day-of-month. - of(int, int, int) - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains a
JapaneseDate
representing a date in the Japanese calendar system from the proleptic-year, month-of-year and day-of-month fields. - of(int, int, int) - Static method in class org.threeten.bp.chrono.MinguoDate
-
Obtains a
MinguoDate
representing a date in the Minguo calendar system from the proleptic-year, month-of-year and day-of-month fields. - of(int, int, int) - Static method in class org.threeten.bp.chrono.ThaiBuddhistDate
-
Obtains a
ThaiBuddhistDate
representing a date in the Thai Buddhist calendar system from the proleptic-year, month-of-year and day-of-month fields. - of(int, int, int) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a year, month and day. - of(int, int, int) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from an hour, minute and second. - of(int, int, int) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
representing a number of years, months and days. - of(int, int, int, int) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from an hour, minute, second and nanosecond. - of(int, int, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour and minute, setting the second and nanosecond to zero. - of(int, int, int, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour, minute and second, setting the nanosecond to zero. - of(int, int, int, int, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour, minute, second and nanosecond. - of(int, int, int, int, int, int, int, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a year, month, day, hour, minute, second, nanosecond and time-zone. - of(int, int, int, int, int, int, int, ZoneOffset) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a year, month, day, hour, minute, second, nanosecond and offset. - of(int, int, int, int, ZoneOffset) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from an hour, minute, second and nanosecond. - of(int, Month) - Static method in class org.threeten.bp.YearMonth
-
Obtains an instance of
YearMonth
from a year and month. - of(int, Month, int) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a year, month and day. - of(int, Month, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour and minute, setting the second and nanosecond to zero. - of(int, Month, int, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour, minute and second, setting the nanosecond to zero. - of(int, Month, int, int, int, int, int) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from year, month, day, hour, minute, second and nanosecond. - of(long, long) - Static method in class org.threeten.bp.temporal.ValueRange
-
Obtains a fixed value range.
- of(long, long, long) - Static method in class org.threeten.bp.temporal.ValueRange
-
Obtains a variable value range.
- of(long, long, long, long) - Static method in class org.threeten.bp.temporal.ValueRange
-
Obtains a fully variable value range.
- of(long, TemporalUnit) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a duration in the specified unit. - of(String) - Static method in class org.threeten.bp.chrono.Chronology
-
Obtains an instance of
Chronology
from a chronology ID or calendar system type. - of(String) - Static method in class org.threeten.bp.ZoneId
-
Obtains an instance of
ZoneId
from an ID ensuring that the ID is valid and available for use. - of(String) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
using the ID. - of(String, Map<String, String>) - Static method in class org.threeten.bp.ZoneId
-
Obtains an instance of
ZoneId
using its ID using a map of aliases to supplement the standard zone IDs. - of(Locale) - Static method in class org.threeten.bp.format.DecimalStyle
-
Obtains symbols for the specified locale.
- of(Locale) - Static method in class org.threeten.bp.temporal.WeekFields
-
Obtains an instance of
WeekFields
appropriate for a locale. - of(JapaneseEra, int, int, int) - Static method in class org.threeten.bp.chrono.JapaneseDate
-
Obtains a
JapaneseDate
representing a date in the Japanese calendar system from the era, year-of-era, month-of-year and day-of-month fields. - of(DayOfWeek, int) - Static method in class org.threeten.bp.temporal.WeekFields
-
Obtains an instance of
WeekFields
from the first day-of-week and minimal days. - of(LocalDate, LocalTime) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from a date and time. - of(LocalDate, LocalTime, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a local date and time. - of(LocalDate, LocalTime, ZoneOffset) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a date, time and offset. - of(LocalDateTime, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a local date-time. - of(LocalDateTime, ZoneOffset) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a date-time and offset. - of(LocalDateTime, ZoneOffset, ZoneOffset) - Static method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Obtains an instance defining a transition between two offsets.
- of(LocalTime, ZoneOffset) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from a local time and an offset. - of(Month, int) - Static method in class org.threeten.bp.MonthDay
-
Obtains an instance of
MonthDay
. - of(Month, int, DayOfWeek, LocalTime, boolean, ZoneOffsetTransitionRule.TimeDefinition, ZoneOffset, ZoneOffset, ZoneOffset) - Static method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Obtains an instance defining the yearly rule to create transitions between two offsets.
- of(ZoneOffset) - Static method in class org.threeten.bp.zone.ZoneRules
-
Obtains an instance of
ZoneRules
that always uses the same offset. - of(ZoneOffset, ZoneOffset, List<ZoneOffsetTransition>, List<ZoneOffsetTransition>, List<ZoneOffsetTransitionRule>) - Static method in class org.threeten.bp.zone.ZoneRules
-
Obtains an instance of
ZoneRules
with full transition rules. - ofDays(int) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
representing a number of days. - ofDays(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of standard 24 hour days. - ofDefaultLocale() - Static method in class org.threeten.bp.format.DecimalStyle
-
Obtains symbols for the default locale.
- ofEpochDay(long) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from the epoch day count. - ofEpochMilli(long) - Static method in class org.threeten.bp.Instant
-
Obtains an instance of
Instant
using milliseconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long) - Static method in class org.threeten.bp.Instant
-
Obtains an instance of
Instant
using seconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long, int, ZoneOffset) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
using seconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long, long) - Static method in class org.threeten.bp.Instant
-
Obtains an instance of
Instant
using seconds from the epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second. - offset() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A query for
ZoneOffset
returning null if not found. - offset(Clock, Duration) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns instants from the specified clock with the specified duration added
- OFFSET_SECONDS - org.threeten.bp.temporal.ChronoField
-
The offset from UTC/Greenwich.
- OffsetDateTime - Class in org.threeten.bp
-
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as
2007-12-23T10:15:30+01:00
. - OffsetTime - Class in org.threeten.bp
-
A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as
10:15:30+01:00
. - ofHours(int) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
using an offset in hours. - ofHours(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of standard length hours. - ofHoursMinutes(int, int) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
using an offset in hours and minutes. - ofHoursMinutesSeconds(int, int, int) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
using an offset in hours, minutes and seconds. - ofInstant(Instant, ZoneId) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from anInstant
and zone ID. - ofInstant(Instant, ZoneId) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from anInstant
and zone ID. - ofInstant(Instant, ZoneId) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from anInstant
and zone ID. - ofInstant(Instant, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from anInstant
. - ofInstant(LocalDateTime, ZoneOffset, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from the instant formed by combining the local date-time and offset. - ofLocal(LocalDateTime, ZoneId, ZoneOffset) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a local date-time using the preferred offset if possible. - ofLocale(Locale) - Static method in class org.threeten.bp.chrono.Chronology
-
Obtains an instance of
Chronology
from a locale. - ofLocalizedDate(FormatStyle) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a locale specific date format.
- ofLocalizedDateTime(FormatStyle) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a locale specific date-time format, which is typically of short length.
- ofLocalizedDateTime(FormatStyle, FormatStyle) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a locale specific date and time format.
- ofLocalizedTime(FormatStyle) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a locale specific time format.
- ofMillis(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of milliseconds. - ofMinutes(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of standard length minutes. - ofMonths(int) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
representing a number of months. - ofNanoOfDay(long) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from a nanos-of-day value. - ofNanos(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of nanoseconds. - ofOffset(String, ZoneOffset) - Static method in class org.threeten.bp.ZoneId
-
Obtains an instance of
ZoneId
wrapping an offset. - ofPattern(String) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Creates a formatter using the specified pattern.
- ofPattern(String, Locale) - Static method in class org.threeten.bp.format.DateTimeFormatter
-
Creates a formatter using the specified pattern.
- ofSecondOfDay(long) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from a second-of-day value. - ofSeconds(long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of seconds. - ofSeconds(long, long) - Static method in class org.threeten.bp.Duration
-
Obtains an instance of
Duration
from a number of seconds and an adjustment in nanoseconds. - ofStrict(LocalDateTime, ZoneOffset, ZoneId) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
strictly validating the combination of local date-time, offset and zone ID. - ofTotalSeconds(int) - Static method in class org.threeten.bp.ZoneOffset
-
Obtains an instance of
ZoneOffset
specifying the total offset in seconds - ofWeeks(int) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
representing a number of weeks. - ofYearDay(int, int) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a year and day-of-year. - ofYears(int) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
representing a number of years. - optionalEnd() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Ends an optional section.
- optionalStart() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Mark the start of an optional section.
- org.threeten.bp - package org.threeten.bp
-
The main API for dates, times, instants, and durations.
- org.threeten.bp.chrono - package org.threeten.bp.chrono
-
Support for calendar systems other than the default ISO.
- org.threeten.bp.format - package org.threeten.bp.format
-
Provides classes to print and parse dates and times.
- org.threeten.bp.jdk8 - package org.threeten.bp.jdk8
-
Simulates JDK 8 features on JDK 7.
- org.threeten.bp.temporal - package org.threeten.bp.temporal
-
Access to date and time using fields and units.
- org.threeten.bp.zone - package org.threeten.bp.zone
-
Support for time-zones and their rules.
P
- padNext(int) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Causes the next added printer/parser to pad to a fixed width using a space.
- padNext(int, char) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Causes the next added printer/parser to pad to a fixed width.
- parse(CharSequence) - Static method in class org.threeten.bp.Duration
-
Obtains a
Duration
from a text string such asPnDTnHnMn.nS
. - parse(CharSequence) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Fully parses the text producing a temporal object.
- parse(CharSequence) - Static method in class org.threeten.bp.Instant
-
Obtains an instance of
Instant
from a text string such as2007-12-23T10:15:30.000Z
. - parse(CharSequence) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a text string such as2007-12-23
. - parse(CharSequence) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from a text string such as2007-12-23T10:15:30
. - parse(CharSequence) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from a text string such as10:15
. - parse(CharSequence) - Static method in class org.threeten.bp.MonthDay
-
Obtains an instance of
MonthDay
from a text string such as--12-03
. - parse(CharSequence) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a text string such as2007-12-23T10:15:30+01:00
. - parse(CharSequence) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from a text string such as10:15:30+01:00
. - parse(CharSequence) - Static method in class org.threeten.bp.Period
-
Obtains a
Period
from a text string such asPnYnMnD
. - parse(CharSequence) - Static method in class org.threeten.bp.Year
-
Obtains an instance of
Year
from a text string such as2007
. - parse(CharSequence) - Static method in class org.threeten.bp.YearMonth
-
Obtains an instance of
YearMonth
from a text string such as2007-12
. - parse(CharSequence) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a text string such as2007-12-23T10:15:30+01:00[Europe/Paris]
. - parse(CharSequence, ParsePosition) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Parses the text using this formatter, providing control over the text position.
- parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.LocalDate
-
Obtains an instance of
LocalDate
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.LocalDateTime
-
Obtains an instance of
LocalDateTime
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.LocalTime
-
Obtains an instance of
LocalTime
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.MonthDay
-
Obtains an instance of
MonthDay
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.OffsetDateTime
-
Obtains an instance of
OffsetDateTime
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.OffsetTime
-
Obtains an instance of
OffsetTime
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.Year
-
Obtains an instance of
Year
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.YearMonth
-
Obtains an instance of
YearMonth
from a text string using a specific formatter. - parse(CharSequence, DateTimeFormatter) - Static method in class org.threeten.bp.ZonedDateTime
-
Obtains an instance of
ZonedDateTime
from a text string using a specific formatter. - parse(CharSequence, TemporalQuery<T>) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Fully parses the text producing an object of the specified type.
- parseBest(CharSequence, TemporalQuery<?>...) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Fully parses the text producing an object of one of the specified types.
- parseCaseInsensitive() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Changes the parse style to be case insensitive for the remainder of the formatter.
- parseCaseSensitive() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Changes the parse style to be case sensitive for the remainder of the formatter.
- parseDefaulting(TemporalField, long) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Appends a default value for a field to the formatter for use in parsing.
- parsedExcessDays() - Static method in class org.threeten.bp.format.DateTimeFormatter
-
A query that provides access to the excess days that were parsed.
- parsedLeapSecond() - Static method in class org.threeten.bp.format.DateTimeFormatter
-
A query that provides access to whether a leap-second was parsed.
- parseLenient() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Changes the parse style to be lenient for the remainder of the formatter.
- parseStrict() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Changes the parse style to be strict for the remainder of the formatter.
- parseUnresolved(CharSequence, ParsePosition) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Parses the text using this formatter, without resolving the result, intended for advanced use cases.
- period(int, int, int) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a period for this chronology based on years, months and days.
- Period - Class in org.threeten.bp
-
A date-based amount of time, such as '2 years, 3 months and 4 days'.
- plus(long) - Method in enum org.threeten.bp.DayOfWeek
-
Returns the day-of-week that is the specified number of days after this one.
- plus(long) - Method in enum org.threeten.bp.Month
-
Returns the month-of-year that is the specified number of quarters after this one.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.HijrahDate
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.JapaneseDate
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.MinguoDate
- plus(long, TemporalUnit) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- plus(long, TemporalUnit) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.Instant
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this date-time with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this time with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this date-time with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this time with the specified period added.
- plus(long, TemporalUnit) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.Year
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.YearMonth
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the specified period added.
- plus(Duration) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration added.
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Returns a copy of this period with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.HijrahDate
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.JapaneseDate
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.MinguoDate
- plus(TemporalAmount) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- plus(TemporalAmount) - Method in class org.threeten.bp.Instant
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporal
- plus(TemporalAmount) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this date-time with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this date with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this date-time with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this date with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified amount added.
- plus(TemporalAmount) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in class org.threeten.bp.Year
-
Returns a copy of this year with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period added.
- plus(TemporalAmount) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the specified period added.
- plusDays(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in 24 hour days added.
- plusDays(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified number of days added. - plusDays(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in days added. - plusDays(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in days added.
- plusDays(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified days added.
- plusDays(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in days added. - plusHours(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in hours added.
- plusHours(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in hours added. - plusHours(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in hours added. - plusHours(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in hours added. - plusHours(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in hours added. - plusHours(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in hours added. - plusMillis(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in milliseconds added.
- plusMillis(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in milliseconds added.
- plusMinutes(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in minutes added.
- plusMinutes(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in minutes added. - plusMinutes(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in minutes added. - plusMinutes(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in minutes added. - plusMinutes(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in minutes added. - plusMinutes(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in minutes added. - plusMonths(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in months added. - plusMonths(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in months added. - plusMonths(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in months added. - plusMonths(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified months added.
- plusMonths(long) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period in months added.
- plusMonths(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in months added. - plusNanos(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in nanoseconds added.
- plusNanos(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in nanoseconds added.
- plusNanos(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in nanoseconds added. - plusNanos(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in nanoseconds added. - plusNanos(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in nanoseconds added. - plusNanos(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in nanoseconds added. - plusNanos(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in nanoseconds added. - plusSeconds(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified duration in seconds added.
- plusSeconds(long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified duration in seconds added.
- plusSeconds(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in seconds added. - plusSeconds(long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the specified period in seconds added. - plusSeconds(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in seconds added. - plusSeconds(long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified period in seconds added. - plusSeconds(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in seconds added. - plusWeeks(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in weeks added. - plusWeeks(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in weeks added. - plusWeeks(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in weeks added.
- plusWeeks(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in weeks added. - plusYears(long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this
LocalDate
with the specified period in years added. - plusYears(long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the specified period in years added. - plusYears(long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified period in years added. - plusYears(long) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified years added.
- plusYears(long) - Method in class org.threeten.bp.Year
-
Returns a copy of this year with the specified number of years added.
- plusYears(long) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified period in years added.
- plusYears(long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the specified period in years added. - precision() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A query for the smallest supported unit.
- previous(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the previous day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week before the date being adjusted.
- previousOrSame(DayOfWeek) - Static method in class org.threeten.bp.temporal.TemporalAdjusters
-
Returns the previous-or-same day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week before the date being adjusted unless it is already on that day in which case the same object is returned.
- previousTransition(Instant) - Method in class org.threeten.bp.zone.ZoneRules
-
Gets the previous transition before the specified instant.
- PROLEPTIC_MONTH - org.threeten.bp.temporal.ChronoField
-
The proleptic-month, which counts months sequentially from year 0.
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.Chronology
-
Calculates the proleptic-year given the era and year-of-era.
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.HijrahChronology
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.IsoChronology
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.JapaneseChronology
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.MinguoChronology
- prolepticYear(Era, int) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- provideRefresh() - Method in class org.threeten.bp.zone.ZoneRulesProvider
-
SPI method to refresh the rules from the underlying data provider.
- provideRules(String, boolean) - Method in class org.threeten.bp.zone.TzdbZoneRulesProvider
- provideRules(String, boolean) - Method in class org.threeten.bp.zone.ZoneRulesProvider
-
SPI method to get the rules for the zone ID.
- provideVersions(String) - Method in class org.threeten.bp.zone.TzdbZoneRulesProvider
- provideVersions(String) - Method in class org.threeten.bp.zone.ZoneRulesProvider
-
SPI method to get the history of rules for the zone ID.
- provideZoneIds() - Method in class org.threeten.bp.zone.TzdbZoneRulesProvider
- provideZoneIds() - Method in class org.threeten.bp.zone.ZoneRulesProvider
-
SPI method to get the available zone IDs.
Q
- QUARTER_OF_YEAR - Static variable in class org.threeten.bp.temporal.IsoFields
-
The field that represents the quarter-of-year.
- QUARTER_YEARS - Static variable in class org.threeten.bp.temporal.IsoFields
-
Unit that represents the concept of a quarter-year.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- query(TemporalQuery<R>) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- query(TemporalQuery<R>) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.chrono.HijrahEra
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.chrono.IsoEra
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.chrono.MinguoEra
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.DayOfWeek
-
Queries this day-of-week using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.Instant
-
Queries this instant using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.jdk8.DefaultInterfaceEra
- query(TemporalQuery<R>) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporalAccessor
- query(TemporalQuery<R>) - Method in class org.threeten.bp.LocalDate
-
Queries this date using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.LocalDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.LocalTime
-
Queries this time using the specified query.
- query(TemporalQuery<R>) - Method in enum org.threeten.bp.Month
-
Queries this month-of-year using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.MonthDay
-
Queries this month-day using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.OffsetDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.OffsetTime
-
Queries this time using the specified query.
- query(TemporalQuery<R>) - Method in interface org.threeten.bp.temporal.TemporalAccessor
-
Queries this date-time.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.Year
-
Queries this year using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.YearMonth
-
Queries this year-month using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.ZonedDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class org.threeten.bp.ZoneOffset
-
Queries this offset using the specified query.
- queryFrom(TemporalAccessor) - Method in interface org.threeten.bp.temporal.TemporalQuery
-
Queries the specified temporal object.
R
- range() - Method in enum org.threeten.bp.temporal.ChronoField
-
Gets the range of valid values for the field.
- range() - Method in interface org.threeten.bp.temporal.TemporalField
-
Gets the range of valid values for the field.
- range(ChronoField) - Method in class org.threeten.bp.chrono.Chronology
-
Gets the range of valid values for the specified field.
- range(ChronoField) - Method in class org.threeten.bp.chrono.HijrahChronology
- range(ChronoField) - Method in class org.threeten.bp.chrono.IsoChronology
- range(ChronoField) - Method in class org.threeten.bp.chrono.JapaneseChronology
- range(ChronoField) - Method in class org.threeten.bp.chrono.MinguoChronology
- range(ChronoField) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- range(TemporalField) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- range(TemporalField) - Method in class org.threeten.bp.chrono.HijrahDate
- range(TemporalField) - Method in enum org.threeten.bp.chrono.HijrahEra
- range(TemporalField) - Method in enum org.threeten.bp.chrono.IsoEra
- range(TemporalField) - Method in class org.threeten.bp.chrono.JapaneseDate
- range(TemporalField) - Method in class org.threeten.bp.chrono.JapaneseEra
- range(TemporalField) - Method in class org.threeten.bp.chrono.MinguoDate
- range(TemporalField) - Method in enum org.threeten.bp.chrono.MinguoEra
- range(TemporalField) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- range(TemporalField) - Method in enum org.threeten.bp.chrono.ThaiBuddhistEra
- range(TemporalField) - Method in enum org.threeten.bp.DayOfWeek
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.Instant
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporalAccessor
- range(TemporalField) - Method in class org.threeten.bp.LocalDate
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.LocalDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.LocalTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in enum org.threeten.bp.Month
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.MonthDay
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.OffsetDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.OffsetTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in interface org.threeten.bp.temporal.TemporalAccessor
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.Year
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.YearMonth
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.ZonedDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class org.threeten.bp.ZoneOffset
-
Gets the range of valid values for the specified field.
- rangeRefinedBy(TemporalAccessor) - Method in enum org.threeten.bp.temporal.ChronoField
- rangeRefinedBy(TemporalAccessor) - Method in interface org.threeten.bp.temporal.TemporalField
-
Get the range of valid values for this field using the temporal object to refine the result.
- RATA_DIE - Static variable in class org.threeten.bp.temporal.JulianFields
-
Rata Die field.
- refresh() - Static method in class org.threeten.bp.zone.ZoneRulesProvider
-
Refreshes the rules from the underlying data provider.
- registerEra(LocalDate, String) - Static method in class org.threeten.bp.chrono.JapaneseEra
-
Registers an additional instance of
JapaneseEra
. - registerProvider(ZoneRulesProvider) - Static method in class org.threeten.bp.zone.ZoneRulesProvider
-
Registers a zone rules provider.
- requireNonNull(T) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Ensures that the argument is non-null.
- requireNonNull(T, String) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Ensures that the argument is non-null.
- resolve(Map<TemporalField, Long>, TemporalAccessor, ResolverStyle) - Method in enum org.threeten.bp.temporal.ChronoField
- resolve(Map<TemporalField, Long>, TemporalAccessor, ResolverStyle) - Method in interface org.threeten.bp.temporal.TemporalField
-
Resolves the date/time information in the builder
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.Chronology
-
Resolves parsed
ChronoField
values into a date during parsing. - resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.HijrahChronology
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.IsoChronology
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.JapaneseChronology
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.MinguoChronology
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- ResolverStyle - Enum in org.threeten.bp.format
-
Enumeration of different ways to resolve dates and times.
- RFC_1123_DATE_TIME - Static variable in class org.threeten.bp.format.DateTimeFormatter
-
Returns the RFC-1123 date-time formatter, such as 'Tue, 3 Jun 2008 11:05:30 GMT'.
- ROC - org.threeten.bp.chrono.MinguoEra
-
The singleton instance for the era ROC, 'Republic of China'.
S
- safeAdd(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely adds two int values.
- safeAdd(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely adds two long values.
- safeMultiply(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely multiply one int by another.
- safeMultiply(long, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely multiply a long by an int.
- safeMultiply(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Multiply two values throwing an exception if overflow occurs.
- safeSubtract(int, int) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely subtracts one int from another.
- safeSubtract(long, long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely subtracts one long from another.
- safeToInt(long) - Static method in class org.threeten.bp.jdk8.Jdk8Methods
-
Safely convert a long to an int.
- SATURDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Saturday.
- SECOND_OF_DAY - org.threeten.bp.temporal.ChronoField
-
The second-of-day.
- SECOND_OF_MINUTE - org.threeten.bp.temporal.ChronoField
-
The second-of-minute.
- SECONDS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a second.
- SEPTEMBER - org.threeten.bp.Month
-
The singleton instance for the month of September with 30 days.
- setInitializer(DateTimeTextProvider) - Static method in class org.threeten.bp.format.DateTimeTextProvider
-
Sets the provider to use.
- setInitializer(ZoneRulesInitializer) - Static method in class org.threeten.bp.zone.ZoneRulesInitializer
-
Sets the initializer to use.
- SHORT - org.threeten.bp.format.FormatStyle
-
Short text style, typically numeric.
- SHORT - org.threeten.bp.format.TextStyle
-
Short text, typically an abbreviation.
- SHORT_IDS - Static variable in class org.threeten.bp.ZoneId
-
A map of zone overrides to enable the short time-zone names to be used.
- SHORT_STANDALONE - org.threeten.bp.format.TextStyle
-
Short text for stand-alone use, typically an abbreviation.
- SHOWA - Static variable in class org.threeten.bp.chrono.JapaneseEra
-
The singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07) which has the value 1.
- SignStyle - Enum in org.threeten.bp.format
-
Enumeration of ways to handle the positive/negative sign.
- SMART - org.threeten.bp.format.ResolverStyle
-
Style to resolve dates and times in a smart, or intelligent, manner.
- STANDARD - org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the standard offset.
- STANDARD - Static variable in class org.threeten.bp.format.DecimalStyle
-
The standard set of non-localized symbols.
- STRICT - org.threeten.bp.format.ResolverStyle
-
Style to resolve dates and times strictly.
- subtractFrom(Temporal) - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Subtracts this period from the specified temporal object.
- subtractFrom(Temporal) - Method in class org.threeten.bp.Duration
-
Subtracts this duration from the specified temporal object.
- subtractFrom(Temporal) - Method in class org.threeten.bp.Period
-
Subtracts this period from the specified temporal object.
- subtractFrom(Temporal) - Method in interface org.threeten.bp.temporal.TemporalAmount
-
Subtracts this object from the specified temporal object.
- SUNDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Sunday.
- SUNDAY_START - Static variable in class org.threeten.bp.temporal.WeekFields
-
The common definition of a week that starts on Sunday.
- system(ZoneId) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns the current instant using best available system clock.
- systemDefault() - Static method in class org.threeten.bp.ZoneId
-
Gets the system default time-zone.
- systemDefaultZone() - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns the current instant using the best available system clock, converting to date and time using the default time-zone.
- systemUTC() - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns the current instant using the best available system clock, converting to date and time using the UTC time-zone.
T
- TAISHO - Static variable in class org.threeten.bp.chrono.JapaneseEra
-
The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24) which has the value 0.
- Temporal - Interface in org.threeten.bp.temporal
-
Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these.
- TemporalAccessor - Interface in org.threeten.bp.temporal
-
Framework-level interface defining read-only access to a temporal object, such as a date, time, offset or some combination of these.
- TemporalAdjuster - Interface in org.threeten.bp.temporal
-
Strategy for adjusting a temporal object.
- TemporalAdjusters - Class in org.threeten.bp.temporal
-
Common implementations of
TemporalAdjuster
. - TemporalAmount - Interface in org.threeten.bp.temporal
-
Framework-level interface defining an amount of time, such as "6 hours", "8 days" or "2 years and 3 months".
- TemporalField - Interface in org.threeten.bp.temporal
-
A field of date-time, such as month-of-year or hour-of-minute.
- TemporalQueries - Class in org.threeten.bp.temporal
-
Common implementations of
TemporalQuery
. - TemporalQuery<R> - Interface in org.threeten.bp.temporal
-
Strategy for querying a temporal object.
- TemporalUnit - Interface in org.threeten.bp.temporal
-
A unit of date-time, such as Days or Hours.
- TextStyle - Enum in org.threeten.bp.format
-
Enumeration of the style of text formatting and parsing.
- ThaiBuddhistChronology - Class in org.threeten.bp.chrono
-
The Thai Buddhist calendar system.
- ThaiBuddhistDate - Class in org.threeten.bp.chrono
-
A date in the Thai Buddhist calendar system.
- ThaiBuddhistEra - Enum in org.threeten.bp.chrono
-
An era in the Thai Buddhist calendar system.
- THURSDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Thursday.
- tick(Clock, Duration) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns instants from the specified clock truncated to the nearest occurrence of the specified duration.
- tickMinutes(ZoneId) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns the current instant ticking in whole minutes using best available system clock.
- tickSeconds(ZoneId) - Static method in class org.threeten.bp.Clock
-
Obtains a clock that returns the current instant ticking in whole seconds using best available system clock.
- timeLineOrder() - Static method in class org.threeten.bp.chrono.ChronoLocalDate
-
Gets a comparator that compares
ChronoLocalDate
in time-line order ignoring the chronology. - timeLineOrder() - Static method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Gets a comparator that compares
ChronoLocalDateTime
in time-line order ignoring the chronology. - timeLineOrder() - Static method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets a comparator that compares
ChronoZonedDateTime
in time-line order ignoring the chronology. - timeLineOrder() - Static method in class org.threeten.bp.OffsetDateTime
-
Gets a comparator that compares two
OffsetDateTime
instances based solely on the instant. - toDate(Instant) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts an
Instant
to ajava.util.Date
. - toDays() - Method in class org.threeten.bp.Duration
-
Gets the number of days in this duration.
- toEpochDay() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Converts this date to the Epoch Day.
- toEpochDay() - Method in class org.threeten.bp.chrono.HijrahDate
- toEpochDay() - Method in class org.threeten.bp.chrono.JapaneseDate
- toEpochDay() - Method in class org.threeten.bp.chrono.MinguoDate
- toEpochDay() - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- toEpochDay() - Method in class org.threeten.bp.LocalDate
- toEpochMilli() - Method in class org.threeten.bp.Instant
-
Converts this instant to the number of milliseconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in class org.threeten.bp.OffsetDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Gets the transition instant as an epoch second.
- toEpochSecond(ZoneOffset) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toFormat() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns this formatter as a
java.text.Format
instance. - toFormat(TemporalQuery<?>) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns this formatter as a
java.text.Format
instance that will parse to the specified type. - toFormatter() - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Completes this builder by creating the DateTimeFormatter using the default locale.
- toFormatter(Locale) - Method in class org.threeten.bp.format.DateTimeFormatterBuilder
-
Completes this builder by creating the DateTimeFormatter using the specified locale.
- toGregorianCalendar(ZonedDateTime) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
ZonedDateTime
to aCalendar
. - toHours() - Method in class org.threeten.bp.Duration
-
Gets the number of hours in this duration.
- toInstant() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Converts this date-time to an
Instant
. - toInstant() - Method in class org.threeten.bp.OffsetDateTime
-
Converts this date-time to an
Instant
. - toInstant(Timestamp) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
java.sql.Timestamp
to anInstant
. - toInstant(Calendar) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
Calendar
to anInstant
. - toInstant(Date) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
java.util.Date
to anInstant
. - toInstant(ZoneOffset) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Converts this date-time to an
Instant
. - toLocalDate() - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Gets the local date part of this date-time.
- toLocalDate() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the local date part of this date-time.
- toLocalDate() - Method in class org.threeten.bp.LocalDateTime
-
Gets the
LocalDate
part of this date-time. - toLocalDate() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the
LocalDate
part of this date-time. - toLocalDate() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the
LocalDate
part of this date-time. - toLocalDate(Date) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
java.sql.Date
to aLocalDate
. - toLocalDateTime() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the local date-time part of this date-time.
- toLocalDateTime() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the
LocalDateTime
part of this offset date-time. - toLocalDateTime() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the
LocalDateTime
part of this date-time. - toLocalDateTime(Timestamp) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
java.sql.Timestamp
to aLocalDateTime
. - toLocalTime() - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Gets the local time part of this date-time.
- toLocalTime() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Gets the local time part of this date-time.
- toLocalTime() - Method in class org.threeten.bp.LocalDateTime
-
Gets the
LocalTime
part of this date-time. - toLocalTime() - Method in class org.threeten.bp.OffsetDateTime
-
Gets the
LocalTime
part of this date-time. - toLocalTime() - Method in class org.threeten.bp.OffsetTime
-
Gets the
LocalTime
part of this date-time. - toLocalTime() - Method in class org.threeten.bp.ZonedDateTime
-
Gets the
LocalTime
part of this date-time. - toLocalTime(Time) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
java.sql.Time
to aLocalTime
. - toMillis() - Method in class org.threeten.bp.Duration
-
Converts this duration to the total length in milliseconds.
- toMinutes() - Method in class org.threeten.bp.Duration
-
Gets the number of minutes in this duration.
- toNanoOfDay() - Method in class org.threeten.bp.LocalTime
-
Extracts the time as nanos of day, from
0
to24 * 60 * 60 * 1,000,000,000 - 1
. - toNanos() - Method in class org.threeten.bp.Duration
-
Converts this duration to the total length in nanoseconds expressed as a
long
. - toOffsetDateTime() - Method in class org.threeten.bp.ZonedDateTime
-
Converts this date-time to an
OffsetDateTime
. - toOffsetTime() - Method in class org.threeten.bp.OffsetDateTime
-
Converts this date-time to an
OffsetTime
. - toSecondOfDay() - Method in class org.threeten.bp.LocalTime
-
Extracts the time as seconds of day, from
0
to24 * 60 * 60 - 1
. - toSqlDate(LocalDate) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
LocalDate
to ajava.sql.Date
. - toSqlTime(LocalTime) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
LocalTime
to ajava.sql.Time
. - toSqlTimestamp(Instant) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts an
Instant
to ajava.sql.Timestamp
. - toSqlTimestamp(LocalDateTime) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
LocalDateTime
to ajava.sql.Timestamp
. - toString() - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Outputs this date as a
String
. - toString() - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
-
Outputs this date-time as a
String
. - toString() - Method in class org.threeten.bp.chrono.Chronology
-
Outputs this chronology as a
String
, using the ID. - toString() - Method in class org.threeten.bp.chrono.ChronoPeriod
-
Outputs this period as a
String
. - toString() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Outputs this date-time as a
String
. - toString() - Method in class org.threeten.bp.chrono.JapaneseEra
- toString() - Method in class org.threeten.bp.Duration
-
A string representation of this duration using ISO-8601 seconds based representation, such as
PT8H6M12.345S
. - toString() - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a description of the underlying formatters.
- toString() - Method in class org.threeten.bp.format.DecimalStyle
-
Returns a string describing these symbols.
- toString() - Method in class org.threeten.bp.Instant
-
A string representation of this instant using ISO-8601 representation.
- toString() - Method in class org.threeten.bp.LocalDate
-
Outputs this date as a
String
, such as2007-12-23
. - toString() - Method in class org.threeten.bp.LocalDateTime
-
Outputs this date-time as a
String
, such as2007-12-23T10:15:30
. - toString() - Method in class org.threeten.bp.LocalTime
-
Outputs this time as a
String
, such as10:15
. - toString() - Method in class org.threeten.bp.MonthDay
-
Outputs this month-day as a
String
, such as--12-03
. - toString() - Method in class org.threeten.bp.OffsetDateTime
-
Outputs this date-time as a
String
, such as2007-12-23T10:15:30+01:00
. - toString() - Method in class org.threeten.bp.OffsetTime
-
Outputs this time as a
String
, such as10:15:30+01:00
. - toString() - Method in class org.threeten.bp.Period
-
Outputs this period as a
String
, such asP6Y3M1D
. - toString() - Method in enum org.threeten.bp.temporal.ChronoField
- toString() - Method in enum org.threeten.bp.temporal.ChronoUnit
- toString() - Method in interface org.threeten.bp.temporal.TemporalUnit
-
Outputs this unit as a
String
using the name. - toString() - Method in class org.threeten.bp.temporal.ValueRange
-
Outputs this range as a
String
. - toString() - Method in class org.threeten.bp.temporal.WeekFields
-
A string representation of this
WeekFields
instance. - toString() - Method in class org.threeten.bp.Year
-
Outputs this year as a
String
. - toString() - Method in class org.threeten.bp.YearMonth
-
Outputs this year-month as a
String
, such as2007-12
. - toString() - Method in class org.threeten.bp.zone.TzdbZoneRulesProvider
- toString() - Method in class org.threeten.bp.zone.ZoneOffsetTransition
-
Returns a string describing this object.
- toString() - Method in class org.threeten.bp.zone.ZoneOffsetTransitionRule
-
Returns a string describing this object.
- toString() - Method in class org.threeten.bp.ZonedDateTime
-
Outputs this date-time as a
String
, such as2007-12-23T10:15:30+01:00[Europe/Paris]
. - toString() - Method in class org.threeten.bp.ZoneId
-
Outputs this zone as a
String
, using the ID. - toString() - Method in class org.threeten.bp.ZoneOffset
-
Outputs this offset as a
String
, using the normalized ID. - toTimeZone(ZoneId) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
ZoneId
to aTimeZone
. - toTotalMonths() - Method in class org.threeten.bp.Period
-
Gets the total number of months in this period using a 12 month year.
- toZonedDateTime() - Method in class org.threeten.bp.OffsetDateTime
-
Converts this date-time to a
ZonedDateTime
using the offset as the zone ID. - toZonedDateTime(Calendar) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
Calendar
to aZonedDateTime
. - toZoneId(TimeZone) - Static method in class org.threeten.bp.DateTimeUtils
-
Converts a
TimeZone
to aZoneId
. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.Instant
-
Returns a copy of this
Instant
truncated to the specified unit. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the time truncated. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the time truncated. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the time truncated. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the time truncated. - truncatedTo(TemporalUnit) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the time truncated. - TUESDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Tuesday.
- TzdbZoneRulesProvider - Class in org.threeten.bp.zone
-
Loads time-zone rules for 'TZDB'.
- TzdbZoneRulesProvider() - Constructor for class org.threeten.bp.zone.TzdbZoneRulesProvider
-
Creates an instance.
- TzdbZoneRulesProvider(InputStream) - Constructor for class org.threeten.bp.zone.TzdbZoneRulesProvider
-
Creates an instance and loads the specified input stream.
- TzdbZoneRulesProvider(URL) - Constructor for class org.threeten.bp.zone.TzdbZoneRulesProvider
-
Creates an instance and loads the specified URL.
U
- UnsupportedTemporalTypeException - Exception in org.threeten.bp.temporal
-
An exception that indicates a type is unsupported.
- UnsupportedTemporalTypeException(String) - Constructor for exception org.threeten.bp.temporal.UnsupportedTemporalTypeException
-
Constructs a new date-time exception with the specified message.
- UnsupportedTemporalTypeException(String, Throwable) - Constructor for exception org.threeten.bp.temporal.UnsupportedTemporalTypeException
-
Constructs a new date-time exception with the specified message and cause.
- until(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ChronoLocalDate
-
Calculates the period between this date and another date as a
ChronoPeriod
. - until(ChronoLocalDate) - Method in class org.threeten.bp.chrono.JapaneseDate
- until(ChronoLocalDate) - Method in class org.threeten.bp.chrono.MinguoDate
- until(ChronoLocalDate) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- until(ChronoLocalDate) - Method in class org.threeten.bp.LocalDate
-
Calculates the period between this date and another date as a
Period
. - until(Temporal, TemporalUnit) - Method in class org.threeten.bp.Instant
-
Calculates the period between this instant and another instant in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.LocalDate
-
Calculates the period between this date and another date in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.LocalDateTime
-
Calculates the period between this date-time and another date-time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.LocalTime
-
Calculates the period between this time and another time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.OffsetDateTime
-
Calculates the period between this date-time and another date-time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.OffsetTime
-
Calculates the period between this time and another time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in interface org.threeten.bp.temporal.Temporal
-
Calculates the period between this temporal and another temporal in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.Year
-
Calculates the period between this year and another year in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.YearMonth
-
Calculates the period between this year-month and another year-month in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class org.threeten.bp.ZonedDateTime
-
Calculates the period between this date-time and another date-time in terms of the specified unit.
- UTC - org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the UTC offset.
- UTC - Static variable in class org.threeten.bp.ZoneOffset
-
The time-zone offset for UTC, with an ID of 'Z'.
V
- valueOf(String) - Static method in enum org.threeten.bp.chrono.HijrahEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.chrono.IsoEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.threeten.bp.chrono.JapaneseEra
-
Returns the
JapaneseEra
with the name. - valueOf(String) - Static method in enum org.threeten.bp.chrono.MinguoEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.chrono.ThaiBuddhistEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.DayOfWeek
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.format.FormatStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.format.ResolverStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.format.SignStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.format.TextStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.Month
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.temporal.ChronoField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.temporal.ChronoUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
Returns the enum constant of this type with the specified name.
- ValueRange - Class in org.threeten.bp.temporal
-
The range of valid values for a date-time field.
- values() - Static method in enum org.threeten.bp.chrono.HijrahEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.chrono.IsoEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class org.threeten.bp.chrono.JapaneseEra
-
Returns an array of JapaneseEras.
- values() - Static method in enum org.threeten.bp.chrono.MinguoEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.chrono.ThaiBuddhistEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.DayOfWeek
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.format.FormatStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.format.ResolverStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.format.SignStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.format.TextStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.Month
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.temporal.ChronoField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.temporal.ChronoUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WALL - org.threeten.bp.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the wall offset.
- WEDNESDAY - org.threeten.bp.DayOfWeek
-
The singleton instance for the day-of-week of Wednesday.
- WEEK_BASED_YEAR - Static variable in class org.threeten.bp.temporal.IsoFields
-
The field that represents the week-based-year.
- WEEK_BASED_YEARS - Static variable in class org.threeten.bp.temporal.IsoFields
-
The unit that represents week-based-years for the purpose of addition and subtraction.
- WEEK_OF_WEEK_BASED_YEAR - Static variable in class org.threeten.bp.temporal.IsoFields
-
The field that represents the week-of-week-based-year.
- weekBasedYear() - Method in class org.threeten.bp.temporal.WeekFields
-
Returns a field to access the year of a week-based-year based on this
WeekFields
. - WeekFields - Class in org.threeten.bp.temporal
-
Localized definitions of the day-of-week, week-of-month and week-of-year fields.
- weekOfMonth() - Method in class org.threeten.bp.temporal.WeekFields
-
Returns a field to access the week of month based on this
WeekFields
. - weekOfWeekBasedYear() - Method in class org.threeten.bp.temporal.WeekFields
-
Returns a field to access the week of a week-based-year based on this
WeekFields
. - weekOfYear() - Method in class org.threeten.bp.temporal.WeekFields
-
Returns a field to access the week of year based on this
WeekFields
. - WEEKS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a week.
- with(Month) - Method in class org.threeten.bp.MonthDay
-
Returns a copy of this
MonthDay
with the month-of-year altered. - with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.HijrahDate
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.JapaneseDate
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.MinguoDate
- with(TemporalAdjuster) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- with(TemporalAdjuster) - Method in class org.threeten.bp.Instant
-
Returns an adjusted copy of this instant.
- with(TemporalAdjuster) - Method in class org.threeten.bp.jdk8.DefaultInterfaceTemporal
- with(TemporalAdjuster) - Method in class org.threeten.bp.LocalDate
-
Returns an adjusted copy of this date.
- with(TemporalAdjuster) - Method in class org.threeten.bp.LocalDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalAdjuster) - Method in class org.threeten.bp.LocalTime
-
Returns an adjusted copy of this time.
- with(TemporalAdjuster) - Method in class org.threeten.bp.OffsetDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalAdjuster) - Method in class org.threeten.bp.OffsetTime
-
Returns an adjusted copy of this time.
- with(TemporalAdjuster) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalAdjuster) - Method in class org.threeten.bp.Year
-
Returns an adjusted copy of this year.
- with(TemporalAdjuster) - Method in class org.threeten.bp.YearMonth
-
Returns an adjusted copy of this year-month.
- with(TemporalAdjuster) - Method in class org.threeten.bp.ZonedDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.ChronoLocalDate
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.ChronoLocalDateTime
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.HijrahDate
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.JapaneseDate
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.MinguoDate
- with(TemporalField, long) - Method in class org.threeten.bp.chrono.ThaiBuddhistDate
- with(TemporalField, long) - Method in class org.threeten.bp.Instant
-
Returns a copy of this instant with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this time with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this time with the specified field set to a new value.
- with(TemporalField, long) - Method in interface org.threeten.bp.temporal.Temporal
-
Returns an object of the same type as this object with the specified field altered.
- with(TemporalField, long) - Method in class org.threeten.bp.Year
-
Returns a copy of this year with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this year-month with the specified field set to a new value.
- with(TemporalField, long) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- withChronology(Chronology) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new override chronology.
- withDayOfMonth(int) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the day-of-month altered.
- withDayOfMonth(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the day-of-month altered. - withDayOfMonth(int) - Method in class org.threeten.bp.MonthDay
-
Returns a copy of this
MonthDay
with the day-of-month altered. - withDayOfMonth(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the day-of-month altered. - withDayOfMonth(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the day-of-month value altered. - withDayOfYear(int) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the day-of-year altered.
- withDayOfYear(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the day-of-year altered. - withDayOfYear(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the day-of-year altered. - withDayOfYear(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the day-of-year altered. - withDays(int) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified amount of days.
- withDecimalSeparator(char) - Method in class org.threeten.bp.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the decimal point.
- withDecimalStyle(DecimalStyle) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new decimal style.
- withEarlierOffsetAtOverlap() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Returns a copy of this date-time changing the zone offset to the earlier of the two valid offsets at a local time-line overlap.
- withEarlierOffsetAtOverlap() - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time changing the zone offset to the earlier of the two valid offsets at a local time-line overlap.
- withFixedOffsetZone() - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with the zone ID set to the offset.
- withHour(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the hour-of-day value altered. - withHour(int) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the hour-of-day value altered. - withHour(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the hour-of-day value altered. - withHour(int) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the hour-of-day value altered. - withHour(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the hour-of-day value altered. - withLaterOffsetAtOverlap() - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap.
- withLaterOffsetAtOverlap() - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time changing the zone offset to the later of the two valid offsets at a local time-line overlap.
- withLocale(Locale) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new locale.
- withMinute(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the minute-of-hour value altered. - withMinute(int) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the minute-of-hour value altered. - withMinute(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the minute-of-hour value altered. - withMinute(int) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the minute-of-hour value altered. - withMinute(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the minute-of-hour value altered. - withMonth(int) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the month-of-year altered.
- withMonth(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the month-of-year altered. - withMonth(int) - Method in class org.threeten.bp.MonthDay
-
Returns a copy of this
MonthDay
with the month-of-year altered. - withMonth(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the month-of-year altered. - withMonth(int) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this
YearMonth
with the month-of-year altered. - withMonth(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the month-of-year value altered. - withMonths(int) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified amount of months.
- withNano(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the nano-of-second value altered. - withNano(int) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the nano-of-second value altered. - withNano(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the nano-of-second value altered. - withNano(int) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the nano-of-second value altered. - withNano(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the nano-of-second value altered. - withNanos(int) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified nano-of-second.
- withNegativeSign(char) - Method in class org.threeten.bp.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the negative sign.
- withOffsetSameInstant(ZoneOffset) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified offset ensuring that the result is at the same instant. - withOffsetSameInstant(ZoneOffset) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified offset ensuring that the result is at the same instant on an implied day. - withOffsetSameLocal(ZoneOffset) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the specified offset ensuring that the result has the same local date-time. - withOffsetSameLocal(ZoneOffset) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the specified offset ensuring that the result has the same local time. - withPositiveSign(char) - Method in class org.threeten.bp.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the positive sign.
- withResolverFields(Set<TemporalField>) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new set of resolver fields.
- withResolverFields(TemporalField...) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new set of resolver fields.
- withResolverStyle(ResolverStyle) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new resolver style.
- withSecond(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the second-of-minute value altered. - withSecond(int) - Method in class org.threeten.bp.LocalTime
-
Returns a copy of this
LocalTime
with the second-of-minute value altered. - withSecond(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the second-of-minute value altered. - withSecond(int) - Method in class org.threeten.bp.OffsetTime
-
Returns a copy of this
OffsetTime
with the second-of-minute value altered. - withSecond(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the second-of-minute value altered. - withSeconds(long) - Method in class org.threeten.bp.Duration
-
Returns a copy of this duration with the specified amount of seconds.
- withYear(int) - Method in class org.threeten.bp.LocalDate
-
Returns a copy of this date with the year altered.
- withYear(int) - Method in class org.threeten.bp.LocalDateTime
-
Returns a copy of this
LocalDateTime
with the year altered. - withYear(int) - Method in class org.threeten.bp.OffsetDateTime
-
Returns a copy of this
OffsetDateTime
with the year altered. - withYear(int) - Method in class org.threeten.bp.YearMonth
-
Returns a copy of this
YearMonth
with the year altered. - withYear(int) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this
ZonedDateTime
with the year value altered. - withYears(int) - Method in class org.threeten.bp.Period
-
Returns a copy of this period with the specified amount of years.
- withZeroDigit(char) - Method in class org.threeten.bp.format.DecimalStyle
-
Returns a copy of the info with a new character that represents zero.
- withZone(ZoneId) - Method in class org.threeten.bp.Clock
-
Returns a copy of this clock with a different time-zone.
- withZone(ZoneId) - Method in class org.threeten.bp.format.DateTimeFormatter
-
Returns a copy of this formatter with a new override zone.
- withZoneSameInstant(ZoneId) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the instant.
- withZoneSameInstant(ZoneId) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the instant.
- withZoneSameLocal(ZoneId) - Method in class org.threeten.bp.chrono.ChronoZonedDateTime
-
Returns a copy of this ZonedDateTime with a different time-zone, retaining the local date-time if possible.
- withZoneSameLocal(ZoneId) - Method in class org.threeten.bp.ZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the local date-time if possible.
Y
- Year - Class in org.threeten.bp
-
A year in the ISO-8601 calendar system, such as
2007
. - YEAR - org.threeten.bp.temporal.ChronoField
-
The proleptic year, such as 2012.
- YEAR_OF_ERA - org.threeten.bp.temporal.ChronoField
-
The year within the era.
- YearMonth - Class in org.threeten.bp
-
A year-month in the ISO-8601 calendar system, such as
2007-12
. - YEARS - org.threeten.bp.temporal.ChronoUnit
-
Unit that represents the concept of a year.
Z
- ZERO - Static variable in class org.threeten.bp.Duration
-
Constant for a duration of zero.
- ZERO - Static variable in class org.threeten.bp.Period
-
A constant for a period of zero.
- zone() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A lenient query for the
ZoneId
, falling back to theZoneOffset
. - zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a zoned date-time in this chronology from an
Instant
. - zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.HijrahChronology
- zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO zoned date-time from an instant.
- zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.JapaneseChronology
- zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.MinguoChronology
- zonedDateTime(Instant, ZoneId) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.Chronology
-
Obtains a zoned date-time in this chronology from another temporal object.
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.HijrahChronology
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.IsoChronology
-
Obtains an ISO zoned date-time from another date-time object.
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.JapaneseChronology
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.MinguoChronology
- zonedDateTime(TemporalAccessor) - Method in class org.threeten.bp.chrono.ThaiBuddhistChronology
- ZonedDateTime - Class in org.threeten.bp
-
A date-time with a time-zone in the ISO-8601 calendar system, such as
2007-12-23T10:15:30+01:00 Europe/Paris
. - zoneId() - Static method in class org.threeten.bp.temporal.TemporalQueries
-
A strict query for the
ZoneId
. - ZoneId - Class in org.threeten.bp
-
A time-zone ID, such as
Europe/Paris
. - ZoneOffset - Class in org.threeten.bp
-
A time-zone offset from Greenwich/UTC, such as
+02:00
. - ZoneOffsetTransition - Class in org.threeten.bp.zone
-
A transition between two offsets caused by a discontinuity in the local time-line.
- ZoneOffsetTransitionRule - Class in org.threeten.bp.zone
-
A rule expressing how to create a transition.
- ZoneOffsetTransitionRule.TimeDefinition - Enum in org.threeten.bp.zone
-
A definition of the way a local time can be converted to the actual transition date-time.
- ZoneRules - Class in org.threeten.bp.zone
-
The rules defining how the zone offset varies for a single time-zone.
- ZoneRulesException - Exception in org.threeten.bp.zone
-
Thrown to indicate a problem with time-zone configuration.
- ZoneRulesException(String) - Constructor for exception org.threeten.bp.zone.ZoneRulesException
-
Constructs a new date-time exception with the specified message.
- ZoneRulesException(String, Throwable) - Constructor for exception org.threeten.bp.zone.ZoneRulesException
-
Constructs a new date-time exception with the specified message and cause.
- ZoneRulesInitializer - Class in org.threeten.bp.zone
-
Controls how the time-zone rules are initialized.
- ZoneRulesInitializer() - Constructor for class org.threeten.bp.zone.ZoneRulesInitializer
- ZoneRulesProvider - Class in org.threeten.bp.zone
-
Provider of time-zone rules to the system.
- ZoneRulesProvider() - Constructor for class org.threeten.bp.zone.ZoneRulesProvider
-
Constructor.
All Classes All Packages