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 java.time.Duration
-
Returns a copy of this duration with a positive length.
- AbstractChronology - Class in java.time.chrono
-
An abstract implementation of a calendar system, used to organize and identify dates.
- AbstractChronology() - Constructor for class java.time.chrono.AbstractChronology
-
Creates an instance.
- addTo(Temporal) - Method in interface java.time.chrono.ChronoPeriod
-
Adds this period to the specified temporal object.
- addTo(Temporal) - Method in class java.time.Duration
-
Adds this duration to the specified temporal object.
- addTo(Temporal) - Method in class java.time.Period
-
Adds this period to the specified temporal object.
- addTo(Temporal) - Method in interface java.time.temporal.TemporalAmount
-
Adds to the specified temporal object.
- addTo(R, long) - Method in enum java.time.temporal.ChronoUnit
- addTo(R, long) - Method in interface java.time.temporal.TemporalUnit
-
Returns a copy of the specified temporal object with the specified period added.
- adjustInto(Temporal) - Method in interface java.time.chrono.ChronoLocalDate
-
Adjusts the specified temporal object to have the same date as this object.
- adjustInto(Temporal) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Adjusts the specified temporal object to have the same date and time as this object.
- adjustInto(Temporal) - Method in interface java.time.chrono.Era
-
Adjusts the specified temporal object to have the same era as this object.
- adjustInto(Temporal) - Method in enum java.time.chrono.IsoEra
-
Adjusts the specified temporal object to have the same era as this object.
- adjustInto(Temporal) - Method in enum java.time.DayOfWeek
-
Adjusts the specified temporal object to have this day-of-week.
- adjustInto(Temporal) - Method in class java.time.Instant
-
Adjusts the specified temporal object to have this instant.
- adjustInto(Temporal) - Method in class java.time.LocalDate
-
Adjusts the specified temporal object to have the same date as this object.
- adjustInto(Temporal) - Method in class java.time.LocalDateTime
-
Adjusts the specified temporal object to have the same date and time as this object.
- adjustInto(Temporal) - Method in class java.time.LocalTime
-
Adjusts the specified temporal object to have the same time as this object.
- adjustInto(Temporal) - Method in enum java.time.Month
-
Adjusts the specified temporal object to have this month-of-year.
- adjustInto(Temporal) - Method in class java.time.MonthDay
-
Adjusts the specified temporal object to have this month-day.
- adjustInto(Temporal) - Method in class java.time.OffsetDateTime
-
Adjusts the specified temporal object to have the same offset, date and time as this object.
- adjustInto(Temporal) - Method in class java.time.OffsetTime
-
Adjusts the specified temporal object to have the same offset and time as this object.
- adjustInto(Temporal) - Method in interface java.time.temporal.TemporalAdjuster
-
Adjusts the specified temporal object.
- adjustInto(Temporal) - Method in class java.time.Year
-
Adjusts the specified temporal object to have this year.
- adjustInto(Temporal) - Method in class java.time.YearMonth
-
Adjusts the specified temporal object to have this year-month.
- adjustInto(Temporal) - Method in class java.time.ZoneOffset
-
Adjusts the specified temporal object to have the same offset as this object.
- adjustInto(R, long) - Method in enum java.time.temporal.ChronoField
- adjustInto(R, long) - Method in interface java.time.temporal.TemporalField
-
Returns a copy of the specified temporal object with the value of this field set.
- ALIGNED_DAY_OF_WEEK_IN_MONTH - java.time.temporal.ChronoField
-
The aligned day-of-week within a month.
- ALIGNED_DAY_OF_WEEK_IN_YEAR - java.time.temporal.ChronoField
-
The aligned day-of-week within a year.
- ALIGNED_WEEK_OF_MONTH - java.time.temporal.ChronoField
-
The aligned week within a month.
- ALIGNED_WEEK_OF_YEAR - java.time.temporal.ChronoField
-
The aligned week within a year.
- AMPM_OF_DAY - java.time.temporal.ChronoField
-
The am-pm-of-day.
- APRIL - java.time.Month
-
The singleton instance for the month of April with 30 days.
- atDate(LocalDate) - Method in class java.time.LocalTime
-
Combines this time with a date to create a
LocalDateTime. - atDate(LocalDate) - Method in class java.time.OffsetTime
-
Combines this time with a date to create an
OffsetDateTime. - atDay(int) - Method in class java.time.Year
-
Combines this year with a day-of-year to create a
LocalDate. - atDay(int) - Method in class java.time.YearMonth
-
Combines this year-month with a day-of-month to create a
LocalDate. - atEndOfMonth() - Method in class java.time.YearMonth
-
Returns a
LocalDateat the end of the month. - atMonth(int) - Method in class java.time.Year
-
Combines this year with a month to create a
YearMonth. - atMonth(Month) - Method in class java.time.Year
-
Combines this year with a month to create a
YearMonth. - atMonthDay(MonthDay) - Method in class java.time.Year
-
Combines this year with a month-day to create a
LocalDate. - atOffset(ZoneOffset) - Method in class java.time.Instant
-
Combines this instant with an offset to create an
OffsetDateTime. - atOffset(ZoneOffset) - Method in class java.time.LocalDateTime
-
Combines this date-time with an offset to create an
OffsetDateTime. - atOffset(ZoneOffset) - Method in class java.time.LocalTime
-
Combines this time with an offset to create an
OffsetTime. - atStartOfDay() - Method in class java.time.LocalDate
-
Combines this date with the time of midnight to create a
LocalDateTimeat the start of this date. - atStartOfDay(ZoneId) - Method in class java.time.LocalDate
-
Returns a zoned date-time from this date at the earliest valid time according to the rules in the time-zone.
- atTime(int, int) - Method in class java.time.LocalDate
-
Combines this date with a time to create a
LocalDateTime. - atTime(int, int, int) - Method in class java.time.LocalDate
-
Combines this date with a time to create a
LocalDateTime. - atTime(int, int, int, int) - Method in class java.time.LocalDate
-
Combines this date with a time to create a
LocalDateTime. - atTime(LocalTime) - Method in interface java.time.chrono.ChronoLocalDate
-
Combines this date with a time to create a
ChronoLocalDateTime. - atTime(LocalTime) - Method in class java.time.LocalDate
-
Combines this date with a time to create a
LocalDateTime. - atTime(OffsetTime) - Method in class java.time.LocalDate
-
Combines this date with an offset time to create an
OffsetDateTime. - atYear(int) - Method in class java.time.MonthDay
-
Combines this month-day with a year to create a
LocalDate. - atZone(ZoneId) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Combines this time with a time-zone to create a
ChronoZonedDateTime. - atZone(ZoneId) - Method in class java.time.Instant
-
Combines this instant with a time-zone to create a
ZonedDateTime. - atZone(ZoneId) - Method in class java.time.LocalDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTime. - atZoneSameInstant(ZoneId) - Method in class java.time.OffsetDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTimeensuring that the result has the same instant. - atZoneSimilarLocal(ZoneId) - Method in class java.time.OffsetDateTime
-
Combines this date-time with a time-zone to create a
ZonedDateTimetrying to keep the same local date and time. - AUGUST - java.time.Month
-
The singleton instance for the month of August with 31 days.
B
- BCE - java.time.chrono.IsoEra
-
The singleton instance for the era before the current one, 'Before Current Era', which has the numeric value 0.
- between(LocalDate, LocalDate) - Static method in class java.time.Period
-
Obtains a
Periodconsisting of the number of years, months, and days between two dates. - between(Temporal, Temporal) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting the duration between two temporal objects. - between(Temporal, Temporal) - Method in enum java.time.temporal.ChronoUnit
- between(Temporal, Temporal) - Method in interface java.time.temporal.TemporalUnit
-
Calculates the amount of time between two temporal objects.
C
- CE - java.time.chrono.IsoEra
-
The singleton instance for the current era, 'Current Era', which has the numeric value 1.
- CENTURIES - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a century.
- checkValidIntValue(long) - Method in enum java.time.temporal.ChronoField
-
Checks that the specified value is valid and fits in an
int. - checkValidIntValue(long, TemporalField) - Method in class java.time.temporal.ValueRange
-
Checks that the specified value is valid and fits in an
int. - checkValidValue(long) - Method in enum java.time.temporal.ChronoField
-
Checks that the specified value is valid for this field.
- checkValidValue(long, TemporalField) - Method in class java.time.temporal.ValueRange
-
Checks that the specified value is valid.
- ChronoField - Enum in java.time.temporal
-
A standard set of fields.
- ChronoLocalDate - Interface in java.time.chrono
-
A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- ChronoLocalDateTime<D extends ChronoLocalDate> - Interface in java.time.chrono
-
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- chronology() - Static method in class java.time.temporal.TemporalQueries
-
A query for the
Chronology. - Chronology - Interface in java.time.chrono
-
A calendar system, used to organize and identify dates.
- ChronoPeriod - Interface in java.time.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.
- ChronoUnit - Enum in java.time.temporal
-
A standard set of date periods units.
- ChronoZonedDateTime<D extends ChronoLocalDate> - Interface in java.time.chrono
-
A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.
- Clock - Class in java.time
-
A clock providing access to the current instant, date and time using a time-zone.
- Clock() - Constructor for class java.time.Clock
-
Constructor accessible by subclasses.
- CLOCK_HOUR_OF_AMPM - java.time.temporal.ChronoField
-
The clock-hour-of-am-pm.
- CLOCK_HOUR_OF_DAY - java.time.temporal.ChronoField
-
The clock-hour-of-day.
- compareTo(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Compares this date to another date, including the chronology.
- compareTo(ChronoLocalDate) - Method in class java.time.LocalDate
-
Compares this date to another date.
- compareTo(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Compares this date-time to another date-time.
- compareTo(Chronology) - Method in class java.time.chrono.AbstractChronology
-
Compares this chronology to another chronology.
- compareTo(Chronology) - Method in interface java.time.chrono.Chronology
-
Compares this chronology to another chronology.
- compareTo(ChronoZonedDateTime<?>) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Compares this date-time to another date-time, including the chronology.
- compareTo(ChronoZonedDateTime<?>) - Method in class java.time.ZonedDateTime
- compareTo(Duration) - Method in class java.time.Duration
-
Compares this duration to the specified
Duration. - compareTo(Instant) - Method in class java.time.Instant
-
Compares this instant to the specified instant.
- compareTo(LocalTime) - Method in class java.time.LocalTime
-
Compares this time to another time.
- compareTo(MonthDay) - Method in class java.time.MonthDay
-
Compares this month-day to another month-day.
- compareTo(OffsetDateTime) - Method in class java.time.OffsetDateTime
-
Compares this date-time to another date-time.
- compareTo(OffsetTime) - Method in class java.time.OffsetTime
-
Compares this
OffsetTimeto another time. - compareTo(Year) - Method in class java.time.Year
-
Compares this year to another year.
- compareTo(YearMonth) - Method in class java.time.YearMonth
-
Compares this year-month to another year-month.
- compareTo(ZoneOffsetTransition) - Method in class java.time.zone.ZoneOffsetTransition
-
Compares this transition to another based on the transition instant.
- compareTo(ZoneOffset) - Method in class java.time.ZoneOffset
-
Compares this offset to another offset in descending order.
- createDateTime(LocalDateTime, ZoneOffset, ZoneOffset) - Method in enum java.time.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 java.time.zone.ZoneOffsetTransitionRule
-
Creates a transition instance for the specified year.
D
- date(int, int, int) - Method in interface java.time.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 java.time.chrono.IsoChronology
-
Obtains an ISO local date from the proleptic-year, month-of-year and day-of-month fields.
- date(Era, int, int, int) - Method in interface java.time.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 java.time.chrono.IsoChronology
-
Obtains an ISO local date from the era, year-of-era, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in interface java.time.chrono.Chronology
-
Obtains a local date in this chronology from another temporal object.
- date(TemporalAccessor) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date from another date-time object.
- dateEpochDay(long) - Method in interface java.time.chrono.Chronology
-
Obtains a local date in this chronology from the epoch-day.
- dateEpochDay(long) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date from the epoch-day.
- dateNow() - Method in interface java.time.chrono.Chronology
-
Obtains the current local date in this chronology from the system clock in the default time-zone.
- dateNow() - Method in class java.time.chrono.IsoChronology
-
Obtains the current ISO local date from the system clock in the default time-zone.
- dateNow(Clock) - Method in interface java.time.chrono.Chronology
-
Obtains the current local date in this chronology from the specified clock.
- dateNow(Clock) - Method in class java.time.chrono.IsoChronology
-
Obtains the current ISO local date from the specified clock.
- dateNow(ZoneId) - Method in interface java.time.chrono.Chronology
-
Obtains the current local date in this chronology from the system clock in the specified time-zone.
- dateNow(ZoneId) - Method in class java.time.chrono.IsoChronology
-
Obtains the current ISO local date from the system clock in the specified time-zone.
- DateTimeException - Exception in java.time
-
Exception used to indicate a problem while calculating a date-time.
- DateTimeException(String) - Constructor for exception java.time.DateTimeException
-
Constructs a new date-time exception with the specified message.
- DateTimeException(String, Throwable) - Constructor for exception java.time.DateTimeException
-
Constructs a new date-time exception with the specified message and cause.
- dateYearDay(int, int) - Method in interface java.time.chrono.Chronology
-
Obtains a local date in this chronology from the proleptic-year and day-of-year fields.
- dateYearDay(int, int) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date from the proleptic-year and day-of-year fields.
- dateYearDay(Era, int, int) - Method in interface java.time.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 java.time.chrono.IsoChronology
-
Obtains an ISO local date from the era, year-of-era and day-of-year fields.
- DAY_OF_MONTH - java.time.temporal.ChronoField
-
The day-of-month.
- DAY_OF_QUARTER - Static variable in class java.time.temporal.IsoFields
-
The field that represents the day-of-quarter.
- DAY_OF_WEEK - java.time.temporal.ChronoField
-
The day-of-week, such as Tuesday.
- DAY_OF_YEAR - java.time.temporal.ChronoField
-
The day-of-year.
- dayOfWeek() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the day of week based on this
WeekFields. - DayOfWeek - Enum in java.time
-
A day-of-week, such as 'Tuesday'.
- dayOfWeekInMonth(int, DayOfWeek) - Static method in class java.time.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 - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a day.
- DECADES - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a decade.
- DECEMBER - java.time.Month
-
The singleton instance for the month of December with 31 days.
- dividedBy(long) - Method in class java.time.Duration
-
Returns a copy of this duration divided by the specified value.
- Duration - Class in java.time
-
A time-based amount of time, such as '34.5 seconds'.
E
- EPOCH - Static variable in class java.time.Instant
-
Constant for the 1970-01-01T00:00:00Z epoch instant.
- EPOCH_DAY - java.time.temporal.ChronoField
-
The epoch-day, based on the Java epoch of 1970-01-01 (ISO).
- equals(Object) - Method in class java.time.chrono.AbstractChronology
-
Checks if this chronology is equal to another chronology.
- equals(Object) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if this date is equal to another date, including the chronology.
- equals(Object) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is equal to another date-time, including the chronology.
- equals(Object) - Method in interface java.time.chrono.Chronology
-
Checks if this chronology is equal to another chronology.
- equals(Object) - Method in interface java.time.chrono.ChronoPeriod
-
Checks if this period is equal to another period, including the chronology.
- equals(Object) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class java.time.Clock
-
Checks if this clock is equal to another clock.
- equals(Object) - Method in class java.time.Duration
-
Checks if this duration is equal to the specified
Duration. - equals(Object) - Method in class java.time.Instant
-
Checks if this instant is equal to the specified instant.
- equals(Object) - Method in class java.time.LocalDate
-
Checks if this date is equal to another date.
- equals(Object) - Method in class java.time.LocalDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class java.time.LocalTime
-
Checks if this time is equal to another time.
- equals(Object) - Method in class java.time.MonthDay
-
Checks if this month-day is equal to another month-day.
- equals(Object) - Method in class java.time.OffsetDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class java.time.OffsetTime
-
Checks if this time is equal to another time.
- equals(Object) - Method in class java.time.Period
-
Checks if this period is equal to another period.
- equals(Object) - Method in class java.time.temporal.ValueRange
-
Checks if this range is equal to another range.
- equals(Object) - Method in class java.time.temporal.WeekFields
-
Checks if this
WeekFieldsis equal to the specified object. - equals(Object) - Method in class java.time.Year
-
Checks if this year is equal to another year.
- equals(Object) - Method in class java.time.YearMonth
-
Checks if this year-month is equal to another year-month.
- equals(Object) - Method in class java.time.zone.ZoneOffsetTransition
-
Checks if this object equals another.
- equals(Object) - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Checks if this object equals another.
- equals(Object) - Method in class java.time.zone.ZoneRules
-
Checks if this set of rules equals another.
- equals(Object) - Method in class java.time.ZonedDateTime
-
Checks if this date-time is equal to another date-time.
- equals(Object) - Method in class java.time.ZoneId
-
Checks if this time-zone ID is equal to another time-zone ID.
- equals(Object) - Method in class java.time.ZoneOffset
-
Checks if this offset is equal to another offset.
- Era - Interface in java.time.chrono
-
An era of the time-line.
- ERA - java.time.temporal.ChronoField
-
The era.
- eraOf(int) - Method in interface java.time.chrono.Chronology
-
Creates the chronology era object from the numeric value.
- eraOf(int) - Method in class java.time.chrono.IsoChronology
- eras() - Method in interface java.time.chrono.Chronology
-
Gets the list of eras for the chronology.
- eras() - Method in class java.time.chrono.IsoChronology
- ERAS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of an era.
F
- FEBRUARY - java.time.Month
-
The singleton instance for the month of February with 28 days, or 29 in a leap year.
- firstDayOfMonth() - Static method in class java.time.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 java.time.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 java.time.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 java.time.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 java.time.Month
-
Gets the day-of-year corresponding to the first day of this month.
- firstInMonth(DayOfWeek) - Static method in class java.time.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 java.time.Month
-
Gets the month corresponding to the first month of this quarter.
- fixed(Instant, ZoneId) - Static method in class java.time.Clock
-
Obtains a clock that always returns the same instant.
- FOREVER - java.time.temporal.ChronoUnit
-
Artificial unit that represents the concept of forever.
- FRIDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Friday.
- from(TemporalAccessor) - Static method in class java.time.chrono.AbstractChronology
-
Obtains an instance of
Chronologyfrom a temporal object. - from(TemporalAccessor) - Static method in enum java.time.DayOfWeek
-
Obtains an instance of
DayOfWeekfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.Instant
-
Obtains an instance of
Instantfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.LocalDate
-
Obtains an instance of
LocalDatefrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom a temporal object. - from(TemporalAccessor) - Static method in enum java.time.Month
-
Obtains an instance of
Monthfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.MonthDay
-
Obtains an instance of
MonthDayfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of
OffsetDateTimefrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.OffsetTime
-
Obtains an instance of
OffsetTimefrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.Year
-
Obtains an instance of
Yearfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.YearMonth
-
Obtains an instance of
YearMonthfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.ZoneId
-
Obtains an instance of
ZoneIdfrom a temporal object. - from(TemporalAccessor) - Static method in class java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetfrom a temporal object. - from(TemporalAmount) - Static method in class java.time.Duration
-
Obtains an instance of
Durationfrom a temporal amount. - from(TemporalAmount) - Static method in class java.time.Period
-
Obtains an instance of
Periodfrom a temporal amount.
G
- get(TemporalField) - Method in interface java.time.chrono.ChronoZonedDateTime
- get(TemporalField) - Method in interface java.time.chrono.Era
-
Gets the value of the specified field from this era as an
int. - get(TemporalField) - Method in enum java.time.chrono.IsoEra
-
Gets the value of the specified field from this era as an
int. - get(TemporalField) - Method in enum java.time.DayOfWeek
-
Gets the value of the specified field from this day-of-week as an
int. - get(TemporalField) - Method in class java.time.Instant
-
Gets the value of the specified field from this instant as an
int. - get(TemporalField) - Method in class java.time.LocalDate
-
Gets the value of the specified field from this date as an
int. - get(TemporalField) - Method in class java.time.LocalDateTime
-
Gets the value of the specified field from this date-time as an
int. - get(TemporalField) - Method in class java.time.LocalTime
-
Gets the value of the specified field from this time as an
int. - get(TemporalField) - Method in enum java.time.Month
-
Gets the value of the specified field from this month-of-year as an
int. - get(TemporalField) - Method in class java.time.MonthDay
-
Gets the value of the specified field from this month-day as an
int. - get(TemporalField) - Method in class java.time.OffsetDateTime
-
Gets the value of the specified field from this date-time as an
int. - get(TemporalField) - Method in class java.time.OffsetTime
-
Gets the value of the specified field from this time as an
int. - get(TemporalField) - Method in interface java.time.temporal.TemporalAccessor
-
Gets the value of the specified field as an
int. - get(TemporalField) - Method in class java.time.Year
-
Gets the value of the specified field from this year as an
int. - get(TemporalField) - Method in class java.time.YearMonth
-
Gets the value of the specified field from this year-month as an
int. - get(TemporalField) - Method in class java.time.ZonedDateTime
-
Gets the value of the specified field from this date-time as an
int. - get(TemporalField) - Method in class java.time.ZoneOffset
-
Gets the value of the specified field from this offset as an
int. - get(TemporalUnit) - Method in interface java.time.chrono.ChronoPeriod
-
Gets the value of the requested unit.
- get(TemporalUnit) - Method in class java.time.Duration
-
Gets the value of the requested unit.
- get(TemporalUnit) - Method in class java.time.Period
-
Gets the value of the requested unit.
- get(TemporalUnit) - Method in interface java.time.temporal.TemporalAmount
-
Returns the value of the requested unit.
- getAvailableChronologies() - Static method in class java.time.chrono.AbstractChronology
-
Returns the available chronologies.
- getAvailableZoneIds() - Static method in class java.time.zone.ZoneRulesProvider
-
Gets the set of available zone IDs.
- getAvailableZoneIds() - Static method in class java.time.ZoneId
-
Gets the set of available zone IDs.
- getBaseUnit() - Method in enum java.time.temporal.ChronoField
- getBaseUnit() - Method in interface java.time.temporal.TemporalField
-
Gets the unit that the field is measured in.
- getCalendarType() - Method in interface java.time.chrono.Chronology
-
Gets the calendar type of the calendar system.
- getCalendarType() - Method in class java.time.chrono.IsoChronology
-
Gets the calendar type of the underlying calendar system - 'iso8601'.
- getChronology() - Method in interface java.time.chrono.ChronoLocalDate
-
Gets the chronology of this date.
- getChronology() - Method in interface java.time.chrono.ChronoLocalDateTime
-
Gets the chronology of this date-time.
- getChronology() - Method in interface java.time.chrono.ChronoPeriod
-
Gets the chronology that defines the meaning of the supported units.
- getChronology() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the chronology of this date-time.
- getChronology() - Method in class java.time.LocalDate
-
Gets the chronology of this date, which is the ISO calendar system.
- getChronology() - Method in class java.time.LocalDateTime
- getChronology() - Method in class java.time.Period
-
Gets the chronology of this period, which is the ISO calendar system.
- getChronology() - Method in class java.time.ZonedDateTime
- getDateTimeAfter() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the local transition date-time, as would be expressed with the 'after' offset.
- getDateTimeBefore() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the local transition date-time, as would be expressed with the 'before' offset.
- getDaylightSavings(Instant) - Method in class java.time.zone.ZoneRules
-
Gets the amount of daylight savings in use for the specified instant in this zone.
- getDayOfMonth() - Method in class java.time.LocalDate
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class java.time.LocalDateTime
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class java.time.MonthDay
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class java.time.OffsetDateTime
-
Gets the day-of-month field.
- getDayOfMonth() - Method in class java.time.ZonedDateTime
-
Gets the day-of-month field.
- getDayOfMonthIndicator() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the indicator of the day-of-month of the transition.
- getDayOfWeek() - Method in class java.time.LocalDate
-
Gets the day-of-week field, which is an enum
DayOfWeek. - getDayOfWeek() - Method in class java.time.LocalDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek. - getDayOfWeek() - Method in class java.time.OffsetDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek. - getDayOfWeek() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the day-of-week of the transition.
- getDayOfWeek() - Method in class java.time.ZonedDateTime
-
Gets the day-of-week field, which is an enum
DayOfWeek. - getDayOfYear() - Method in class java.time.LocalDate
-
Gets the day-of-year field.
- getDayOfYear() - Method in class java.time.LocalDateTime
-
Gets the day-of-year field.
- getDayOfYear() - Method in class java.time.OffsetDateTime
-
Gets the day-of-year field.
- getDayOfYear() - Method in class java.time.ZonedDateTime
-
Gets the day-of-year field.
- getDays() - Method in class java.time.Period
-
Gets the amount of days of this period.
- getDuration() - Method in enum java.time.temporal.ChronoUnit
-
Gets the estimated duration of this unit in the ISO calendar system.
- getDuration() - Method in interface java.time.temporal.TemporalUnit
-
Gets the duration of this unit, which may be an estimate.
- getDuration() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the duration of the transition.
- getEpochSecond() - Method in class java.time.Instant
-
Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z.
- getEra() - Method in interface java.time.chrono.ChronoLocalDate
-
Gets the era, as defined by the chronology.
- getEra() - Method in class java.time.LocalDate
-
Gets the era applicable at this date.
- getFirstDayOfWeek() - Method in class java.time.temporal.WeekFields
-
Gets the first day-of-week.
- getFrom(TemporalAccessor) - Method in enum java.time.temporal.ChronoField
- getFrom(TemporalAccessor) - Method in interface java.time.temporal.TemporalField
-
Gets the value of this field from the specified temporal object.
- getHour() - Method in class java.time.LocalDateTime
-
Gets the hour-of-day field.
- getHour() - Method in class java.time.LocalTime
-
Gets the hour-of-day field.
- getHour() - Method in class java.time.OffsetDateTime
-
Gets the hour-of-day field.
- getHour() - Method in class java.time.OffsetTime
-
Gets the hour-of-day field.
- getHour() - Method in class java.time.ZonedDateTime
-
Gets the hour-of-day field.
- getId() - Method in interface java.time.chrono.Chronology
-
Gets the ID of the chronology.
- getId() - Method in class java.time.chrono.IsoChronology
-
Gets the ID of the chronology - 'ISO'.
- getId() - Method in class java.time.ZoneId
-
Gets the unique time-zone ID.
- getId() - Method in class java.time.ZoneOffset
-
Gets the normalized zone offset ID.
- getInstant() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the transition instant.
- getLargestMinimum() - Method in class java.time.temporal.ValueRange
-
Gets the largest possible minimum value that the field can take.
- getLocalTime() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the local time of day of the transition which must be checked with
ZoneOffsetTransitionRule.isMidnightEndOfDay(). - getLong(TemporalField) - Method in interface java.time.chrono.ChronoZonedDateTime
- getLong(TemporalField) - Method in interface java.time.chrono.Era
-
Gets the value of the specified field from this era as a
long. - getLong(TemporalField) - Method in enum java.time.chrono.IsoEra
-
Gets the value of the specified field from this era as a
long. - getLong(TemporalField) - Method in enum java.time.DayOfWeek
-
Gets the value of the specified field from this day-of-week as a
long. - getLong(TemporalField) - Method in class java.time.Instant
-
Gets the value of the specified field from this instant as a
long. - getLong(TemporalField) - Method in class java.time.LocalDate
-
Gets the value of the specified field from this date as a
long. - getLong(TemporalField) - Method in class java.time.LocalDateTime
-
Gets the value of the specified field from this date-time as a
long. - getLong(TemporalField) - Method in class java.time.LocalTime
-
Gets the value of the specified field from this time as a
long. - getLong(TemporalField) - Method in enum java.time.Month
-
Gets the value of the specified field from this month-of-year as a
long. - getLong(TemporalField) - Method in class java.time.MonthDay
-
Gets the value of the specified field from this month-day as a
long. - getLong(TemporalField) - Method in class java.time.OffsetDateTime
-
Gets the value of the specified field from this date-time as a
long. - getLong(TemporalField) - Method in class java.time.OffsetTime
-
Gets the value of the specified field from this time as a
long. - getLong(TemporalField) - Method in interface java.time.temporal.TemporalAccessor
-
Gets the value of the specified field as a
long. - getLong(TemporalField) - Method in class java.time.Year
-
Gets the value of the specified field from this year as a
long. - getLong(TemporalField) - Method in class java.time.YearMonth
-
Gets the value of the specified field from this year-month as a
long. - getLong(TemporalField) - Method in class java.time.ZonedDateTime
-
Gets the value of the specified field from this date-time as a
long. - getLong(TemporalField) - Method in class java.time.ZoneOffset
-
Gets the value of the specified field from this offset as a
long. - getMaximum() - Method in class java.time.temporal.ValueRange
-
Gets the maximum value that the field can take.
- getMinimalDaysInFirstWeek() - Method in class java.time.temporal.WeekFields
-
Gets the minimal number of days in the first week.
- getMinimum() - Method in class java.time.temporal.ValueRange
-
Gets the minimum value that the field can take.
- getMinute() - Method in class java.time.LocalDateTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class java.time.LocalTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class java.time.OffsetDateTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class java.time.OffsetTime
-
Gets the minute-of-hour field.
- getMinute() - Method in class java.time.ZonedDateTime
-
Gets the minute-of-hour field.
- getMonth() - Method in class java.time.LocalDate
-
Gets the month-of-year field using the
Monthenum. - getMonth() - Method in class java.time.LocalDateTime
-
Gets the month-of-year field using the
Monthenum. - getMonth() - Method in class java.time.MonthDay
-
Gets the month-of-year field using the
Monthenum. - getMonth() - Method in class java.time.OffsetDateTime
-
Gets the month-of-year field using the
Monthenum. - getMonth() - Method in class java.time.YearMonth
-
Gets the month-of-year field using the
Monthenum. - getMonth() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the month of the transition.
- getMonth() - Method in class java.time.ZonedDateTime
-
Gets the month-of-year field using the
Monthenum. - getMonths() - Method in class java.time.Period
-
Gets the amount of months of this period.
- getMonthValue() - Method in class java.time.LocalDate
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class java.time.LocalDateTime
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class java.time.MonthDay
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class java.time.OffsetDateTime
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class java.time.YearMonth
-
Gets the month-of-year field from 1 to 12.
- getMonthValue() - Method in class java.time.ZonedDateTime
-
Gets the month-of-year field from 1 to 12.
- getNano() - Method in class java.time.Duration
-
Gets the number of nanoseconds within the second in this duration.
- getNano() - Method in class java.time.Instant
-
Gets the number of nanoseconds, later along the time-line, from the start of the second.
- getNano() - Method in class java.time.LocalDateTime
-
Gets the nano-of-second field.
- getNano() - Method in class java.time.LocalTime
-
Gets the nano-of-second field.
- getNano() - Method in class java.time.OffsetDateTime
-
Gets the nano-of-second field.
- getNano() - Method in class java.time.OffsetTime
-
Gets the nano-of-second field.
- getNano() - Method in class java.time.ZonedDateTime
-
Gets the nano-of-second field.
- getOffset() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class java.time.OffsetDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class java.time.OffsetTime
-
Gets the zone offset, such as '+01:00'.
- getOffset() - Method in class java.time.ZonedDateTime
-
Gets the zone offset, such as '+01:00'.
- getOffset(Instant) - Method in class java.time.zone.ZoneRules
-
Gets the offset applicable at the specified instant in these rules.
- getOffset(LocalDateTime) - Method in class java.time.zone.ZoneRules
-
Gets a suitable offset for the specified local date-time in these rules.
- getOffsetAfter() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the offset after the transition.
- getOffsetAfter() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the offset after the transition.
- getOffsetBefore() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the offset before the transition.
- getOffsetBefore() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the offset before the transition.
- getRangeUnit() - Method in enum java.time.temporal.ChronoField
- getRangeUnit() - Method in interface java.time.temporal.TemporalField
-
Gets the range that the field is bound by.
- getRules() - Method in class java.time.ZoneId
-
Gets the time-zone rules for this ID allowing calculations to be performed.
- getRules() - Method in class java.time.ZoneOffset
-
Gets the associated time-zone rules.
- getRules(String, boolean) - Static method in class java.time.zone.ZoneRulesProvider
-
Gets the rules for the zone ID.
- getSecond() - Method in class java.time.LocalDateTime
-
Gets the second-of-minute field.
- getSecond() - Method in class java.time.LocalTime
-
Gets the second-of-minute field.
- getSecond() - Method in class java.time.OffsetDateTime
-
Gets the second-of-minute field.
- getSecond() - Method in class java.time.OffsetTime
-
Gets the second-of-minute field.
- getSecond() - Method in class java.time.ZonedDateTime
-
Gets the second-of-minute field.
- getSeconds() - Method in class java.time.Duration
-
Gets the number of seconds in this duration.
- getSmallestMaximum() - Method in class java.time.temporal.ValueRange
-
Gets the smallest possible maximum value that the field can take.
- getStandardOffset() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the standard offset in force at the transition.
- getStandardOffset(Instant) - Method in class java.time.zone.ZoneRules
-
Gets the standard offset for the specified instant in this zone.
- getTimeDefinition() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Gets the time definition, specifying how to convert the time to an instant.
- getTotalSeconds() - Method in class java.time.ZoneOffset
-
Gets the total zone offset in seconds.
- getTransition(LocalDateTime) - Method in class java.time.zone.ZoneRules
-
Gets the offset transition applicable at the specified local date-time in these rules.
- getTransitionRules() - Method in class java.time.zone.ZoneRules
-
Gets the list of transition rules for years beyond those defined in the transition list.
- getTransitions() - Method in class java.time.zone.ZoneRules
-
Gets the complete list of fully defined transitions.
- getUnits() - Method in interface java.time.chrono.ChronoPeriod
-
Gets the set of units supported by this period.
- getUnits() - Method in class java.time.Duration
-
Gets the set of units supported by this duration.
- getUnits() - Method in class java.time.Period
-
Gets the set of units supported by this period.
- getUnits() - Method in interface java.time.temporal.TemporalAmount
-
Returns the list of units uniquely defining the value of this TemporalAmount.
- getValidOffsets(LocalDateTime) - Method in class java.time.zone.ZoneRules
-
Gets the offset applicable at the specified local date-time in these rules.
- getValue() - Method in interface java.time.chrono.Era
-
Gets the numeric value associated with the era as defined by the chronology.
- getValue() - Method in enum java.time.chrono.IsoEra
-
Gets the numeric era
intvalue. - getValue() - Method in enum java.time.DayOfWeek
-
Gets the day-of-week
intvalue. - getValue() - Method in enum java.time.Month
-
Gets the month-of-year
intvalue. - getValue() - Method in class java.time.Year
-
Gets the year value.
- getVersions(String) - Static method in class java.time.zone.ZoneRulesProvider
-
Gets the history of rules for the zone ID.
- getYear() - Method in class java.time.LocalDate
-
Gets the year field.
- getYear() - Method in class java.time.LocalDateTime
-
Gets the year field.
- getYear() - Method in class java.time.OffsetDateTime
-
Gets the year field.
- getYear() - Method in class java.time.YearMonth
-
Gets the year field.
- getYear() - Method in class java.time.ZonedDateTime
-
Gets the year field.
- getYears() - Method in class java.time.Period
-
Gets the amount of years of this period.
- getZone() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the zone ID, such as 'Europe/Paris'.
- getZone() - Method in class java.time.Clock
-
Gets the time-zone being used to create dates and times.
- getZone() - Method in class java.time.ZonedDateTime
-
Gets the time-zone, such as 'Europe/Paris'.
H
- HALF_DAYS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of half a day, as used in AM/PM.
- hashCode() - Method in class java.time.chrono.AbstractChronology
-
A hash code for this chronology.
- hashCode() - Method in interface java.time.chrono.ChronoLocalDate
-
A hash code for this date.
- hashCode() - Method in interface java.time.chrono.ChronoLocalDateTime
-
A hash code for this date-time.
- hashCode() - Method in interface java.time.chrono.Chronology
-
A hash code for this chronology.
- hashCode() - Method in interface java.time.chrono.ChronoPeriod
-
A hash code for this period.
- hashCode() - Method in interface java.time.chrono.ChronoZonedDateTime
-
A hash code for this date-time.
- hashCode() - Method in class java.time.Clock
-
A hash code for this clock.
- hashCode() - Method in class java.time.Duration
-
A hash code for this duration.
- hashCode() - Method in class java.time.Instant
-
Returns a hash code for this instant.
- hashCode() - Method in class java.time.LocalDate
-
A hash code for this date.
- hashCode() - Method in class java.time.LocalDateTime
-
A hash code for this date-time.
- hashCode() - Method in class java.time.LocalTime
-
A hash code for this time.
- hashCode() - Method in class java.time.MonthDay
-
A hash code for this month-day.
- hashCode() - Method in class java.time.OffsetDateTime
-
A hash code for this date-time.
- hashCode() - Method in class java.time.OffsetTime
-
A hash code for this time.
- hashCode() - Method in class java.time.Period
-
A hash code for this period.
- hashCode() - Method in class java.time.temporal.ValueRange
-
A hash code for this range.
- hashCode() - Method in class java.time.temporal.WeekFields
-
A hash code for this
WeekFields. - hashCode() - Method in class java.time.Year
-
A hash code for this year.
- hashCode() - Method in class java.time.YearMonth
-
A hash code for this year-month.
- hashCode() - Method in class java.time.zone.ZoneOffsetTransition
-
Returns a suitable hash code.
- hashCode() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Returns a suitable hash code.
- hashCode() - Method in class java.time.zone.ZoneRules
-
Returns a suitable hash code given the definition of
#equals. - hashCode() - Method in class java.time.ZonedDateTime
-
A hash code for this date-time.
- hashCode() - Method in class java.time.ZoneId
-
A hash code for this time-zone ID.
- hashCode() - Method in class java.time.ZoneOffset
-
A hash code for this offset.
- HOUR_OF_AMPM - java.time.temporal.ChronoField
-
The hour-of-am-pm.
- HOUR_OF_DAY - java.time.temporal.ChronoField
-
The hour-of-day.
- HOURS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of an hour.
I
- INSTANCE - Static variable in class java.time.chrono.IsoChronology
-
Singleton instance of the ISO chronology.
- instant() - Method in class java.time.Clock
-
Gets the current instant of the clock.
- Instant - Class in java.time
-
An instantaneous point on the time-line.
- INSTANT_SECONDS - java.time.temporal.ChronoField
-
The instant epoch-seconds.
- isAfter(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if this date is after the specified date ignoring the chronology.
- isAfter(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is after the specified date.
- isAfter(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is after the specified date-time ignoring the chronology.
- isAfter(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is after the specified date-time.
- isAfter(ChronoZonedDateTime<?>) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is after that of the specified date-time.
- isAfter(ChronoZonedDateTime<?>) - Method in class java.time.ZonedDateTime
- isAfter(Instant) - Method in class java.time.Instant
-
Checks if this instant is after the specified instant.
- isAfter(LocalTime) - Method in class java.time.LocalTime
-
Checks if this time is after the specified time.
- isAfter(MonthDay) - Method in class java.time.MonthDay
-
Checks if this month-day is after the specified month-day.
- isAfter(OffsetDateTime) - Method in class java.time.OffsetDateTime
-
Checks if the instant of this date-time is after that of the specified date-time.
- isAfter(OffsetTime) - Method in class java.time.OffsetTime
-
Checks if the instant of this
OffsetTimeis after that of the specified time applying both times to a common date. - isAfter(Year) - Method in class java.time.Year
-
Checks if this year is after the specified year.
- isAfter(YearMonth) - Method in class java.time.YearMonth
-
Checks if this year-month is after the specified year-month.
- isBefore(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if this date is before the specified date ignoring the chronology.
- isBefore(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is before the specified date.
- isBefore(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is before the specified date-time ignoring the chronology.
- isBefore(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is before the specified date-time.
- isBefore(ChronoZonedDateTime<?>) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is before that of the specified date-time.
- isBefore(ChronoZonedDateTime<?>) - Method in class java.time.ZonedDateTime
- isBefore(Instant) - Method in class java.time.Instant
-
Checks if this instant is before the specified instant.
- isBefore(LocalTime) - Method in class java.time.LocalTime
-
Checks if this time is before the specified time.
- isBefore(MonthDay) - Method in class java.time.MonthDay
-
Checks if this month-day is before the specified month-day.
- isBefore(OffsetDateTime) - Method in class java.time.OffsetDateTime
-
Checks if the instant of this date-time is before that of the specified date-time.
- isBefore(OffsetTime) - Method in class java.time.OffsetTime
-
Checks if the instant of this
OffsetTimeis before that of the specified time applying both times to a common date. - isBefore(Year) - Method in class java.time.Year
-
Checks if this year is before the specified year.
- isBefore(YearMonth) - Method in class java.time.YearMonth
-
Checks if this year-month is before the specified year-month.
- isDateBased() - Method in enum java.time.temporal.ChronoField
-
Checks if this field represents a component of a date.
- isDateBased() - Method in enum java.time.temporal.ChronoUnit
-
Checks if this unit is a date unit.
- isDateBased() - Method in interface java.time.temporal.TemporalField
-
Checks if this field represents a component of a date.
- isDateBased() - Method in interface java.time.temporal.TemporalUnit
-
Checks if this unit represents a component of a date.
- isDaylightSavings(Instant) - Method in class java.time.zone.ZoneRules
-
Checks if the specified instant is in daylight savings.
- isDurationEstimated() - Method in enum java.time.temporal.ChronoUnit
-
Checks if the duration of the unit is an estimate.
- isDurationEstimated() - Method in interface java.time.temporal.TemporalUnit
-
Checks if the duration of the unit is an estimate.
- isEqual(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if this date is equal to the specified date ignoring the chronology.
- isEqual(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is equal to the specified date.
- isEqual(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is equal to the specified date-time ignoring the chronology.
- isEqual(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is equal to the specified date-time.
- isEqual(ChronoZonedDateTime<?>) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the instant of this date-time is equal to that of the specified date-time.
- isEqual(ChronoZonedDateTime<?>) - Method in class java.time.ZonedDateTime
- isEqual(OffsetDateTime) - Method in class java.time.OffsetDateTime
-
Checks if the instant of this date-time is equal to that of the specified date-time.
- isEqual(OffsetTime) - Method in class java.time.OffsetTime
-
Checks if the instant of this
OffsetTimeis equal to that of the specified time applying both times to a common date. - isFixed() - Method in class java.time.temporal.ValueRange
-
Is the value range fixed and fully known.
- isFixedOffset() - Method in class java.time.zone.ZoneRules
-
Checks of the zone rules are fixed, such that the offset never varies.
- isGap() - Method in class java.time.zone.ZoneOffsetTransition
-
Does this transition represent a gap in the local time-line.
- isIntValue() - Method in class java.time.temporal.ValueRange
-
Checks if all values in the range fit in an
int. - isLeap() - Method in class java.time.Year
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeap(long) - Static method in class java.time.Year
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear() - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if the year is a leap year, as defined by the calendar system.
- isLeapYear() - Method in class java.time.LocalDate
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear() - Method in class java.time.YearMonth
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isLeapYear(long) - Method in interface java.time.chrono.Chronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class java.time.chrono.IsoChronology
-
Checks if the year is a leap year, according to the ISO proleptic calendar system rules.
- isMidnightEndOfDay() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Is the transition local time midnight at the end of day.
- isNegative() - Method in interface java.time.chrono.ChronoPeriod
-
Checks if any of the supported units of this period are negative.
- isNegative() - Method in class java.time.Duration
-
Checks if this duration is negative, excluding zero.
- isNegative() - Method in class java.time.Period
-
Checks if any of the three units of this period are negative.
- ISO - Static variable in class java.time.temporal.WeekFields
-
The ISO-8601 definition, where a week starts on Monday and the first week has a minimum of 4 days.
- IsoChronology - Class in java.time.chrono
-
The ISO calendar system.
- IsoEra - Enum in java.time.chrono
-
An era in the ISO calendar system.
- IsoFields - Class in java.time.temporal
-
Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year.
- isOverlap() - Method in class java.time.zone.ZoneOffsetTransition
-
Does this transition represent an overlap in the local time-line.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.Era
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in enum java.time.chrono.IsoEra
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in enum java.time.DayOfWeek
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.Instant
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.LocalDate
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.LocalDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.LocalTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in enum java.time.Month
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.MonthDay
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.OffsetDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.OffsetTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in interface java.time.temporal.TemporalAccessor
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.Year
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.YearMonth
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.ZonedDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.ZoneOffset
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.Instant
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalDate
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.OffsetDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.OffsetTime
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in interface java.time.temporal.Temporal
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.Year
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.YearMonth
-
Checks if the specified unit is supported.
- isSupported(TemporalUnit) - Method in class java.time.ZonedDateTime
-
Checks if the specified unit is supported.
- isSupportedBy(Temporal) - Method in enum java.time.temporal.ChronoUnit
- isSupportedBy(Temporal) - Method in interface java.time.temporal.TemporalUnit
-
Checks if this unit is supported by the specified temporal object.
- isSupportedBy(TemporalAccessor) - Method in enum java.time.temporal.ChronoField
- isSupportedBy(TemporalAccessor) - Method in interface java.time.temporal.TemporalField
-
Checks if this field is supported by the temporal object.
- isTimeBased() - Method in enum java.time.temporal.ChronoField
-
Checks if this field represents a component of a time.
- isTimeBased() - Method in enum java.time.temporal.ChronoUnit
-
Checks if this unit is a time unit.
- isTimeBased() - Method in interface java.time.temporal.TemporalField
-
Checks if this field represents a component of a time.
- isTimeBased() - Method in interface java.time.temporal.TemporalUnit
-
Checks if this unit represents a component of a time.
- isValidDay(int) - Method in class java.time.YearMonth
-
Checks if the day-of-month is valid for this year-month.
- isValidIntValue(long) - Method in class java.time.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 java.time.Year
-
Checks if the month-day is valid for this year.
- isValidOffset(LocalDateTime, ZoneOffset) - Method in class java.time.zone.ZoneRules
-
Checks if the offset date-time is valid for these rules.
- isValidOffset(ZoneOffset) - Method in class java.time.zone.ZoneOffsetTransition
-
Checks if the specified offset is valid during this transition.
- isValidValue(long) - Method in class java.time.temporal.ValueRange
-
Checks if the value is within the valid range.
- isValidYear(int) - Method in class java.time.MonthDay
-
Checks if the year is valid for this month-day.
- isZero() - Method in interface java.time.chrono.ChronoPeriod
-
Checks if all the supported units of this period are zero.
- isZero() - Method in class java.time.Duration
-
Checks if this duration is zero length.
- isZero() - Method in class java.time.Period
-
Checks if all three units of this period are zero.
J
- JANUARY - java.time.Month
-
The singleton instance for the month of January with 31 days.
- java.time - package java.time
-
The main API for dates, times, instants, and durations.
- java.time.chrono - package java.time.chrono
-
Generic API for calendar systems other than the default ISO.
- java.time.format - package java.time.format
-
Provides classes to print and parse dates and times.
- java.time.temporal - package java.time.temporal
-
Access to date and time using fields and units, and date time adjusters.
- java.time.zone - package java.time.zone
-
Support for time-zones and their rules.
- JULIAN_DAY - Static variable in class java.time.temporal.JulianFields
-
Julian Day field.
- JulianFields - Class in java.time.temporal
-
A set of date fields that provide access to Julian Days.
- JULY - java.time.Month
-
The singleton instance for the month of July with 31 days.
- JUNE - java.time.Month
-
The singleton instance for the month of June with 30 days.
L
- lastDayOfMonth() - Static method in class java.time.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 java.time.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 java.time.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 java.time.Year
-
Gets the length of this year in days.
- length(boolean) - Method in enum java.time.Month
-
Gets the length of this month in days.
- lengthOfMonth() - Method in interface java.time.chrono.ChronoLocalDate
-
Returns the length of the month represented by this date, as defined by the calendar system.
- lengthOfMonth() - Method in class java.time.LocalDate
-
Returns the length of the month represented by this date.
- lengthOfMonth() - Method in class java.time.YearMonth
-
Returns the length of the month, taking account of the year.
- lengthOfYear() - Method in interface java.time.chrono.ChronoLocalDate
-
Returns the length of the year represented by this date, as defined by the calendar system.
- lengthOfYear() - Method in class java.time.LocalDate
-
Returns the length of the year represented by this date.
- lengthOfYear() - Method in class java.time.YearMonth
-
Returns the length of the year.
- LENIENT - java.time.format.ResolverStyle
-
Style to resolve dates and times leniently.
- localDate() - Static method in class java.time.temporal.TemporalQueries
-
A query for
LocalDatereturning null if not found. - LocalDate - Class in java.time
-
A date without a time-zone in the ISO-8601 calendar system, such as
2007-12-03. - localDateTime(TemporalAccessor) - Method in interface java.time.chrono.Chronology
-
Obtains a local date-time in this chronology from another temporal object.
- localDateTime(TemporalAccessor) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date-time from another date-time object.
- LocalDateTime - Class in java.time
-
A date-time without a time-zone in the ISO-8601 calendar system, such as
2007-12-03T10:15:30. - localTime() - Static method in class java.time.temporal.TemporalQueries
-
A query for
LocalTimereturning null if not found. - LocalTime - Class in java.time
-
A time without a time-zone in the ISO-8601 calendar system, such as
10:15:30.
M
- MARCH - java.time.Month
-
The singleton instance for the month of March with 31 days.
- MAX - Static variable in class java.time.Instant
-
The maximum supported
Instant, '1000000000-12-31T23:59:59.999999999Z'. - MAX - Static variable in class java.time.LocalDate
-
The maximum supported
LocalDate, '+999999999-12-31'. - MAX - Static variable in class java.time.LocalDateTime
-
The maximum supported
LocalDateTime, '+999999999-12-31T23:59:59.999999999'. - MAX - Static variable in class java.time.LocalTime
-
The maximum supported
LocalTime, '23:59:59.999999999'. - MAX - Static variable in class java.time.OffsetDateTime
-
The maximum supported
OffsetDateTime, '+999999999-12-31T23:59:59.999999999-18:00'. - MAX - Static variable in class java.time.OffsetTime
-
The maximum supported
OffsetTime, '23:59:59.999999999-18:00'. - MAX - Static variable in class java.time.ZoneOffset
-
Constant for the maximum supported offset.
- MAX_VALUE - Static variable in class java.time.Year
-
The maximum supported year, '+999,999,999'.
- maxLength() - Method in enum java.time.Month
-
Gets the maximum length of this month in days.
- MAY - java.time.Month
-
The singleton instance for the month of May with 31 days.
- MICRO_OF_DAY - java.time.temporal.ChronoField
-
The micro-of-day.
- MICRO_OF_SECOND - java.time.temporal.ChronoField
-
The micro-of-second.
- MICROS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a microsecond.
- MIDNIGHT - Static variable in class java.time.LocalTime
-
The time of midnight at the start of the day, '00:00'.
- MILLENNIA - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a millennium.
- MILLI_OF_DAY - java.time.temporal.ChronoField
-
The milli-of-day.
- MILLI_OF_SECOND - java.time.temporal.ChronoField
-
The milli-of-second.
- millis() - Method in class java.time.Clock
-
Gets the current millisecond instant of the clock.
- MILLIS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a millisecond.
- MIN - Static variable in class java.time.Instant
-
The minimum supported
Instant, '-1000000000-01-01T00:00Z'. - MIN - Static variable in class java.time.LocalDate
-
The minimum supported
LocalDate, '-999999999-01-01'. - MIN - Static variable in class java.time.LocalDateTime
-
The minimum supported
LocalDateTime, '-999999999-01-01T00:00:00'. - MIN - Static variable in class java.time.LocalTime
-
The minimum supported
LocalTime, '00:00'. - MIN - Static variable in class java.time.OffsetDateTime
-
The minimum supported
OffsetDateTime, '-999999999-01-01T00:00:00+18:00'. - MIN - Static variable in class java.time.OffsetTime
-
The minimum supported
OffsetTime, '00:00:00+18:00'. - MIN - Static variable in class java.time.ZoneOffset
-
Constant for the maximum supported offset.
- MIN_VALUE - Static variable in class java.time.Year
-
The minimum supported year, '-999,999,999'.
- minLength() - Method in enum java.time.Month
-
Gets the minimum length of this month in days.
- minus(long) - Method in enum java.time.DayOfWeek
-
Returns the day-of-week that is the specified number of days before this one.
- minus(long) - Method in enum java.time.Month
-
Returns the month-of-year that is the specified number of months before this one.
- minus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration subtracted.
- minus(long, TemporalUnit) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.LocalDate
-
Returns a copy of this date with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.LocalDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.OffsetDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.OffsetTime
-
Returns a copy of this time with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in interface java.time.temporal.Temporal
-
Returns an object of the same type as this object with the specified period subtracted.
- minus(long, TemporalUnit) - Method in class java.time.Year
-
Returns a copy of this year with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minus(Duration) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration subtracted.
- minus(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in interface java.time.chrono.ChronoPeriod
-
Returns a copy of this period with the specified period subtracted.
- minus(TemporalAmount) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.LocalDate
-
Returns a copy of this date with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.LocalDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.OffsetDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.OffsetTime
-
Returns a copy of this time with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.Period
-
Returns a copy of this period with the specified period subtracted.
- minus(TemporalAmount) - Method in interface java.time.temporal.Temporal
-
Returns an object of the same type as this object with an amount subtracted.
- minus(TemporalAmount) - Method in class java.time.Year
-
Returns a copy of this year with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified amount subtracted.
- minus(TemporalAmount) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with the specified amount subtracted.
- minusDays(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in standard 24 hour days subtracted.
- minusDays(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of days subtracted. - minusDays(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of days subtracted. - minusDays(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of days subtracted. - minusDays(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified days subtracted.
- minusDays(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of days subtracted. - minusHours(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in hours subtracted.
- minusHours(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of hours subtracted. - minusHours(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of hours subtracted. - minusHours(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of hours subtracted. - minusHours(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of hours subtracted. - minusHours(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of hours subtracted. - minusMillis(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in milliseconds subtracted.
- minusMillis(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in milliseconds subtracted.
- minusMinutes(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in minutes subtracted.
- minusMinutes(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of minutes subtracted. - minusMinutes(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of minutes subtracted. - minusMinutes(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of minutes subtracted. - minusMinutes(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of minutes subtracted. - minusMinutes(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of minutes subtracted. - minusMonths(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of months subtracted. - minusMonths(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of months subtracted. - minusMonths(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of months subtracted. - minusMonths(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified months subtracted.
- minusMonths(long) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the specified number of months subtracted. - minusMonths(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of months subtracted. - minusNanos(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of nanoseconds subtracted. - minusNanos(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of nanoseconds subtracted. - minusNanos(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of nanoseconds subtracted. - minusNanos(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of nanoseconds subtracted. - minusNanos(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of nanoseconds subtracted. - minusSeconds(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in seconds subtracted.
- minusSeconds(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in seconds subtracted.
- minusSeconds(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of seconds subtracted. - minusSeconds(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of seconds subtracted. - minusSeconds(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of seconds subtracted. - minusSeconds(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of seconds subtracted. - minusSeconds(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of seconds subtracted. - minusWeeks(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of weeks subtracted. - minusWeeks(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of weeks subtracted. - minusWeeks(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of weeks subtracted. - minusWeeks(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of weeks subtracted. - minusYears(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of years subtracted. - minusYears(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of years subtracted. - minusYears(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of years subtracted. - minusYears(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified years subtracted.
- minusYears(long) - Method in class java.time.Year
-
Returns a copy of this
Yearwith the specified number of years subtracted. - minusYears(long) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the specified number of years subtracted. - minusYears(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of years subtracted. - MINUTE_OF_DAY - java.time.temporal.ChronoField
-
The minute-of-day.
- MINUTE_OF_HOUR - java.time.temporal.ChronoField
-
The minute-of-hour.
- MINUTES - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a minute.
- MODIFIED_JULIAN_DAY - Static variable in class java.time.temporal.JulianFields
-
Modified Julian Day field.
- MONDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Monday.
- Month - Enum in java.time
-
A month-of-year, such as 'July'.
- MONTH_OF_YEAR - java.time.temporal.ChronoField
-
The month-of-year, such as March.
- MonthDay - Class in java.time
-
A month-day in the ISO-8601 calendar system, such as
--12-03. - MONTHS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a month.
- multipliedBy(int) - Method in interface java.time.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 java.time.Period
-
Returns a new instance with each element in this period multiplied by the specified scalar.
- multipliedBy(long) - Method in class java.time.Duration
-
Returns a copy of this duration multiplied by the scalar.
N
- NANO_OF_DAY - java.time.temporal.ChronoField
-
The nano-of-day.
- NANO_OF_SECOND - java.time.temporal.ChronoField
-
The nano-of-second.
- NANOS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a nanosecond, the smallest supported unit of time.
- negated() - Method in interface java.time.chrono.ChronoPeriod
-
Returns a new instance with each amount in this period negated.
- negated() - Method in class java.time.Duration
-
Returns a copy of this duration with the length negated.
- negated() - Method in class java.time.Period
-
Returns a new instance with each amount in this period negated.
- next(DayOfWeek) - Static method in class java.time.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 java.time.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 java.time.zone.ZoneRules
-
Gets the next transition after the specified instant.
- NOON - Static variable in class java.time.LocalTime
-
The time of noon in the middle of the day, '12:00'.
- normalized() - Method in interface java.time.chrono.ChronoPeriod
-
Returns a copy of this period with the amounts of each unit normalized.
- normalized() - Method in class java.time.Period
-
Returns a copy of this period with the years and months normalized.
- normalized() - Method in class java.time.ZoneId
-
Normalizes the time-zone ID, returning a
ZoneOffsetwhere possible. - NOVEMBER - java.time.Month
-
The singleton instance for the month of November with 30 days.
- now() - Static method in class java.time.Instant
-
Obtains the current instant from the system clock.
- now() - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the default time-zone.
- now() - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class java.time.LocalTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class java.time.MonthDay
-
Obtains the current month-day from the system clock in the default time-zone.
- now() - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now() - Static method in class java.time.OffsetTime
-
Obtains the current time from the system clock in the default time-zone.
- now() - Static method in class java.time.Year
-
Obtains the current year from the system clock in the default time-zone.
- now() - Static method in class java.time.YearMonth
-
Obtains the current year-month from the system clock in the default time-zone.
- now() - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the system clock in the default time-zone.
- now(Clock) - Static method in class java.time.Instant
-
Obtains the current instant from the specified clock.
- now(Clock) - Static method in class java.time.LocalDate
-
Obtains the current date from the specified clock.
- now(Clock) - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class java.time.LocalTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class java.time.MonthDay
-
Obtains the current month-day from the specified clock.
- now(Clock) - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the specified clock.
- now(Clock) - Static method in class java.time.OffsetTime
-
Obtains the current time from the specified clock.
- now(Clock) - Static method in class java.time.Year
-
Obtains the current year from the specified clock.
- now(Clock) - Static method in class java.time.YearMonth
-
Obtains the current year-month from the specified clock.
- now(Clock) - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the specified clock.
- now(ZoneId) - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.LocalTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.MonthDay
-
Obtains the current month-day from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.OffsetTime
-
Obtains the current time from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.Year
-
Obtains the current year from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.YearMonth
-
Obtains the current year-month from the system clock in the specified time-zone.
- now(ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the system clock in the specified time-zone.
O
- OCTOBER - java.time.Month
-
The singleton instance for the month of October with 31 days.
- of(int) - Static method in enum java.time.chrono.IsoEra
-
Obtains an instance of
IsoErafrom anintvalue. - of(int) - Static method in enum java.time.DayOfWeek
-
Obtains an instance of
DayOfWeekfrom anintvalue. - of(int) - Static method in enum java.time.Month
-
Obtains an instance of
Monthfrom anintvalue. - of(int) - Static method in class java.time.Year
-
Obtains an instance of
Year. - of(int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom an hour and minute. - of(int, int) - Static method in class java.time.MonthDay
-
Obtains an instance of
MonthDay. - of(int, int) - Static method in class java.time.YearMonth
-
Obtains an instance of
YearMonthfrom a year and month. - of(int, int, int) - Static method in class java.time.LocalDate
-
Obtains an instance of
LocalDatefrom a year, month and day. - of(int, int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom an hour, minute and second. - of(int, int, int) - Static method in class java.time.Period
-
Obtains a
Periodrepresenting a number of years, months and days. - of(int, int, int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom an hour, minute, second and nanosecond. - of(int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour and minute, setting the second and nanosecond to zero. - of(int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour, minute and second, setting the nanosecond to zero. - of(int, int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour, minute, second and nanosecond. - of(int, int, int, int, int, int, int, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom a year, month, day, hour, minute, second, nanosecond and time-zone. - of(int, int, int, int, int, int, int, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of
OffsetDateTimefrom a year, month, day, hour, minute, second, nanosecond and offset. - of(int, int, int, int, ZoneOffset) - Static method in class java.time.OffsetTime
-
Obtains an instance of
OffsetTimefrom an hour, minute, second and nanosecond. - of(int, Month) - Static method in class java.time.YearMonth
-
Obtains an instance of
YearMonthfrom a year and month. - of(int, Month, int) - Static method in class java.time.LocalDate
-
Obtains an instance of
LocalDatefrom a year, month and day. - of(int, Month, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour and minute, setting the second and nanosecond to zero. - of(int, Month, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour, minute and second, setting the nanosecond to zero. - of(int, Month, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom year, month, day, hour, minute, second and nanosecond. - of(long, long) - Static method in class java.time.temporal.ValueRange
-
Obtains a fixed value range.
- of(long, long, long) - Static method in class java.time.temporal.ValueRange
-
Obtains a variable value range.
- of(long, long, long, long) - Static method in class java.time.temporal.ValueRange
-
Obtains a fully variable value range.
- of(long, TemporalUnit) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting an amount in the specified unit. - of(String) - Static method in class java.time.chrono.AbstractChronology
-
Obtains an instance of
Chronologyfrom a chronology ID or calendar system type. - of(String) - Static method in class java.time.ZoneId
-
Obtains an instance of
ZoneIdfrom an ID ensuring that the ID is valid and available for use. - of(String) - Static method in class java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetusing the ID. - of(String, Map<String, String>) - Static method in class java.time.ZoneId
-
Obtains an instance of
ZoneIdusing its ID using a map of aliases to supplement the standard zone IDs. - of(DayOfWeek, int) - Static method in class java.time.temporal.WeekFields
-
Obtains an instance of
WeekFieldsfrom the first day-of-week and minimal days. - of(LocalDate, LocalTime) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom a date and time. - of(LocalDate, LocalTime, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom a local date and time. - of(LocalDate, LocalTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of
OffsetDateTimefrom a date, time and offset. - of(LocalDateTime, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom a local date-time. - of(LocalDateTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of
OffsetDateTimefrom a date-time and offset. - of(LocalDateTime, ZoneOffset, ZoneOffset) - Static method in class java.time.zone.ZoneOffsetTransition
-
Obtains an instance defining a transition between two offsets.
- of(LocalTime, ZoneOffset) - Static method in class java.time.OffsetTime
-
Obtains an instance of
OffsetTimefrom a local time and an offset. - of(Month, int) - Static method in class java.time.MonthDay
-
Obtains an instance of
MonthDay. - of(Month, int, DayOfWeek, LocalTime, boolean, ZoneOffsetTransitionRule.TimeDefinition, ZoneOffset, ZoneOffset, ZoneOffset) - Static method in class java.time.zone.ZoneOffsetTransitionRule
-
Obtains an instance defining the yearly rule to create transitions between two offsets.
- of(ZoneOffset) - Static method in class java.time.zone.ZoneRules
-
Obtains an instance of ZoneRules that has fixed zone rules.
- of(ZoneOffset, ZoneOffset, List<ZoneOffsetTransition>, List<ZoneOffsetTransition>, List<ZoneOffsetTransitionRule>) - Static method in class java.time.zone.ZoneRules
-
Obtains an instance of a ZoneRules.
- ofDays(int) - Static method in class java.time.Period
-
Obtains a
Periodrepresenting a number of days. - ofDays(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of standard 24 hour days. - ofEpochDay(long) - Static method in class java.time.LocalDate
-
Obtains an instance of
LocalDatefrom the epoch day count. - ofEpochMilli(long) - Static method in class java.time.Instant
-
Obtains an instance of
Instantusing milliseconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long) - Static method in class java.time.Instant
-
Obtains an instance of
Instantusing seconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long, int, ZoneOffset) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimeusing seconds from the epoch of 1970-01-01T00:00:00Z. - ofEpochSecond(long, long) - Static method in class java.time.Instant
-
Obtains an instance of
Instantusing seconds from the epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second. - offset() - Static method in class java.time.temporal.TemporalQueries
-
A query for
ZoneOffsetreturning null if not found. - offset(Clock, Duration) - Static method in class java.time.Clock
-
Obtains a clock that returns instants from the specified clock with the specified duration added
- OFFSET_SECONDS - java.time.temporal.ChronoField
-
The offset from UTC/Greenwich.
- OffsetDateTime - Class in java.time
-
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as
2007-12-03T10:15:30+01:00. - OffsetTime - Class in java.time
-
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 java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetusing an offset in hours. - ofHours(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of standard hours. - ofHoursMinutes(int, int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetusing an offset in hours and minutes. - ofHoursMinutesSeconds(int, int, int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetusing an offset in hours, minutes and seconds. - ofInstant(Instant, ZoneId) - Static method in class java.time.LocalDateTime
-
Obtains an instance of
LocalDateTimefrom anInstantand zone ID. - ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of
OffsetDateTimefrom anInstantand zone ID. - ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetTime
-
Obtains an instance of
OffsetTimefrom anInstantand zone ID. - ofInstant(Instant, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom anInstant. - ofInstant(LocalDateTime, ZoneOffset, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom the instant formed by combining the local date-time and offset. - ofLenient(LocalDateTime, ZoneOffset, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimeleniently, for advanced use cases, allowing any combination of local date-time, offset and zone ID. - ofLocal(LocalDateTime, ZoneId, ZoneOffset) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimefrom a local date-time using the preferred offset if possible. - ofMillis(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of milliseconds. - ofMinutes(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of standard minutes. - ofMonths(int) - Static method in class java.time.Period
-
Obtains a
Periodrepresenting a number of months. - ofNanoOfDay(long) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom a nanos-of-day value. - ofNanos(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of nanoseconds. - ofOffset(String, ZoneOffset) - Static method in class java.time.ZoneId
-
Obtains an instance of
ZoneIdwrapping an offset. - ofSecondOfDay(long) - Static method in class java.time.LocalTime
-
Obtains an instance of
LocalTimefrom a second-of-day value. - ofSeconds(long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of seconds. - ofSeconds(long, long) - Static method in class java.time.Duration
-
Obtains a
Durationrepresenting a number of seconds and an adjustment in nanoseconds. - ofStrict(LocalDateTime, ZoneOffset, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of
ZonedDateTimestrictly validating the combination of local date-time, offset and zone ID. - ofTotalSeconds(int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of
ZoneOffsetspecifying the total offset in seconds - ofWeeks(int) - Static method in class java.time.Period
-
Obtains a
Periodrepresenting a number of weeks. - ofYearDay(int, int) - Static method in class java.time.LocalDate
-
Obtains an instance of
LocalDatefrom a year and day-of-year. - ofYears(int) - Static method in class java.time.Period
-
Obtains a
Periodrepresenting a number of years.
P
- period(int, int, int) - Method in interface java.time.chrono.Chronology
-
Obtains a period for this chronology based on years, months and days.
- period(int, int, int) - Method in class java.time.chrono.IsoChronology
-
Obtains a period for this chronology based on years, months and days.
- Period - Class in java.time
-
A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 days'.
- plus(long) - Method in enum java.time.DayOfWeek
-
Returns the day-of-week that is the specified number of days after this one.
- plus(long) - Method in enum java.time.Month
-
Returns the month-of-year that is the specified number of quarters after this one.
- plus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration added.
- plus(long, TemporalUnit) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.LocalDate
-
Returns a copy of this date with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.LocalDateTime
-
Returns a copy of this date-time with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.OffsetDateTime
-
Returns a copy of this date-time with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.OffsetTime
-
Returns a copy of this time with the specified amount added.
- plus(long, TemporalUnit) - Method in interface java.time.temporal.Temporal
-
Returns an object of the same type as this object with the specified period added.
- plus(long, TemporalUnit) - Method in class java.time.Year
-
Returns a copy of this year with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified amount added.
- plus(long, TemporalUnit) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with the specified amount added.
- plus(Duration) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration added.
- plus(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in interface java.time.chrono.ChronoPeriod
-
Returns a copy of this period with the specified period added.
- plus(TemporalAmount) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.LocalDate
-
Returns a copy of this date with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.LocalDateTime
-
Returns a copy of this date-time with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.OffsetDateTime
-
Returns a copy of this date-time with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.OffsetTime
-
Returns a copy of this time with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.Period
-
Returns a copy of this period with the specified period added.
- plus(TemporalAmount) - Method in interface java.time.temporal.Temporal
-
Returns an object of the same type as this object with an amount added.
- plus(TemporalAmount) - Method in class java.time.Year
-
Returns a copy of this year with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified amount added.
- plus(TemporalAmount) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with the specified amount added.
- plusDays(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in standard 24 hour days added.
- plusDays(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of days added. - plusDays(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of days added. - plusDays(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified number of days added.
- plusDays(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified days added.
- plusDays(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of days added. - plusHours(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in hours added.
- plusHours(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of hours added. - plusHours(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of hours added. - plusHours(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of hours added. - plusHours(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of hours added. - plusHours(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of hours added. - plusMillis(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in milliseconds added.
- plusMillis(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in milliseconds added.
- plusMinutes(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in minutes added.
- plusMinutes(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of minutes added. - plusMinutes(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of minutes added. - plusMinutes(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of minutes added. - plusMinutes(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of minutes added. - plusMinutes(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of minutes added. - plusMonths(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of months added. - plusMonths(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of months added. - plusMonths(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of months added. - plusMonths(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified months added.
- plusMonths(long) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the specified number of months added. - plusMonths(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of months added. - plusNanos(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in nanoseconds added.
- plusNanos(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in nanoseconds added.
- plusNanos(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of nanoseconds added. - plusNanos(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of nanoseconds added. - plusNanos(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of nanoseconds added. - plusNanos(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of nanoseconds added. - plusNanos(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of nanoseconds added. - plusSeconds(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified duration in seconds added.
- plusSeconds(long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified duration in seconds added.
- plusSeconds(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of seconds added. - plusSeconds(long) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the specified number of seconds added. - plusSeconds(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of seconds added. - plusSeconds(long) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified number of seconds added. - plusSeconds(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of seconds added. - plusWeeks(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of weeks added. - plusWeeks(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of weeks added. - plusWeeks(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified number of weeks added.
- plusWeeks(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of weeks added. - plusYears(long) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the specified number of years added. - plusYears(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the specified number of years added. - plusYears(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified number of years added. - plusYears(long) - Method in class java.time.Period
-
Returns a copy of this period with the specified years added.
- plusYears(long) - Method in class java.time.Year
-
Returns a copy of this
Yearwith the specified number of years added. - plusYears(long) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the specified number of years added. - plusYears(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the specified number of years added. - precision() - Static method in class java.time.temporal.TemporalQueries
-
A query for the smallest supported unit.
- previous(DayOfWeek) - Static method in class java.time.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 java.time.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 java.time.zone.ZoneRules
-
Gets the previous transition before the specified instant.
- PROLEPTIC_MONTH - java.time.temporal.ChronoField
-
The proleptic-month based, counting months sequentially from year 0.
- prolepticYear(Era, int) - Method in interface java.time.chrono.Chronology
-
Calculates the proleptic-year given the era and year-of-era.
- prolepticYear(Era, int) - Method in class java.time.chrono.IsoChronology
- provideRefresh() - Method in class java.time.zone.ZoneRulesProvider
-
SPI method to refresh the rules from the underlying data provider.
- provideRules(String, boolean) - Method in class java.time.zone.ZoneRulesProvider
-
SPI method to get the rules for the zone ID.
- provideVersions(String) - Method in class java.time.zone.ZoneRulesProvider
-
SPI method to get the history of rules for the zone ID.
- provideZoneIds() - Method in class java.time.zone.ZoneRulesProvider
-
SPI method to get the available zone IDs.
Q
- QUARTER_OF_YEAR - Static variable in class java.time.temporal.IsoFields
-
The field that represents the quarter-of-year.
- QUARTER_YEARS - Static variable in class java.time.temporal.IsoFields
-
Unit that represents the concept of a quarter-year.
- query(TemporalQuery<R>) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in enum java.time.chrono.IsoEra
-
Queries this era using the specified query.
- query(TemporalQuery<R>) - Method in enum java.time.DayOfWeek
-
Queries this day-of-week using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.Instant
-
Queries this instant using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.LocalDate
-
Queries this date using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.LocalDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.LocalTime
-
Queries this time using the specified query.
- query(TemporalQuery<R>) - Method in enum java.time.Month
-
Queries this month-of-year using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.MonthDay
-
Queries this month-day using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.OffsetDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.OffsetTime
-
Queries this time using the specified query.
- query(TemporalQuery<R>) - Method in interface java.time.temporal.TemporalAccessor
-
Queries this date-time.
- query(TemporalQuery<R>) - Method in class java.time.Year
-
Queries this year using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.YearMonth
-
Queries this year-month using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.ZonedDateTime
-
Queries this date-time using the specified query.
- query(TemporalQuery<R>) - Method in class java.time.ZoneOffset
-
Queries this offset using the specified query.
- queryFrom(TemporalAccessor) - Method in interface java.time.temporal.TemporalQuery
-
Queries the specified temporal object.
R
- range() - Method in enum java.time.temporal.ChronoField
-
Gets the range of valid values for the field.
- range() - Method in interface java.time.temporal.TemporalField
-
Gets the range of valid values for the field.
- range(ChronoField) - Method in interface java.time.chrono.Chronology
-
Gets the range of valid values for the specified field.
- range(ChronoField) - Method in class java.time.chrono.IsoChronology
- range(TemporalField) - Method in interface java.time.chrono.ChronoZonedDateTime
- range(TemporalField) - Method in interface java.time.chrono.Era
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in enum java.time.chrono.IsoEra
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in enum java.time.DayOfWeek
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.Instant
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.LocalDate
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.LocalDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.LocalTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in enum java.time.Month
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.MonthDay
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.OffsetDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.OffsetTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in interface java.time.temporal.TemporalAccessor
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.Year
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.YearMonth
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.ZonedDateTime
-
Gets the range of valid values for the specified field.
- range(TemporalField) - Method in class java.time.ZoneOffset
-
Gets the range of valid values for the specified field.
- rangeRefinedBy(TemporalAccessor) - Method in enum java.time.temporal.ChronoField
- rangeRefinedBy(TemporalAccessor) - Method in interface java.time.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 java.time.temporal.JulianFields
-
Rata Die field.
- refresh() - Static method in class java.time.zone.ZoneRulesProvider
-
Refreshes the rules from the underlying data provider.
- resolve(Map<TemporalField, Long>, TemporalAccessor, ResolverStyle) - Method in enum java.time.temporal.ChronoField
- resolve(Map<TemporalField, Long>, TemporalAccessor, ResolverStyle) - Method in interface java.time.temporal.TemporalField
-
Resolves this field to provide a simpler alternative or a date.
- resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class java.time.chrono.AbstractChronology
-
Resolves parsed
ChronoFieldvalues into a date during parsing. - resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in interface java.time.chrono.Chronology
-
Resolves parsed
ChronoFieldvalues into a date during parsing. - resolveDate(Map<TemporalField, Long>, ResolverStyle) - Method in class java.time.chrono.IsoChronology
-
Resolves parsed
ChronoFieldvalues into a date during parsing. - ResolverStyle - Enum in java.time.format
-
Enumeration of different ways to resolve dates and times.
S
- SATURDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Saturday.
- SECOND_OF_DAY - java.time.temporal.ChronoField
-
The second-of-day.
- SECOND_OF_MINUTE - java.time.temporal.ChronoField
-
The second-of-minute.
- SECONDS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a second.
- SEPTEMBER - java.time.Month
-
The singleton instance for the month of September with 30 days.
- SMART - java.time.format.ResolverStyle
-
Style to resolve dates and times in a smart, or intelligent, manner.
- STANDARD - java.time.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the standard offset.
- STRICT - java.time.format.ResolverStyle
-
Style to resolve dates and times strictly.
- subtractFrom(Temporal) - Method in interface java.time.chrono.ChronoPeriod
-
Subtracts this period from the specified temporal object.
- subtractFrom(Temporal) - Method in class java.time.Duration
-
Subtracts this duration from the specified temporal object.
- subtractFrom(Temporal) - Method in class java.time.Period
-
Subtracts this period from the specified temporal object.
- subtractFrom(Temporal) - Method in interface java.time.temporal.TemporalAmount
-
Subtracts this object from the specified temporal object.
- SUNDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Sunday.
- SUNDAY_START - Static variable in class java.time.temporal.WeekFields
-
The common definition of a week that starts on Sunday and the first week has a minimum of 1 day.
- system(ZoneId) - Static method in class java.time.Clock
-
Obtains a clock that returns the current instant using best available system clock.
- systemDefault() - Static method in class java.time.ZoneId
-
Gets the system default time-zone (GMT).
- systemDefaultZone() - Static method in class java.time.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 java.time.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
- Temporal - Interface in java.time.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 java.time.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 java.time.temporal
-
Strategy for adjusting a temporal object.
- TemporalAdjusters - Class in java.time.temporal
-
Common and useful TemporalAdjusters.
- TemporalAmount - Interface in java.time.temporal
-
Framework-level interface defining an amount of time, such as "6 hours", "8 days" or "2 years and 3 months".
- TemporalField - Interface in java.time.temporal
-
A field of date-time, such as month-of-year or hour-of-minute.
- TemporalQueries - Class in java.time.temporal
-
Common implementations of
TemporalQuery. - TemporalQuery<R> - Interface in java.time.temporal
-
Strategy for querying a temporal object.
- TemporalUnit - Interface in java.time.temporal
-
A unit of date-time, such as Days or Hours.
- THURSDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Thursday.
- tick(Clock, Duration) - Static method in class java.time.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 java.time.Clock
-
Obtains a clock that returns the current instant ticking in whole minutes using best available system clock.
- tickSeconds(ZoneId) - Static method in class java.time.Clock
-
Obtains a clock that returns the current instant ticking in whole seconds using best available system clock.
- timeLineOrder() - Static method in class java.time.LocalDate
-
Gets a comparator that compares
ChronoLocalDatein time-line order ignoring the chronology. - timeLineOrder() - Static method in class java.time.LocalDateTime
-
Gets a comparator that compares
ChronoLocalDateTimein time-line order ignoring the chronology. - timeLineOrder() - Static method in class java.time.OffsetDateTime
-
Gets a comparator that compares two
OffsetDateTimeinstances based solely on the instant. - timeLineOrder() - Static method in class java.time.ZonedDateTime
-
Gets a comparator that compares
ChronoZonedDateTimein time-line order ignoring the chronology. - toDays() - Method in class java.time.Duration
-
Gets the number of days in this duration.
- toEpochDay() - Method in interface java.time.chrono.ChronoLocalDate
-
Converts this date to the Epoch Day.
- toEpochDay() - Method in class java.time.LocalDate
- toEpochMilli() - Method in class java.time.Instant
-
Converts this instant to the number of milliseconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in class java.time.OffsetDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond() - Method in class java.time.zone.ZoneOffsetTransition
-
Gets the transition instant as an epoch second.
- toEpochSecond() - Method in class java.time.ZonedDateTime
- toEpochSecond(ZoneOffset) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.
- toEpochSecond(ZoneOffset) - Method in class java.time.LocalDateTime
- toHours() - Method in class java.time.Duration
-
Gets the number of hours in this duration.
- toInstant() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Converts this date-time to an
Instant. - toInstant() - Method in class java.time.OffsetDateTime
-
Converts this date-time to an
Instant. - toInstant() - Method in class java.time.ZonedDateTime
- toInstant(ZoneOffset) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Converts this date-time to an
Instant. - toInstant(ZoneOffset) - Method in class java.time.LocalDateTime
- toLocalDate() - Method in interface java.time.chrono.ChronoLocalDateTime
-
Gets the local date part of this date-time.
- toLocalDate() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the local date part of this date-time.
- toLocalDate() - Method in class java.time.LocalDateTime
-
Gets the
LocalDatepart of this date-time. - toLocalDate() - Method in class java.time.OffsetDateTime
-
Gets the
LocalDatepart of this date-time. - toLocalDate() - Method in class java.time.ZonedDateTime
-
Gets the
LocalDatepart of this date-time. - toLocalDateTime() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the local date-time part of this date-time.
- toLocalDateTime() - Method in class java.time.OffsetDateTime
-
Gets the
LocalDateTimepart of this date-time. - toLocalDateTime() - Method in class java.time.ZonedDateTime
-
Gets the
LocalDateTimepart of this date-time. - toLocalTime() - Method in interface java.time.chrono.ChronoLocalDateTime
-
Gets the local time part of this date-time.
- toLocalTime() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Gets the local time part of this date-time.
- toLocalTime() - Method in class java.time.LocalDateTime
-
Gets the
LocalTimepart of this date-time. - toLocalTime() - Method in class java.time.OffsetDateTime
-
Gets the
LocalTimepart of this date-time. - toLocalTime() - Method in class java.time.OffsetTime
-
Gets the
LocalTimepart of this date-time. - toLocalTime() - Method in class java.time.ZonedDateTime
-
Gets the
LocalTimepart of this date-time. - toMillis() - Method in class java.time.Duration
-
Converts this duration to the total length in milliseconds.
- toMinutes() - Method in class java.time.Duration
-
Gets the number of minutes in this duration.
- toNanoOfDay() - Method in class java.time.LocalTime
-
Extracts the time as nanos of day, from
0to24 * 60 * 60 * 1,000,000,000 - 1. - toNanos() - Method in class java.time.Duration
-
Converts this duration to the total length in nanoseconds expressed as a
long. - toOffsetDateTime() - Method in class java.time.ZonedDateTime
-
Converts this date-time to an
OffsetDateTime. - toOffsetTime() - Method in class java.time.OffsetDateTime
-
Converts this date-time to an
OffsetTime. - toSecondOfDay() - Method in class java.time.LocalTime
-
Extracts the time as seconds of day, from
0to24 * 60 * 60 - 1. - toString() - Method in class java.time.chrono.AbstractChronology
-
Outputs this chronology as a
String, using the chronology ID. - toString() - Method in interface java.time.chrono.ChronoLocalDate
-
Outputs this date as a
String. - toString() - Method in interface java.time.chrono.ChronoLocalDateTime
-
Outputs this date-time as a
String. - toString() - Method in interface java.time.chrono.Chronology
-
Outputs this chronology as a
String. - toString() - Method in interface java.time.chrono.ChronoPeriod
-
Outputs this period as a
String. - toString() - Method in interface java.time.chrono.ChronoZonedDateTime
-
Outputs this date-time as a
String. - toString() - Method in class java.time.Duration
-
A string representation of this duration using ISO-8601 seconds based representation, such as
PT8H6M12.345S. - toString() - Method in class java.time.LocalDate
-
Outputs this date as a
String, such as2007-12-03. - toString() - Method in class java.time.LocalDateTime
-
Outputs this date-time as a
String, such as2007-12-03T10:15:30. - toString() - Method in class java.time.LocalTime
-
Outputs this time as a
String, such as10:15. - toString() - Method in class java.time.MonthDay
-
Outputs this month-day as a
String, such as--12-03. - toString() - Method in class java.time.OffsetDateTime
-
Outputs this date-time as a
String, such as2007-12-03T10:15:30+01:00. - toString() - Method in class java.time.OffsetTime
-
Outputs this time as a
String, such as10:15:30+01:00. - toString() - Method in class java.time.Period
-
Outputs this period as a
String, such asP6Y3M1D. - toString() - Method in enum java.time.temporal.ChronoField
- toString() - Method in enum java.time.temporal.ChronoUnit
- toString() - Method in interface java.time.temporal.TemporalField
-
Gets a descriptive name for the field.
- toString() - Method in interface java.time.temporal.TemporalUnit
-
Gets a descriptive name for the unit.
- toString() - Method in class java.time.temporal.ValueRange
-
Outputs this range as a
String. - toString() - Method in class java.time.temporal.WeekFields
-
A string representation of this
WeekFieldsinstance. - toString() - Method in class java.time.Year
-
Outputs this year as a
String. - toString() - Method in class java.time.YearMonth
-
Outputs this year-month as a
String, such as2007-12. - toString() - Method in class java.time.zone.ZoneOffsetTransition
-
Returns a string describing this object.
- toString() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
Returns a string describing this object.
- toString() - Method in class java.time.zone.ZoneRules
-
Returns a string describing this object.
- toString() - Method in class java.time.ZonedDateTime
-
Outputs this date-time as a
String, such as2007-12-03T10:15:30+01:00[Europe/Paris]. - toString() - Method in class java.time.ZoneId
-
Outputs this zone as a
String, using the ID. - toString() - Method in class java.time.ZoneOffset
-
Outputs this offset as a
String, using the normalized ID. - toTotalMonths() - Method in class java.time.Period
-
Gets the total number of months in this period.
- toZonedDateTime() - Method in class java.time.OffsetDateTime
-
Converts this date-time to a
ZonedDateTimeusing the offset as the zone ID. - truncatedTo(TemporalUnit) - Method in class java.time.Instant
-
Returns a copy of this
Instanttruncated to the specified unit. - truncatedTo(TemporalUnit) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the time truncated. - truncatedTo(TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the time truncated. - truncatedTo(TemporalUnit) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the time truncated. - truncatedTo(TemporalUnit) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the time truncated. - truncatedTo(TemporalUnit) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the time truncated. - TUESDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Tuesday.
U
- UnsupportedTemporalTypeException - Exception in java.time.temporal
-
UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.
- UnsupportedTemporalTypeException(String) - Constructor for exception java.time.temporal.UnsupportedTemporalTypeException
-
Constructs a new UnsupportedTemporalTypeException with the specified message.
- UnsupportedTemporalTypeException(String, Throwable) - Constructor for exception java.time.temporal.UnsupportedTemporalTypeException
-
Constructs a new UnsupportedTemporalTypeException with the specified message and cause.
- until(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Calculates the period between this date and another date as a
ChronoPeriod. - until(ChronoLocalDate) - Method in class java.time.LocalDate
-
Calculates the period between this date and another date as a
Period. - until(Temporal, TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDate
-
Calculates the amount of time until another date in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.Instant
-
Calculates the amount of time until another instant in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.LocalDate
-
Calculates the amount of time until another date in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.LocalDateTime
-
Calculates the amount of time until another date-time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.LocalTime
-
Calculates the amount of time until another time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.OffsetDateTime
-
Calculates the amount of time until another date-time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.OffsetTime
-
Calculates the amount of time until another time in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in interface java.time.temporal.Temporal
-
Calculates the amount of time until another temporal in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.Year
-
Calculates the amount of time until another year in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.YearMonth
-
Calculates the amount of time until another year-month in terms of the specified unit.
- until(Temporal, TemporalUnit) - Method in class java.time.ZonedDateTime
-
Calculates the amount of time until another date-time in terms of the specified unit.
- UTC - java.time.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the UTC offset.
- UTC - Static variable in class java.time.ZoneOffset
-
The time-zone offset for UTC, with an ID of 'Z'.
V
- valueOf(String) - Static method in enum java.time.chrono.IsoEra
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.DayOfWeek
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.format.ResolverStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.Month
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.temporal.ChronoField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.temporal.ChronoUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.time.zone.ZoneOffsetTransitionRule.TimeDefinition
-
Returns the enum constant of this type with the specified name.
- ValueRange - Class in java.time.temporal
-
The range of valid values for a date-time field.
- values() - Static method in enum java.time.chrono.IsoEra
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.DayOfWeek
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.format.ResolverStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.Month
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.temporal.ChronoField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.temporal.ChronoUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.time.zone.ZoneOffsetTransitionRule.TimeDefinition
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WALL - java.time.zone.ZoneOffsetTransitionRule.TimeDefinition
-
The local date-time is expressed in terms of the wall offset.
- WEDNESDAY - java.time.DayOfWeek
-
The singleton instance for the day-of-week of Wednesday.
- WEEK_BASED_YEAR - Static variable in class java.time.temporal.IsoFields
-
The field that represents the week-based-year.
- WEEK_BASED_YEARS - Static variable in class java.time.temporal.IsoFields
-
The unit that represents week-based-years for the purpose of addition and subtraction.
- WEEK_BASED_YEARS - Static variable in class java.time.temporal.WeekFields
-
The unit that represents week-based-years for the purpose of addition and subtraction.
- WEEK_OF_WEEK_BASED_YEAR - Static variable in class java.time.temporal.IsoFields
-
The field that represents the week-of-week-based-year.
- weekBasedYear() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the year of a week-based-year based on this
WeekFields. - WeekFields - Class in java.time.temporal
-
Localized definitions of the day-of-week, week-of-month and week-of-year fields.
- weekOfMonth() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the week of month based on this
WeekFields. - weekOfWeekBasedYear() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the week of a week-based-year based on this
WeekFields. - weekOfYear() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the week of year based on this
WeekFields. - WEEKS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a week.
- with(Month) - Method in class java.time.MonthDay
-
Returns a copy of this
MonthDaywith the month-of-year altered. - with(TemporalAdjuster) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalAdjuster) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalAdjuster) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalAdjuster) - Method in class java.time.Instant
-
Returns an adjusted copy of this instant.
- with(TemporalAdjuster) - Method in class java.time.LocalDate
-
Returns an adjusted copy of this date.
- with(TemporalAdjuster) - Method in class java.time.LocalDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalAdjuster) - Method in class java.time.LocalTime
-
Returns an adjusted copy of this time.
- with(TemporalAdjuster) - Method in class java.time.OffsetDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalAdjuster) - Method in class java.time.OffsetTime
-
Returns an adjusted copy of this time.
- with(TemporalAdjuster) - Method in interface java.time.temporal.Temporal
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalAdjuster) - Method in class java.time.Year
-
Returns an adjusted copy of this year.
- with(TemporalAdjuster) - Method in class java.time.YearMonth
-
Returns an adjusted copy of this year-month.
- with(TemporalAdjuster) - Method in class java.time.ZonedDateTime
-
Returns an adjusted copy of this date-time.
- with(TemporalField, long) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with the specified field altered.
- with(TemporalField, long) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with the specified field altered.
- with(TemporalField, long) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an object of the same type as this object with the specified field altered.
- with(TemporalField, long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.LocalDate
-
Returns a copy of this date with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.LocalDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.OffsetTime
-
Returns a copy of this time with the specified field set to a new value.
- with(TemporalField, long) - Method in interface java.time.temporal.Temporal
-
Returns an object of the same type as this object with the specified field altered.
- with(TemporalField, long) - Method in class java.time.Year
-
Returns a copy of this year with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified field set to a new value.
- with(TemporalField, long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with the specified field set to a new value.
- withDayOfMonth(int) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the day-of-month altered. - withDayOfMonth(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the day-of-month altered. - withDayOfMonth(int) - Method in class java.time.MonthDay
-
Returns a copy of this
MonthDaywith the day-of-month altered. - withDayOfMonth(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the day-of-month altered. - withDayOfMonth(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the day-of-month altered. - withDayOfYear(int) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the day-of-year altered. - withDayOfYear(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the day-of-year altered. - withDayOfYear(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the day-of-year altered. - withDayOfYear(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the day-of-year altered. - withDays(int) - Method in class java.time.Period
-
Returns a copy of this period with the specified amount of days.
- withEarlierOffsetAtOverlap() - Method in interface java.time.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 java.time.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 java.time.ZonedDateTime
-
Returns a copy of this date-time with the zone ID set to the offset.
- withHour(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the hour-of-day altered. - withHour(int) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the hour-of-day altered. - withHour(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the hour-of-day altered. - withHour(int) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the hour-of-day altered. - withHour(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the hour-of-day altered. - withLaterOffsetAtOverlap() - Method in interface java.time.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 java.time.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.
- withMinute(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the minute-of-hour altered. - withMinute(int) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the minute-of-hour altered. - withMinute(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the minute-of-hour altered. - withMinute(int) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the minute-of-hour altered. - withMinute(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the minute-of-hour altered. - withMonth(int) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the month-of-year altered. - withMonth(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the month-of-year altered. - withMonth(int) - Method in class java.time.MonthDay
-
Returns a copy of this
MonthDaywith the month-of-year altered. - withMonth(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the month-of-year altered. - withMonth(int) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the month-of-year altered. - withMonth(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the month-of-year altered. - withMonths(int) - Method in class java.time.Period
-
Returns a copy of this period with the specified amount of months.
- withNano(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the nano-of-second altered. - withNano(int) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the nano-of-second altered. - withNano(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the nano-of-second altered. - withNano(int) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the nano-of-second altered. - withNano(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the nano-of-second altered. - withNanos(int) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified nano-of-second.
- withOffsetSameInstant(ZoneOffset) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified offset ensuring that the result is at the same instant. - withOffsetSameInstant(ZoneOffset) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified offset ensuring that the result is at the same instant on an implied day. - withOffsetSameLocal(ZoneOffset) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the specified offset ensuring that the result has the same local date-time. - withOffsetSameLocal(ZoneOffset) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the specified offset ensuring that the result has the same local time. - withSecond(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the second-of-minute altered. - withSecond(int) - Method in class java.time.LocalTime
-
Returns a copy of this
LocalTimewith the second-of-minute altered. - withSecond(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the second-of-minute altered. - withSecond(int) - Method in class java.time.OffsetTime
-
Returns a copy of this
OffsetTimewith the second-of-minute altered. - withSecond(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the second-of-minute altered. - withSeconds(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified amount of seconds.
- withYear(int) - Method in class java.time.LocalDate
-
Returns a copy of this
LocalDatewith the year altered. - withYear(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this
LocalDateTimewith the year altered. - withYear(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this
OffsetDateTimewith the year altered. - withYear(int) - Method in class java.time.YearMonth
-
Returns a copy of this
YearMonthwith the year altered. - withYear(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this
ZonedDateTimewith the year altered. - withYears(int) - Method in class java.time.Period
-
Returns a copy of this period with the specified amount of years.
- withZone(ZoneId) - Method in class java.time.Clock
-
Returns a copy of this clock with a different time-zone.
- withZoneSameInstant(ZoneId) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the instant.
- withZoneSameInstant(ZoneId) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the instant.
- withZoneSameLocal(ZoneId) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the local date-time if possible.
- withZoneSameLocal(ZoneId) - Method in class java.time.ZonedDateTime
-
Returns a copy of this date-time with a different time-zone, retaining the local date-time if possible.
Y
- Year - Class in java.time
-
A year in the ISO-8601 calendar system, such as
2007. - YEAR - java.time.temporal.ChronoField
-
The proleptic year, such as 2012.
- YEAR_OF_ERA - java.time.temporal.ChronoField
-
The year within the era.
- YearMonth - Class in java.time
-
A year-month in the ISO-8601 calendar system, such as
2007-12. - YEARS - java.time.temporal.ChronoUnit
-
Unit that represents the concept of a year.
Z
- ZERO - Static variable in class java.time.Duration
-
Constant for a duration of zero.
- ZERO - Static variable in class java.time.Period
-
A constant for a period of zero.
- zone() - Static method in class java.time.temporal.TemporalQueries
-
A lenient query for the
ZoneId, falling back to theZoneOffset. - zonedDateTime(Instant, ZoneId) - Method in interface java.time.chrono.Chronology
-
Obtains a
ChronoZonedDateTimein this chronology from anInstant. - zonedDateTime(Instant, ZoneId) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO zoned date-time in this chronology from an
Instant. - zonedDateTime(TemporalAccessor) - Method in interface java.time.chrono.Chronology
-
Obtains a
ChronoZonedDateTimein this chronology from another temporal object. - zonedDateTime(TemporalAccessor) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO zoned date-time from another date-time object.
- ZonedDateTime - Class in java.time
-
A date-time with a time-zone in the ISO-8601 calendar system, such as
2007-12-03T10:15:30+01:00 Europe/Paris. - zoneId() - Static method in class java.time.temporal.TemporalQueries
-
A strict query for the
ZoneId. - ZoneId - Class in java.time
-
A time-zone ID, such as
Europe/Paris. - ZoneOffset - Class in java.time
-
A time-zone offset from Greenwich/UTC, such as
+02:00. - ZoneOffsetTransition - Class in java.time.zone
-
A transition between two offsets caused by a discontinuity in the local time-line.
- ZoneOffsetTransitionRule - Class in java.time.zone
-
A rule expressing how to create a transition.
- ZoneOffsetTransitionRule.TimeDefinition - Enum in java.time.zone
-
A definition of the way a local time can be converted to the actual transition date-time.
- ZoneRules - Class in java.time.zone
-
The rules defining how the zone offset varies for a single time-zone.
- ZoneRulesException - Exception in java.time.zone
-
Thrown to indicate a problem with time-zone configuration.
- ZoneRulesException(String) - Constructor for exception java.time.zone.ZoneRulesException
-
Constructs a new date-time exception with the specified message.
- ZoneRulesException(String, Throwable) - Constructor for exception java.time.zone.ZoneRulesException
-
Constructs a new date-time exception with the specified message and cause.
- ZoneRulesProvider - Class in java.time.zone
-
Provider of time-zone rules to the system.
- ZoneRulesProvider() - Constructor for class java.time.zone.ZoneRulesProvider
-
Constructor.
All Classes All Packages