- 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(R, long) - Method in enum java.time.temporal.ChronoUnit
-
- addTo(Temporal) - Method in interface java.time.temporal.TemporalAmount
-
Adds to the specified temporal object.
- 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.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(R, long) - Method in enum java.time.temporal.ChronoField
-
- adjustInto(Temporal) - Method in interface java.time.temporal.TemporalAdjuster
-
Adjusts the specified temporal object.
- 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.
- 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.
- append(DateTimeFormatter) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends all the elements of a formatter to the builder.
- appendChronologyId() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.
- appendChronologyText(TextStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the chronology name to the formatter.
- appendFraction(TemporalField, int, int, boolean) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the fractional value of a date-time field to the formatter.
- appendInstant() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends an instant using ISO-8601 to the formatter, formatting fractional
digits in groups of three.
- appendInstant(int) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends an instant using ISO-8601 to the formatter with control over
the number of fractional digits.
- appendLiteral(char) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends a character literal to the formatter.
- appendLiteral(String) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends a string literal to the formatter.
- appendLocalized(FormatStyle, FormatStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends a localized date-time pattern to the formatter.
- appendLocalizedOffset(TextStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the localized zone offset, such as 'GMT+01:00', to the formatter.
- appendOffset(String, String) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the zone offset, such as '+01:00', to the formatter.
- appendOffsetId() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the zone offset, such as '+01:00', to the formatter.
- appendOptional(DateTimeFormatter) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends a formatter to the builder which will optionally format/parse.
- appendPattern(String) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the elements defined by the specified pattern to the builder.
- appendText(TemporalField) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter using the full
text style.
- appendText(TemporalField, TextStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter.
- appendText(TemporalField, Map<Long, String>) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the text of a date-time field to the formatter using the specified
map to supply the text.
- appendValue(TemporalField) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter using a normal
output style.
- appendValue(TemporalField, int) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter using a fixed
width, zero-padded approach.
- appendValue(TemporalField, int, int, SignStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the value of a date-time field to the formatter providing full
control over formatting.
- appendValueReduced(TemporalField, int, int, int) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the reduced value of a date-time field to the formatter.
- appendValueReduced(TemporalField, int, int, ChronoLocalDate) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the reduced value of a date-time field to the formatter.
- appendZoneId() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to the formatter.
- appendZoneOrOffsetId() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to
the formatter, using the best available zone ID.
- appendZoneRegionId() - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the time-zone region ID, such as 'Europe/Paris', to the formatter,
rejecting the zone ID if it is a ZoneOffset.
- appendZoneText(TextStyle) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the time-zone name, such as 'British Summer Time', to the formatter.
- appendZoneText(TextStyle, Set<ZoneId>) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends the time-zone name, such as 'British Summer Time', to the formatter.
- asNormal() - Method in enum java.time.format.TextStyle
-
Returns the normal style with the same size.
- asStandalone() - Method in enum java.time.format.TextStyle
-
Returns the stand-alone style with the same size.
- 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 LocalDate at the end of the month.
- atMonth(Month) - Method in class java.time.Year
-
Combines this year with a month to create a YearMonth.
- atMonth(int) - 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 LocalDateTime
at 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(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.chrono.HijrahDate
-
- atTime(LocalTime) - Method in class java.time.chrono.JapaneseDate
-
- atTime(LocalTime) - Method in class java.time.chrono.MinguoDate
-
- atTime(LocalTime) - Method in class java.time.chrono.ThaiBuddhistDate
-
- atTime(LocalTime) - Method in class java.time.LocalDate
-
Combines this date with a time to create a LocalDateTime.
- 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(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 ZonedDateTime
ensuring 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 ZonedDateTime
trying to keep the same local date and time.
- 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(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(TemporalAccessor) - Method in interface java.time.chrono.Chronology
-
Obtains a local date in this chronology from another temporal object.
- date(Era, int, int, int) - Method in class java.time.chrono.HijrahChronology
-
Obtains a local date in Hijrah calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class java.time.chrono.HijrahChronology
-
Obtains a local date in Hijrah calendar system from the
proleptic-year, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in class java.time.chrono.HijrahChronology
-
- 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(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(TemporalAccessor) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date from another date-time object.
- date(Era, int, int, int) - Method in class java.time.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class java.time.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the
proleptic-year, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in class java.time.chrono.JapaneseChronology
-
- date(Era, int, int, int) - Method in class java.time.chrono.MinguoChronology
-
Obtains a local date in Minguo calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class java.time.chrono.MinguoChronology
-
Obtains a local date in Minguo calendar system from the
proleptic-year, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in class java.time.chrono.MinguoChronology
-
- date(Era, int, int, int) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Obtains a local date in Thai Buddhist calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
- date(int, int, int) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Obtains a local date in Thai Buddhist calendar system from the
proleptic-year, month-of-year and day-of-month fields.
- date(TemporalAccessor) - Method in class java.time.chrono.ThaiBuddhistChronology
-
- 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.HijrahChronology
-
Obtains a local date in the Hijrah calendar system from the epoch-day.
- dateEpochDay(long) - Method in class java.time.chrono.IsoChronology
-
Obtains an ISO local date from the epoch-day.
- dateEpochDay(long) - Method in class java.time.chrono.JapaneseChronology
-
Obtains a local date in the Japanese calendar system from the epoch-day.
- dateEpochDay(long) - Method in class java.time.chrono.MinguoChronology
-
Obtains a local date in the Minguo calendar system from the epoch-day.
- dateEpochDay(long) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Obtains a local date in the Thai Buddhist calendar system 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(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(Clock) - Method in interface java.time.chrono.Chronology
-
Obtains the current local date in this chronology from the specified clock.
- dateNow() - Method in class java.time.chrono.HijrahChronology
-
- dateNow(ZoneId) - Method in class java.time.chrono.HijrahChronology
-
- dateNow(Clock) - Method in class java.time.chrono.HijrahChronology
-
- dateNow() - Method in class java.time.chrono.IsoChronology
-
Obtains the current ISO local date from the system clock in the default 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.
- dateNow(Clock) - Method in class java.time.chrono.IsoChronology
-
Obtains the current ISO local date from the specified clock.
- dateNow() - Method in class java.time.chrono.JapaneseChronology
-
- dateNow(ZoneId) - Method in class java.time.chrono.JapaneseChronology
-
- dateNow(Clock) - Method in class java.time.chrono.JapaneseChronology
-
- dateNow() - Method in class java.time.chrono.MinguoChronology
-
- dateNow(ZoneId) - Method in class java.time.chrono.MinguoChronology
-
- dateNow(Clock) - Method in class java.time.chrono.MinguoChronology
-
- dateNow() - Method in class java.time.chrono.ThaiBuddhistChronology
-
- dateNow(ZoneId) - Method in class java.time.chrono.ThaiBuddhistChronology
-
- dateNow(Clock) - Method in class java.time.chrono.ThaiBuddhistChronology
-
- 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.
- DateTimeFormatter - Class in java.time.format
-
Formatter for printing and parsing date-time objects.
- DateTimeFormatterBuilder - Class in java.time.format
-
Builder to create date-time formatters.
- DateTimeFormatterBuilder() - Constructor for class java.time.format.DateTimeFormatterBuilder
-
Constructs a new instance of the builder.
- DateTimeParseException - Exception in java.time.format
-
An exception thrown when an error occurs during parsing.
- DateTimeParseException(String, CharSequence, int) - Constructor for exception java.time.format.DateTimeParseException
-
Constructs a new exception with the specified message.
- DateTimeParseException(String, CharSequence, int, Throwable) - Constructor for exception java.time.format.DateTimeParseException
-
Constructs a new exception with the specified message and cause.
- 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(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(Era, int, int) - Method in class java.time.chrono.HijrahChronology
-
Obtains a local date in Hijrah calendar system from the
era, year-of-era and day-of-year fields.
- dateYearDay(int, int) - Method in class java.time.chrono.HijrahChronology
-
Obtains a local date in Hijrah calendar system from the
proleptic-year 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.
- 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 class java.time.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the
era, year-of-era and day-of-year fields.
- dateYearDay(int, int) - Method in class java.time.chrono.JapaneseChronology
-
Obtains a local date in Japanese calendar system from the
proleptic-year and day-of-year fields.
- dateYearDay(Era, int, int) - Method in class java.time.chrono.MinguoChronology
-
Obtains a local date in Minguo calendar system from the
era, year-of-era and day-of-year fields.
- dateYearDay(int, int) - Method in class java.time.chrono.MinguoChronology
-
Obtains a local date in Minguo calendar system from the
proleptic-year and day-of-year fields.
- dateYearDay(Era, int, int) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Obtains a local date in Thai Buddhist calendar system from the
era, year-of-era and day-of-year fields.
- dateYearDay(int, int) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Obtains a local date in Thai Buddhist calendar system from the
proleptic-year and day-of-year fields.
- DAY_OF_QUARTER - Static variable in class java.time.temporal.IsoFields
-
The field that represents the day-of-quarter.
- DayOfWeek - Enum in java.time
-
A day-of-week, such as 'Tuesday'.
- dayOfWeek() - Method in class java.time.temporal.WeekFields
-
Returns a field to access the day of week based on this WeekFields.
- 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.
- DecimalStyle - Class in java.time.format
-
Localized decimal style used in date and time formatting.
- 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'.
- 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(boolean) - Method in enum java.time.Month
-
Gets the day-of-year corresponding to the first day of this month.
- 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.
- 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.
- format(DateTimeFormatter) - Method in interface java.time.chrono.ChronoLocalDate
-
Formats this date using the specified formatter.
- format(DateTimeFormatter) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Formats this date-time using the specified formatter.
- format(DateTimeFormatter) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Formats this date-time using the specified formatter.
- format(TemporalAccessor) - Method in class java.time.format.DateTimeFormatter
-
Formats a date-time object using this formatter.
- format(DateTimeFormatter) - Method in class java.time.LocalDate
-
Formats this date using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.LocalDateTime
-
Formats this date-time using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.LocalTime
-
Formats this time using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.MonthDay
-
Formats this month-day using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.OffsetDateTime
-
Formats this date-time using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.OffsetTime
-
Formats this time using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.Year
-
Formats this year using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.YearMonth
-
Formats this year-month using the specified formatter.
- format(DateTimeFormatter) - Method in class java.time.ZonedDateTime
-
Formats this date-time using the specified formatter.
- FormatStyle - Enum in java.time.format
-
Enumeration of the style of a localized date, time or date-time formatter.
- formatTo(TemporalAccessor, Appendable) - Method in class java.time.format.DateTimeFormatter
-
Formats a date-time object to an Appendable using this formatter.
- from(TemporalAccessor) - Static method in interface java.time.chrono.ChronoLocalDate
-
Obtains an instance of ChronoLocalDate from a temporal object.
- from(TemporalAccessor) - Static method in interface java.time.chrono.ChronoLocalDateTime
-
Obtains an instance of ChronoLocalDateTime from a temporal object.
- from(TemporalAccessor) - Static method in interface java.time.chrono.Chronology
-
Obtains an instance of Chronology from a temporal object.
- from(TemporalAccessor) - Static method in interface java.time.chrono.ChronoZonedDateTime
-
Obtains an instance of ChronoZonedDateTime from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.chrono.HijrahDate
-
Obtains a HijrahDate of the Islamic Umm Al-Qura calendar from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.chrono.JapaneseDate
-
Obtains a JapaneseDate from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.chrono.MinguoDate
-
Obtains a MinguoDate from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains a ThaiBuddhistDate from a temporal object.
- from(TemporalAccessor) - Static method in enum java.time.DayOfWeek
-
Obtains an instance of DayOfWeek from a temporal object.
- from(TemporalAmount) - Static method in class java.time.Duration
-
Obtains an instance of Duration from a temporal amount.
- from(TemporalAccessor) - Static method in class java.time.Instant
-
Obtains an instance of Instant from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from a temporal object.
- from(TemporalAccessor) - Static method in enum java.time.Month
-
Obtains an instance of Month from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.MonthDay
-
Obtains an instance of MonthDay from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from a temporal object.
- from(TemporalAmount) - Static method in class java.time.Period
-
Obtains an instance of Period from a temporal amount.
- from(TemporalAccessor) - Static method in class java.time.Year
-
Obtains an instance of Year from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.YearMonth
-
Obtains an instance of YearMonth from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.ZoneId
-
Obtains an instance of ZoneId from a temporal object.
- from(TemporalAccessor) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset from a temporal object.
- get(TemporalUnit) - Method in interface java.time.chrono.ChronoPeriod
-
Gets the value of the requested unit.
- 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.DayOfWeek
-
Gets the value of the specified field from this day-of-week as an int.
- get(TemporalUnit) - Method in class java.time.Duration
-
Gets the value of the requested unit.
- 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(TemporalUnit) - Method in class java.time.Period
-
Gets the value of the requested unit.
- get(TemporalField) - Method in interface java.time.temporal.TemporalAccessor
-
Gets the value of the specified field as an int.
- get(TemporalUnit) - Method in interface java.time.temporal.TemporalAmount
-
Returns the value of the requested unit.
- 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.
- getAvailableChronologies() - Static method in interface java.time.chrono.Chronology
-
Returns the available chronologies.
- getAvailableLocales() - Static method in class java.time.format.DecimalStyle
-
Lists all the locales that are supported.
- 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.HijrahChronology
-
Gets the calendar type of the Islamic calendar.
- getCalendarType() - Method in class java.time.chrono.IsoChronology
-
Gets the calendar type of the underlying calendar system - 'iso8601'.
- getCalendarType() - Method in class java.time.chrono.JapaneseChronology
-
Gets the calendar type of the underlying calendar system - 'japanese'.
- getCalendarType() - Method in class java.time.chrono.MinguoChronology
-
Gets the calendar type of the underlying calendar system - 'roc'.
- getCalendarType() - Method in class java.time.chrono.ThaiBuddhistChronology
-
Gets the calendar type of the underlying calendar system - 'buddhist'.
- 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.chrono.HijrahDate
-
Gets the chronology of this date, which is the Hijrah calendar system.
- getChronology() - Method in class java.time.chrono.JapaneseDate
-
Gets the chronology of this date, which is the Japanese calendar system.
- getChronology() - Method in class java.time.chrono.MinguoDate
-
Gets the chronology of this date, which is the Minguo calendar system.
- getChronology() - Method in class java.time.chrono.ThaiBuddhistDate
-
Gets the chronology of this date, which is the Thai Buddhist calendar system.
- getChronology() - Method in class java.time.format.DateTimeFormatter
-
Gets the overriding chronology to be used during formatting.
- 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.Period
-
Gets the chronology of this period, which is the ISO calendar system.
- 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.
- getDecimalSeparator() - Method in class java.time.format.DecimalStyle
-
Gets the character that represents the decimal point.
- getDecimalStyle() - Method in class java.time.format.DateTimeFormatter
-
Gets the DecimalStyle to be used during formatting.
- getDisplayName(TextStyle, Locale) - Method in interface java.time.chrono.Chronology
-
Gets the textual representation of this chronology.
- getDisplayName(TextStyle, Locale) - Method in interface java.time.chrono.Era
-
Gets the textual representation of this era.
- getDisplayName(TextStyle, Locale) - Method in enum java.time.DayOfWeek
-
Gets the textual representation, such as 'Mon' or 'Friday'.
- getDisplayName(TextStyle, Locale) - Method in enum java.time.Month
-
Gets the textual representation, such as 'Jan' or 'December'.
- getDisplayName(Locale) - Method in enum java.time.temporal.ChronoField
-
- getDisplayName(Locale) - Method in interface java.time.temporal.TemporalField
-
Gets the display name for the field in the requested locale.
- getDisplayName(TextStyle, Locale) - Method in class java.time.ZoneId
-
Gets the textual representation of the zone, such as 'British Time' or
'+02:00'.
- 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.chrono.HijrahDate
-
Gets the era applicable at this date.
- getEra() - Method in class java.time.chrono.JapaneseDate
-
Gets the era applicable at this date.
- getEra() - Method in class java.time.chrono.MinguoDate
-
Gets the era applicable at this date.
- getEra() - Method in class java.time.chrono.ThaiBuddhistDate
-
Gets the era applicable at this date.
- getEra() - Method in class java.time.LocalDate
-
Gets the era applicable at this date.
- getErrorIndex() - Method in exception java.time.format.DateTimeParseException
-
Returns the index where the error was found.
- 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.HijrahChronology
-
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.chrono.JapaneseChronology
-
Gets the ID of the chronology - 'Japanese'.
- getId() - Method in class java.time.chrono.MinguoChronology
-
Gets the ID of the chronology - 'Minguo'.
- getId() - Method in class java.time.chrono.ThaiBuddhistChronology
-
Gets the ID of the chronology - 'ThaiBuddhist'.
- 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.
- getLocale() - Method in class java.time.format.DateTimeFormatter
-
Gets the locale to be used during formatting.
- getLocalizedDateTimePattern(FormatStyle, FormatStyle, Chronology, Locale) - Static method in class java.time.format.DateTimeFormatterBuilder
-
Gets the formatting pattern for date and time styles for a locale and chronology.
- getLocalTime() - Method in class java.time.zone.ZoneOffsetTransitionRule
-
- 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 class java.time.chrono.HijrahDate
-
- getLong(TemporalField) - Method in class java.time.chrono.JapaneseDate
-
- getLong(TemporalField) - Method in class java.time.chrono.MinguoDate
-
- getLong(TemporalField) - Method in class java.time.chrono.ThaiBuddhistDate
-
- 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 Month enum.
- getMonth() - Method in class java.time.LocalDateTime
-
Gets the month-of-year field using the Month enum.
- getMonth() - Method in class java.time.MonthDay
-
Gets the month-of-year field using the Month enum.
- getMonth() - Method in class java.time.OffsetDateTime
-
Gets the month-of-year field using the Month enum.
- getMonth() - Method in class java.time.YearMonth
-
Gets the month-of-year field using the Month enum.
- 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 Month enum.
- 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.
- getNegativeSign() - Method in class java.time.format.DecimalStyle
-
Gets the character that represents the negative sign.
- 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(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.
- getOffset() - Method in class java.time.ZonedDateTime
-
Gets the zone offset, such as '+01:00'.
- 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.
- getParsedString() - Method in exception java.time.format.DateTimeParseException
-
Returns the string that was being parsed.
- getPositiveSign() - Method in class java.time.format.DecimalStyle
-
Gets the character that represents the positive sign.
- 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.
- getResolverFields() - Method in class java.time.format.DateTimeFormatter
-
Gets the resolver fields to use during parsing.
- getResolverStyle() - Method in class java.time.format.DateTimeFormatter
-
Gets the resolver style to use during parsing.
- getRules(String, boolean) - Static method in class java.time.zone.ZoneRulesProvider
-
Gets the rules for the zone ID.
- 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.
- 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.HijrahEra
-
Gets the numeric era int value.
- getValue() - Method in enum java.time.chrono.IsoEra
-
Gets the numeric era int value.
- getValue() - Method in class java.time.chrono.JapaneseEra
-
Gets the numeric era int value.
- getValue() - Method in enum java.time.chrono.MinguoEra
-
Gets the numeric era int value.
- getValue() - Method in enum java.time.chrono.ThaiBuddhistEra
-
Gets the numeric era int value.
- getValue() - Method in enum java.time.DayOfWeek
-
Gets the day-of-week int value.
- getValue() - Method in enum java.time.Month
-
Gets the month-of-year int value.
- 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.
- getZeroDigit() - Method in class java.time.format.DecimalStyle
-
Gets the character that represents zero.
- 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.format.DateTimeFormatter
-
Gets the overriding zone to be used during formatting.
- getZone() - Method in class java.time.ZonedDateTime
-
Gets the time-zone, such as 'Europe/Paris'.
- INSTANCE - Static variable in class java.time.chrono.HijrahChronology
-
Singleton instance of the Islamic Umm Al-Qura calendar of Saudi Arabia.
- INSTANCE - Static variable in class java.time.chrono.IsoChronology
-
Singleton instance of the ISO chronology.
- INSTANCE - Static variable in class java.time.chrono.JapaneseChronology
-
Singleton instance for Japanese chronology.
- INSTANCE - Static variable in class java.time.chrono.MinguoChronology
-
Singleton instance for the Minguo chronology.
- INSTANCE - Static variable in class java.time.chrono.ThaiBuddhistChronology
-
Singleton instance of the Buddhist 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.
- isAfter(ChronoLocalDate) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if this date is after the specified date ignoring the chronology.
- isAfter(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is after the specified date-time ignoring the chronology.
- 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(Instant) - Method in class java.time.Instant
-
Checks if this instant is after the specified instant.
- isAfter(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is after the specified date.
- isAfter(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is after the specified date-time.
- isAfter(LocalTime) - Method in class java.time.LocalTime
-
Checks if this LocalTime is after the specified time.
- isAfter(MonthDay) - Method in class java.time.MonthDay
-
Is this month-day 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 OffsetTime is after that of the
specified time applying both times to a common date.
- isAfter(Year) - Method in class java.time.Year
-
Is this year after the specified year.
- isAfter(YearMonth) - Method in class java.time.YearMonth
-
Is this year-month 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(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is before the specified date-time ignoring the chronology.
- 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(Instant) - Method in class java.time.Instant
-
Checks if this instant is before the specified instant.
- isBefore(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is before the specified date.
- isBefore(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is before the specified date-time.
- isBefore(LocalTime) - Method in class java.time.LocalTime
-
Checks if this LocalTime is before the specified time.
- isBefore(MonthDay) - Method in class java.time.MonthDay
-
Is this month-day 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 OffsetTime is before that of the
specified time applying both times to a common date.
- isBefore(Year) - Method in class java.time.Year
-
Is this year before the specified year.
- isBefore(YearMonth) - Method in class java.time.YearMonth
-
Is this year-month 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(ChronoLocalDateTime<?>) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if this date-time is equal to the specified date-time ignoring the chronology.
- 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(ChronoLocalDate) - Method in class java.time.LocalDate
-
Checks if this date is equal to the specified date.
- isEqual(ChronoLocalDateTime<?>) - Method in class java.time.LocalDateTime
-
Checks if this date-time is equal to the specified date-time.
- 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 OffsetTime is 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(long) - Static method in class java.time.Year
-
Checks if the year is a leap year, according to the ISO proleptic
calendar system rules.
- isLeap() - 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(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.HijrahChronology
-
- isLeapYear() - Method in class java.time.chrono.HijrahDate
-
Checks if the year is a leap year, according to the Hijrah calendar system rules.
- 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.
- isLeapYear(long) - Method in class java.time.chrono.JapaneseChronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class java.time.chrono.MinguoChronology
-
Checks if the specified year is a leap year.
- isLeapYear(long) - Method in class java.time.chrono.ThaiBuddhistChronology
-
Checks if the specified year is a leap year.
- 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.
- 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.
- ISO_DATE - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date formatter that formats or parses a date with the
offset if available, such as '2011-12-03' or '2011-12-03+01:00'.
- ISO_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO-like date-time formatter that formats or parses a date-time with
the offset and zone if available, such as '2011-12-03T10:15:30',
'2011-12-03T10:15:30+01:00' or '2011-12-03T10:15:30+01:00[Europe/Paris]'.
- ISO_INSTANT - Static variable in class java.time.format.DateTimeFormatter
-
The ISO instant formatter that formats or parses an instant in UTC,
such as '2011-12-03T10:15:30Z'.
- ISO_LOCAL_DATE - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date formatter that formats or parses a date without an
offset, such as '2011-12-03'.
- ISO_LOCAL_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date-time formatter that formats or parses a date-time without
an offset, such as '2011-12-03T10:15:30'.
- ISO_LOCAL_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO time formatter that formats or parses a time without an
offset, such as '10:15' or '10:15:30'.
- ISO_OFFSET_DATE - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date formatter that formats or parses a date with an
offset, such as '2011-12-03+01:00'.
- ISO_OFFSET_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date-time formatter that formats or parses a date-time with an
offset, such as '2011-12-03T10:15:30+01:00'.
- ISO_OFFSET_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO time formatter that formats or parses a time with an
offset, such as '10:15+01:00' or '10:15:30+01:00'.
- ISO_ORDINAL_DATE - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date formatter that formats or parses the ordinal date
without an offset, such as '2012-337'.
- ISO_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO time formatter that formats or parses a time, with the
offset if available, such as '10:15', '10:15:30' or '10:15:30+01:00'.
- ISO_WEEK_DATE - Static variable in class java.time.format.DateTimeFormatter
-
The ISO date formatter that formats or parses the week-based date
without an offset, such as '2012-W48-6'.
- ISO_ZONED_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
-
The ISO-like date-time formatter that formats or parses a date-time with
offset and zone, such as '2011-12-03T10:15:30+01:00[Europe/Paris]'.
- 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.
- isStandalone() - Method in enum java.time.format.TextStyle
-
Returns true if the Style is a stand-alone style.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDate
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in interface java.time.chrono.Era
-
Checks if the specified field is supported.
- isSupported(TemporalField) - Method in class java.time.chrono.JapaneseDate
-
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(TemporalUnit) - Method in class java.time.Instant
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.LocalDate
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalDate
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.LocalDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.LocalTime
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class java.time.LocalTime
-
Checks if the specified unit 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(TemporalUnit) - Method in class java.time.OffsetDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.OffsetTime
-
Checks if the specified field 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(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(TemporalUnit) - Method in class java.time.Year
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.YearMonth
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class java.time.YearMonth
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.ZonedDateTime
-
Checks if the specified field is supported.
- isSupported(TemporalUnit) - Method in class java.time.ZonedDateTime
-
Checks if the specified unit is supported.
- isSupported(TemporalField) - Method in class java.time.ZoneOffset
-
Checks if the specified field is supported.
- isSupportedBy(TemporalAccessor) - Method in enum java.time.temporal.ChronoField
-
- isSupportedBy(Temporal) - Method in enum java.time.temporal.ChronoUnit
-
- isSupportedBy(TemporalAccessor) - Method in interface java.time.temporal.TemporalField
-
Checks if this field is supported by the temporal object.
- isSupportedBy(Temporal) - Method in interface java.time.temporal.TemporalUnit
-
Checks if this unit is supported by the specified 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(ZoneOffset) - Method in class java.time.zone.ZoneOffsetTransition
-
Checks if the specified offset is valid during this transition.
- isValidOffset(LocalDateTime, ZoneOffset) - Method in class java.time.zone.ZoneRules
-
Checks if the offset date-time is valid for these rules.
- 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.
- 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.
- MEIJI - Static variable in class java.time.chrono.JapaneseEra
-
The singleton instance for the 'Meiji' era (1868-01-01 - 1912-07-29)
which has the value -1.
- MIDNIGHT - Static variable in class java.time.LocalTime
-
The time of midnight at the start of the day, '00:00'.
- millis() - Method in class java.time.Clock
-
Gets the current millisecond instant of the clock.
- 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'.
- MinguoChronology - Class in java.time.chrono
-
The Minguo calendar system.
- MinguoDate - Class in java.time.chrono
-
A date in the Minguo calendar system.
- MinguoEra - Enum in java.time.chrono
-
An era in the Minguo calendar system.
- minLength() - Method in enum java.time.Month
-
Gets the minimum length of this month in days.
- minus(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with an amount subtracted.
- 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(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with an amount 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(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(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(TemporalAmount) - Method in class java.time.chrono.HijrahDate
-
Returns an object of the same type as this object with an amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.chrono.HijrahDate
-
- minus(TemporalAmount) - Method in class java.time.chrono.JapaneseDate
-
Returns an object of the same type as this object with an amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.chrono.JapaneseDate
-
- minus(TemporalAmount) - Method in class java.time.chrono.MinguoDate
-
Returns an object of the same type as this object with an amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.chrono.MinguoDate
-
- minus(TemporalAmount) - Method in class java.time.chrono.ThaiBuddhistDate
-
Returns an object of the same type as this object with an amount subtracted.
- minus(long, TemporalUnit) - Method in class java.time.chrono.ThaiBuddhistDate
-
- minus(long) - Method in enum java.time.DayOfWeek
-
Returns the day-of-week that is the specified number of days before this one.
- minus(Duration) - 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.Duration
-
Returns a copy of this duration with the specified duration subtracted.
- minus(TemporalAmount) - 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.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(long, TemporalUnit) - 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(long, TemporalUnit) - 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(long, TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount subtracted.
- minus(long) - Method in enum java.time.Month
-
Returns the month-of-year that is the specified number of months before this one.
- minus(TemporalAmount) - 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.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(long, TemporalUnit) - 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(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(TemporalAmount) - 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.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(long, TemporalUnit) - 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.
- minus(long, TemporalUnit) - 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 LocalDate with the specified number of days subtracted.
- minusDays(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in days subtracted.
- minusDays(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in hours subtracted.
- minusHours(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in hours subtracted.
- minusHours(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in hours subtracted.
- minusHours(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in hours subtracted.
- minusHours(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in minutes subtracted.
- minusMinutes(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in minutes subtracted.
- minusMinutes(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in minutes subtracted.
- minusMinutes(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in minutes subtracted.
- minusMinutes(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in minutes subtracted.
- minusMonths(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in months subtracted.
- minusMonths(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in months subtracted.
- minusMonths(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 year-month with the specified period in months subtracted.
- minusMonths(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in nanoseconds subtracted.
- minusNanos(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in seconds subtracted.
- minusSeconds(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in seconds subtracted.
- minusSeconds(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in seconds subtracted.
- minusSeconds(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in seconds subtracted.
- minusSeconds(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in seconds subtracted.
- minusWeeks(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in weeks subtracted.
- minusWeeks(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in weeks subtracted.
- minusWeeks(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in weeks subtracted.
- minusWeeks(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in weeks subtracted.
- minusYears(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in years subtracted.
- minusYears(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in years subtracted.
- minusYears(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 year with the specified number of years subtracted.
- minusYears(long) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified period in years subtracted.
- minusYears(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in years subtracted.
- MODIFIED_JULIAN_DAY - Static variable in class java.time.temporal.JulianFields
-
Modified Julian Day field.
- Month - Enum in java.time
-
A month-of-year, such as 'July'.
- MonthDay - Class in java.time
-
A month-day in the ISO-8601 calendar system, such as --12-03.
- 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(long) - Method in class java.time.Duration
-
Returns a copy of this duration multiplied by the scalar.
- multipliedBy(int) - Method in class java.time.Period
-
Returns a new instance with each element in this period multiplied
by the specified scalar.
- 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 ZoneOffset where possible.
- now() - Static method in class java.time.chrono.HijrahDate
-
Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar
in the default time-zone.
- now(ZoneId) - Static method in class java.time.chrono.HijrahDate
-
Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar
in the specified time-zone.
- now(Clock) - Static method in class java.time.chrono.HijrahDate
-
Obtains the current HijrahDate of the Islamic Umm Al-Qura calendar
from the specified clock.
- now() - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current JapaneseDate from the system clock in the default time-zone.
- now(ZoneId) - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current JapaneseDate from the system clock in the specified time-zone.
- now(Clock) - Static method in class java.time.chrono.JapaneseDate
-
Obtains the current JapaneseDate from the specified clock.
- now() - Static method in class java.time.chrono.MinguoDate
-
Obtains the current MinguoDate from the system clock in the default time-zone.
- now(ZoneId) - Static method in class java.time.chrono.MinguoDate
-
Obtains the current MinguoDate from the system clock in the specified time-zone.
- now(Clock) - Static method in class java.time.chrono.MinguoDate
-
Obtains the current MinguoDate from the specified clock.
- now() - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current ThaiBuddhistDate from the system clock in the default time-zone.
- now(ZoneId) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current ThaiBuddhistDate from the system clock in the specified time-zone.
- now(Clock) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains the current ThaiBuddhistDate from the specified clock.
- now() - Static method in class java.time.Instant
-
Obtains the current instant from the system clock.
- now(Clock) - Static method in class java.time.Instant
-
Obtains the current instant from the specified clock.
- now() - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the default time-zone.
- now(ZoneId) - Static method in class java.time.LocalDate
-
Obtains the current date from the system clock in the specified time-zone.
- now(Clock) - Static method in class java.time.LocalDate
-
Obtains the current date from the specified clock.
- now() - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the system clock in the default 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(Clock) - Static method in class java.time.LocalDateTime
-
Obtains the current date-time from the specified clock.
- now() - Static method in class java.time.LocalTime
-
Obtains the current time from the system clock in the default 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(Clock) - Static method in class java.time.LocalTime
-
Obtains the current time from the specified clock.
- now() - Static method in class java.time.MonthDay
-
Obtains the current month-day from the system clock in the default 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(Clock) - Static method in class java.time.MonthDay
-
Obtains the current month-day from the specified clock.
- now() - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the system clock in the default 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(Clock) - Static method in class java.time.OffsetDateTime
-
Obtains the current date-time from the specified clock.
- now() - Static method in class java.time.OffsetTime
-
Obtains the current time from the system clock in the default 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(Clock) - Static method in class java.time.OffsetTime
-
Obtains the current time from the specified clock.
- now() - Static method in class java.time.Year
-
Obtains the current year from the system clock in the default 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(Clock) - Static method in class java.time.Year
-
Obtains the current year from the specified clock.
- now() - Static method in class java.time.YearMonth
-
Obtains the current year-month from the system clock in the default 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(Clock) - Static method in class java.time.YearMonth
-
Obtains the current year-month from the specified clock.
- now() - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the system clock in the default 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.
- now(Clock) - Static method in class java.time.ZonedDateTime
-
Obtains the current date-time from the specified clock.
- of(String) - Static method in interface java.time.chrono.Chronology
-
Obtains an instance of Chronology from a chronology ID or
calendar system type.
- of(int, int, int) - Static method in class java.time.chrono.HijrahDate
-
Obtains a HijrahDate of the Islamic Umm Al-Qura calendar
from the proleptic-year, month-of-year and day-of-month fields.
- of(int) - Static method in enum java.time.chrono.HijrahEra
-
Obtains an instance of HijrahEra from an int value.
- of(int) - Static method in enum java.time.chrono.IsoEra
-
Obtains an instance of IsoEra from an int value.
- of(JapaneseEra, int, int, int) - Static method in class java.time.chrono.JapaneseDate
-
Obtains a JapaneseDate representing a date in the Japanese calendar
system from the era, year-of-era, month-of-year and day-of-month fields.
- of(int, int, int) - Static method in class java.time.chrono.JapaneseDate
-
Obtains a JapaneseDate representing a date in the Japanese calendar
system from the proleptic-year, month-of-year and day-of-month fields.
- of(int) - Static method in class java.time.chrono.JapaneseEra
-
Obtains an instance of JapaneseEra from an int value.
- of(int, int, int) - Static method in class java.time.chrono.MinguoDate
-
Obtains a MinguoDate representing a date in the Minguo calendar
system from the proleptic-year, month-of-year and day-of-month fields.
- of(int) - Static method in enum java.time.chrono.MinguoEra
-
Obtains an instance of MinguoEra from an int value.
- of(int, int, int) - Static method in class java.time.chrono.ThaiBuddhistDate
-
Obtains a ThaiBuddhistDate representing a date in the Thai Buddhist calendar
system from the proleptic-year, month-of-year and day-of-month fields.
- of(int) - Static method in enum java.time.chrono.ThaiBuddhistEra
-
Obtains an instance of ThaiBuddhistEra from an int value.
- of(int) - Static method in enum java.time.DayOfWeek
-
Obtains an instance of DayOfWeek from an int value.
- of(long, TemporalUnit) - Static method in class java.time.Duration
-
Obtains a Duration representing an amount in the specified unit.
- of(Locale) - Static method in class java.time.format.DecimalStyle
-
Obtains the DecimalStyle for the specified locale.
- of(int, Month, int) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a year, month and day.
- of(int, int, int) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a year, month and day.
- of(int, Month, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour and minute, setting the second and nanosecond to zero.
- of(int, Month, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour, minute and second, setting the nanosecond to zero.
- of(int, Month, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour, minute, second and nanosecond.
- of(int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour and minute, setting the second and nanosecond to zero.
- of(int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour, minute and second, setting the nanosecond to zero.
- of(int, int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from year, month,
day, hour, minute, second and nanosecond.
- of(LocalDate, LocalTime) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from a date and time.
- of(int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from an hour and minute.
- of(int, int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from an hour, minute and second.
- of(int, int, int, int) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from an hour, minute, second and nanosecond.
- of(int) - Static method in enum java.time.Month
-
Obtains an instance of Month from an int value.
- of(Month, int) - Static method in class java.time.MonthDay
-
Obtains an instance of MonthDay.
- of(int, int) - Static method in class java.time.MonthDay
-
Obtains an instance of MonthDay.
- of(LocalDate, LocalTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a date, time and offset.
- of(LocalDateTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a date-time and offset.
- of(int, int, int, int, int, int, int, ZoneOffset) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a year, month, day,
hour, minute, second, nanosecond and offset.
- of(LocalTime, ZoneOffset) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from a local time and an offset.
- of(int, int, int, int, ZoneOffset) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from an hour, minute, second and nanosecond.
- of(int, int, int) - Static method in class java.time.Period
-
Obtains a Period representing a number of years, months and days.
- 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(Locale) - Static method in class java.time.temporal.WeekFields
-
Obtains an instance of WeekFields appropriate for a locale.
- of(DayOfWeek, int) - Static method in class java.time.temporal.WeekFields
-
Obtains an instance of WeekFields from the first day-of-week and minimal days.
- of(int) - Static method in class java.time.Year
-
Obtains an instance of Year.
- of(int, Month) - Static method in class java.time.YearMonth
-
Obtains an instance of YearMonth from a year and month.
- of(int, int) - Static method in class java.time.YearMonth
-
Obtains an instance of YearMonth from a year and month.
- of(LocalDateTime, ZoneOffset, ZoneOffset) - Static method in class java.time.zone.ZoneOffsetTransition
-
Obtains an instance defining a transition between two offsets.
- 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, ZoneOffset, List<ZoneOffsetTransition>, List<ZoneOffsetTransition>, List<ZoneOffsetTransitionRule>) - Static method in class java.time.zone.ZoneRules
-
Obtains an instance of a ZoneRules.
- of(ZoneOffset) - Static method in class java.time.zone.ZoneRules
-
Obtains an instance of ZoneRules that has fixed zone rules.
- of(LocalDate, LocalTime, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a local date and time.
- of(LocalDateTime, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a local date-time.
- of(int, int, int, int, int, int, int, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a year, month, day,
hour, minute, second, nanosecond and time-zone.
- of(String, Map<String, String>) - Static method in class java.time.ZoneId
-
Obtains an instance of ZoneId using its ID using a map
of aliases to supplement the standard zone IDs.
- of(String) - Static method in class java.time.ZoneId
-
Obtains an instance of ZoneId from an ID ensuring that the
ID is valid and available for use.
- of(String) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset using the ID.
- ofDateAdjuster(UnaryOperator<LocalDate>) - Static method in class java.time.temporal.TemporalAdjusters
-
Obtains a TemporalAdjuster that wraps a date adjuster.
- ofDays(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of standard 24 hour days.
- ofDays(int) - Static method in class java.time.Period
-
Obtains a Period representing a number of days.
- ofDefaultLocale() - Static method in class java.time.format.DecimalStyle
-
Obtains the DecimalStyle for the default
FORMAT locale.
- ofEpochDay(long) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from the epoch day count.
- ofEpochMilli(long) - Static method in class java.time.Instant
-
Obtains an instance of Instant using milliseconds from the
epoch of 1970-01-01T00:00:00Z.
- ofEpochSecond(long) - Static method in class java.time.Instant
-
Obtains an instance of Instant using seconds from the
epoch of 1970-01-01T00:00:00Z.
- ofEpochSecond(long, long) - Static method in class java.time.Instant
-
Obtains an instance of Instant using seconds from the
epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second.
- ofEpochSecond(long, int, ZoneOffset) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime using seconds from the
epoch of 1970-01-01T00:00:00Z.
- 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() - Static method in class java.time.temporal.TemporalQueries
-
A query for ZoneOffset returning null if not found.
- 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(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of standard hours.
- ofHours(int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset using an offset in hours.
- ofHoursMinutes(int, int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset using an offset in
hours and minutes.
- ofHoursMinutesSeconds(int, int, int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset using an offset in
hours, minutes and seconds.
- ofInstant(Instant, ZoneId) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from an Instant and zone ID.
- ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from an Instant and zone ID.
- ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from an Instant and zone ID.
- ofInstant(Instant, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from an Instant.
- ofInstant(LocalDateTime, ZoneOffset, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from the instant formed by combining
the local date-time and offset.
- ofLocal(LocalDateTime, ZoneId, ZoneOffset) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a local date-time
using the preferred offset if possible.
- ofLocale(Locale) - Static method in interface java.time.chrono.Chronology
-
Obtains an instance of Chronology from a locale.
- ofLocalizedDate(FormatStyle) - Static method in class java.time.format.DateTimeFormatter
-
Returns a locale specific date format for the ISO chronology.
- ofLocalizedDateTime(FormatStyle) - Static method in class java.time.format.DateTimeFormatter
-
Returns a locale specific date-time formatter for the ISO chronology.
- ofLocalizedDateTime(FormatStyle, FormatStyle) - Static method in class java.time.format.DateTimeFormatter
-
Returns a locale specific date and time format for the ISO chronology.
- ofLocalizedTime(FormatStyle) - Static method in class java.time.format.DateTimeFormatter
-
Returns a locale specific time format for the ISO chronology.
- ofMillis(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of milliseconds.
- ofMinutes(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of standard minutes.
- ofMonths(int) - Static method in class java.time.Period
-
Obtains a Period representing a number of months.
- ofNanoOfDay(long) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from a nanos-of-day value.
- ofNanos(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of nanoseconds.
- ofOffset(String, ZoneOffset) - Static method in class java.time.ZoneId
-
Obtains an instance of ZoneId wrapping an offset.
- ofPattern(String) - Static method in class java.time.format.DateTimeFormatter
-
Creates a formatter using the specified pattern.
- ofPattern(String, Locale) - Static method in class java.time.format.DateTimeFormatter
-
Creates a formatter using the specified pattern and locale.
- ofSecondOfDay(long) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from a second-of-day value.
- ofSeconds(long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of seconds.
- ofSeconds(long, long) - Static method in class java.time.Duration
-
Obtains a Duration representing a number of seconds and an
adjustment in nanoseconds.
- ofStrict(LocalDateTime, ZoneOffset, ZoneId) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime strictly validating the
combination of local date-time, offset and zone ID.
- ofTotalSeconds(int) - Static method in class java.time.ZoneOffset
-
Obtains an instance of ZoneOffset specifying the total offset in seconds
- ofWeeks(int) - Static method in class java.time.Period
-
Obtains a Period representing a number of weeks.
- ofYearDay(int, int) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a year and day-of-year.
- ofYears(int) - Static method in class java.time.Period
-
Obtains a Period representing a number of years.
- optionalEnd() - Method in class java.time.format.DateTimeFormatterBuilder
-
Ends an optional section.
- optionalStart() - Method in class java.time.format.DateTimeFormatterBuilder
-
Mark the start of an optional section.
- padNext(int) - Method in class java.time.format.DateTimeFormatterBuilder
-
Causes the next added printer/parser to pad to a fixed width using a space.
- padNext(int, char) - Method in class java.time.format.DateTimeFormatterBuilder
-
Causes the next added printer/parser to pad to a fixed width.
- parse(CharSequence) - Static method in class java.time.Duration
-
Obtains a Duration from a text string such as PnDTnHnMn.nS.
- parse(CharSequence) - Method in class java.time.format.DateTimeFormatter
-
Fully parses the text producing a temporal object.
- parse(CharSequence, ParsePosition) - Method in class java.time.format.DateTimeFormatter
-
Parses the text using this formatter, providing control over the text position.
- parse(CharSequence, TemporalQuery<T>) - Method in class java.time.format.DateTimeFormatter
-
Fully parses the text producing an object of the specified type.
- parse(CharSequence) - Static method in class java.time.Instant
-
Obtains an instance of Instant from a text string such as
2007-12-03T10:15:30.00Z.
- parse(CharSequence) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a text string such as 2007-12-03.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDate
-
Obtains an instance of LocalDate from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from a text string such as 2007-12-03T10:15:30.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDateTime
-
Obtains an instance of LocalDateTime from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from a text string such as 10:15.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalTime
-
Obtains an instance of LocalTime from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.MonthDay
-
Obtains an instance of MonthDay from a text string such as --12-03.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.MonthDay
-
Obtains an instance of MonthDay from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a text string
such as 2007-12-03T10:15:30+01:00.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.OffsetDateTime
-
Obtains an instance of OffsetDateTime from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from a text string such as 10:15:30+01:00.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.OffsetTime
-
Obtains an instance of OffsetTime from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.Period
-
Obtains a Period from a text string such as PnYnMnD.
- parse(CharSequence) - Static method in class java.time.Year
-
Obtains an instance of Year from a text string such as 2007.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.Year
-
Obtains an instance of Year from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.YearMonth
-
Obtains an instance of YearMonth from a text string such as 2007-12.
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.YearMonth
-
Obtains an instance of YearMonth from a text string using a specific formatter.
- parse(CharSequence) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a text string such as
2007-12-03T10:15:30+01:00[Europe/Paris].
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.ZonedDateTime
-
Obtains an instance of ZonedDateTime from a text string using a specific formatter.
- parseBest(CharSequence, TemporalQuery<?>...) - Method in class java.time.format.DateTimeFormatter
-
Fully parses the text producing an object of one of the specified types.
- parseCaseInsensitive() - Method in class java.time.format.DateTimeFormatterBuilder
-
Changes the parse style to be case insensitive for the remainder of the formatter.
- parseCaseSensitive() - Method in class java.time.format.DateTimeFormatterBuilder
-
Changes the parse style to be case sensitive for the remainder of the formatter.
- parseDefaulting(TemporalField, long) - Method in class java.time.format.DateTimeFormatterBuilder
-
Appends a default value for a field to the formatter for use in parsing.
- parsedExcessDays() - Static method in class java.time.format.DateTimeFormatter
-
A query that provides access to the excess days that were parsed.
- parsedLeapSecond() - Static method in class java.time.format.DateTimeFormatter
-
A query that provides access to whether a leap-second was parsed.
- parseLenient() - Method in class java.time.format.DateTimeFormatterBuilder
-
Changes the parse style to be lenient for the remainder of the formatter.
- parseStrict() - Method in class java.time.format.DateTimeFormatterBuilder
-
Changes the parse style to be strict for the remainder of the formatter.
- parseUnresolved(CharSequence, ParsePosition) - Method in class java.time.format.DateTimeFormatter
-
Parses the text using this formatter, without resolving the result, intended
for advanced use cases.
- 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(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDate
-
Returns an object of the same type as this object with an amount added.
- 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(TemporalAmount) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an object of the same type as this object with an amount 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(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(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(TemporalAmount) - Method in class java.time.chrono.HijrahDate
-
Returns an object of the same type as this object with an amount added.
- plus(long, TemporalUnit) - Method in class java.time.chrono.HijrahDate
-
- plus(TemporalAmount) - Method in class java.time.chrono.JapaneseDate
-
Returns an object of the same type as this object with an amount added.
- plus(long, TemporalUnit) - Method in class java.time.chrono.JapaneseDate
-
- plus(TemporalAmount) - Method in class java.time.chrono.MinguoDate
-
Returns an object of the same type as this object with an amount added.
- plus(long, TemporalUnit) - Method in class java.time.chrono.MinguoDate
-
- plus(TemporalAmount) - Method in class java.time.chrono.ThaiBuddhistDate
-
Returns an object of the same type as this object with an amount added.
- plus(long, TemporalUnit) - Method in class java.time.chrono.ThaiBuddhistDate
-
- plus(long) - Method in enum java.time.DayOfWeek
-
Returns the day-of-week that is the specified number of days after this one.
- plus(Duration) - 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.Duration
-
Returns a copy of this duration with the specified duration added.
- plus(TemporalAmount) - 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.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(long, TemporalUnit) - 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(long, TemporalUnit) - 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(long, TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this time with the specified amount added.
- plus(long) - Method in enum java.time.Month
-
Returns the month-of-year that is the specified number of quarters after this one.
- plus(TemporalAmount) - 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.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(long, TemporalUnit) - 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(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(TemporalAmount) - 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.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(long, TemporalUnit) - 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.
- plus(long, TemporalUnit) - 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 LocalDate with the specified number of days added.
- plusDays(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in days added.
- plusDays(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in hours added.
- plusHours(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in hours added.
- plusHours(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in hours added.
- plusHours(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in hours added.
- plusHours(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in minutes added.
- plusMinutes(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in minutes added.
- plusMinutes(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in minutes added.
- plusMinutes(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in minutes added.
- plusMinutes(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in minutes added.
- plusMonths(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in months added.
- plusMonths(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in months added.
- plusMonths(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 year-month with the specified period in months added.
- plusMonths(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in nanoseconds added.
- plusNanos(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in nanoseconds added.
- plusNanos(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in nanoseconds added.
- plusNanos(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in nanoseconds added.
- plusNanos(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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 LocalDateTime with the specified period in seconds added.
- plusSeconds(long) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the specified period in seconds added.
- plusSeconds(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in seconds added.
- plusSeconds(long) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified period in seconds added.
- plusSeconds(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in seconds added.
- plusWeeks(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in weeks added.
- plusWeeks(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in weeks added.
- plusWeeks(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in weeks added.
- plusWeeks(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in weeks added.
- plusYears(long) - Method in class java.time.LocalDate
-
Returns a copy of this LocalDate with the specified period in years added.
- plusYears(long) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the specified period in years added.
- plusYears(long) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified period in 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 year with the specified number of years added.
- plusYears(long) - Method in class java.time.YearMonth
-
Returns a copy of this year-month with the specified period in years added.
- plusYears(long) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the specified period in 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.
- 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.HijrahChronology
-
- prolepticYear(Era, int) - Method in class java.time.chrono.IsoChronology
-
- prolepticYear(Era, int) - Method in class java.time.chrono.JapaneseChronology
-
- prolepticYear(Era, int) - Method in class java.time.chrono.MinguoChronology
-
- prolepticYear(Era, int) - Method in class java.time.chrono.ThaiBuddhistChronology
-
- 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.
- TAISHO - Static variable in class java.time.chrono.JapaneseEra
-
The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24)
which has the value 0.
- 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.
- TextStyle - Enum in java.time.format
-
Enumeration of the style of text formatting and parsing.
- ThaiBuddhistChronology - Class in java.time.chrono
-
The Thai Buddhist calendar system.
- ThaiBuddhistDate - Class in java.time.chrono
-
A date in the Thai Buddhist calendar system.
- ThaiBuddhistEra - Enum in java.time.chrono
-
An era in the Thai Buddhist calendar system.
- 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 interface java.time.chrono.ChronoLocalDate
-
Gets a comparator that compares ChronoLocalDate in
time-line order ignoring the chronology.
- timeLineOrder() - Static method in interface java.time.chrono.ChronoLocalDateTime
-
Gets a comparator that compares ChronoLocalDateTime in
time-line order ignoring the chronology.
- timeLineOrder() - Static method in interface java.time.chrono.ChronoZonedDateTime
-
Gets a comparator that compares ChronoZonedDateTime in
time-line order ignoring the chronology.
- timeLineOrder() - Static method in class java.time.OffsetDateTime
-
Gets a comparator that compares two OffsetDateTime instances
based solely on the instant.
- 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.chrono.HijrahDate
-
- toEpochDay() - Method in class java.time.chrono.JapaneseDate
-
- toEpochDay() - Method in class java.time.chrono.MinguoDate
-
- toEpochDay() - Method in class java.time.chrono.ThaiBuddhistDate
-
- 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(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() - 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.
- toFormat() - Method in class java.time.format.DateTimeFormatter
-
Returns this formatter as a java.text.Format instance.
- toFormat(TemporalQuery<?>) - Method in class java.time.format.DateTimeFormatter
-
Returns this formatter as a java.text.Format instance that will
parse using the specified query.
- toFormatter() - Method in class java.time.format.DateTimeFormatterBuilder
-
Completes this builder by creating the DateTimeFormatter
using the default locale.
- toFormatter(Locale) - Method in class java.time.format.DateTimeFormatterBuilder
-
Completes this builder by creating the DateTimeFormatter
using the specified locale.
- toHours() - Method in class java.time.Duration
-
Gets the number of hours in this duration.
- toInstant(ZoneOffset) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Converts this date-time to an Instant.
- 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.
- 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 LocalDate part of this date-time.
- toLocalDate() - Method in class java.time.OffsetDateTime
-
Gets the LocalDate part of this date-time.
- toLocalDate() - Method in class java.time.ZonedDateTime
-
Gets the LocalDate part 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 LocalDateTime part of this offset date-time.
- toLocalDateTime() - Method in class java.time.ZonedDateTime
-
Gets the LocalDateTime part 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 LocalTime part of this date-time.
- toLocalTime() - Method in class java.time.OffsetDateTime
-
Gets the LocalTime part of this date-time.
- toLocalTime() - Method in class java.time.OffsetTime
-
Gets the LocalTime part of this date-time.
- toLocalTime() - Method in class java.time.ZonedDateTime
-
Gets the LocalTime part 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 0 to 24 * 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 0 to 24 * 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.chrono.JapaneseEra
-
- 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.format.DateTimeFormatter
-
Returns a description of the underlying formatters.
- toString() - Method in class java.time.format.DecimalStyle
-
Returns a string describing this DecimalStyle.
- toString() - Method in class java.time.Instant
-
A string representation of this instant using ISO-8601 representation.
- toString() - Method in class java.time.LocalDate
-
Outputs this date as a String, such as 2007-12-03.
- toString() - Method in class java.time.LocalDateTime
-
Outputs this date-time as a String, such as 2007-12-03T10:15:30.
- toString() - Method in class java.time.LocalTime
-
Outputs this time as a String, such as 10: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 as 2007-12-03T10:15:30+01:00.
- toString() - Method in class java.time.OffsetTime
-
Outputs this time as a String, such as 10:15:30+01:00.
- toString() - Method in class java.time.Period
-
Outputs this period as a String, such as P6Y3M1D.
- 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 WeekFields instance.
- 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 as 2007-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 as
2007-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 ZonedDateTime using the offset as the zone ID.
- truncatedTo(TemporalUnit) - Method in class java.time.Instant
-
Returns a copy of this Instant truncated to the specified unit.
- truncatedTo(TemporalUnit) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the time truncated.
- truncatedTo(TemporalUnit) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the time truncated.
- truncatedTo(TemporalUnit) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the time truncated.
- truncatedTo(TemporalUnit) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the time truncated.
- truncatedTo(TemporalUnit) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the time truncated.
- 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.
- 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(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(TemporalAdjuster) - Method in interface java.time.chrono.ChronoLocalDateTime
-
Returns an adjusted object of the same type as this object with the adjustment made.
- 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(TemporalAdjuster) - Method in interface java.time.chrono.ChronoZonedDateTime
-
Returns an adjusted object of the same type as this object with the adjustment made.
- 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.chrono.HijrahDate
-
- with(TemporalAdjuster) - Method in class java.time.chrono.HijrahDate
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalField, long) - Method in class java.time.chrono.JapaneseDate
-
- with(TemporalAdjuster) - Method in class java.time.chrono.JapaneseDate
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalField, long) - Method in class java.time.chrono.MinguoDate
-
- with(TemporalAdjuster) - Method in class java.time.chrono.MinguoDate
-
Returns an adjusted object of the same type as this object with the adjustment made.
- with(TemporalField, long) - Method in class java.time.chrono.ThaiBuddhistDate
-
- with(TemporalAdjuster) - Method in class java.time.chrono.ThaiBuddhistDate
-
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(TemporalField, long) - Method in class java.time.Instant
-
Returns a copy of this instant with the specified field set to a new value.
- with(TemporalAdjuster) - Method in class java.time.LocalDate
-
Returns an adjusted copy of this date.
- 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(TemporalAdjuster) - Method in class java.time.LocalDateTime
-
Returns an adjusted copy of this date-time.
- 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(TemporalAdjuster) - Method in class java.time.LocalTime
-
Returns an adjusted copy of this time.
- 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(Month) - Method in class java.time.MonthDay
-
Returns a copy of this MonthDay with the month-of-year altered.
- with(TemporalAdjuster) - Method in class java.time.OffsetDateTime
-
Returns an adjusted copy of this date-time.
- 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(TemporalAdjuster) - Method in class java.time.OffsetTime
-
Returns an adjusted copy of this time.
- 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(TemporalAdjuster) - Method in interface java.time.temporal.Temporal
-
Returns an adjusted object of the same type as this object with the adjustment made.
- 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(TemporalAdjuster) - Method in class java.time.Year
-
Returns an adjusted copy of this year.
- 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(TemporalAdjuster) - Method in class java.time.YearMonth
-
Returns an adjusted copy of this year-month.
- 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(TemporalAdjuster) - Method in class java.time.ZonedDateTime
-
Returns an adjusted copy of this date-time.
- 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.
- withChronology(Chronology) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new override chronology.
- withDayOfMonth(int) - Method in class java.time.LocalDate
-
Returns a copy of this date with the day-of-month altered.
- withDayOfMonth(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the day-of-month altered.
- withDayOfMonth(int) - Method in class java.time.MonthDay
-
Returns a copy of this MonthDay with the day-of-month altered.
- withDayOfMonth(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the day-of-month altered.
- withDayOfMonth(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the day-of-month value altered.
- withDayOfYear(int) - Method in class java.time.LocalDate
-
Returns a copy of this date with the day-of-year altered.
- withDayOfYear(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the day-of-year altered.
- withDayOfYear(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the day-of-year altered.
- withDayOfYear(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with 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.
- withDecimalSeparator(char) - Method in class java.time.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the decimal point.
- withDecimalStyle(DecimalStyle) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new DecimalStyle.
- 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 LocalDateTime with the hour-of-day value altered.
- withHour(int) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the hour-of-day value altered.
- withHour(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the hour-of-day value altered.
- withHour(int) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the hour-of-day value altered.
- withHour(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the hour-of-day value 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.
- withLocale(Locale) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new locale.
- withMinute(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the minute-of-hour value altered.
- withMinute(int) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the minute-of-hour value altered.
- withMinute(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the minute-of-hour value altered.
- withMinute(int) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the minute-of-hour value altered.
- withMinute(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the minute-of-hour value altered.
- withMonth(int) - Method in class java.time.LocalDate
-
Returns a copy of this date with the month-of-year altered.
- withMonth(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the month-of-year altered.
- withMonth(int) - Method in class java.time.MonthDay
-
Returns a copy of this MonthDay with the month-of-year altered.
- withMonth(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the month-of-year altered.
- withMonth(int) - Method in class java.time.YearMonth
-
Returns a copy of this YearMonth with the month-of-year altered.
- withMonth(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the month-of-year value 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 LocalDateTime with the nano-of-second value altered.
- withNano(int) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the nano-of-second value altered.
- withNano(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the nano-of-second value altered.
- withNano(int) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the nano-of-second value altered.
- withNano(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the nano-of-second value altered.
- withNanos(int) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified nano-of-second.
- withNegativeSign(char) - Method in class java.time.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the negative sign.
- withOffsetSameInstant(ZoneOffset) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified offset ensuring
that the result is at the same instant.
- withOffsetSameInstant(ZoneOffset) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified offset ensuring
that the result is at the same instant on an implied day.
- withOffsetSameLocal(ZoneOffset) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the specified offset ensuring
that the result has the same local date-time.
- withOffsetSameLocal(ZoneOffset) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the specified offset ensuring
that the result has the same local time.
- withPositiveSign(char) - Method in class java.time.format.DecimalStyle
-
Returns a copy of the info with a new character that represents the positive sign.
- withResolverFields(TemporalField...) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new set of resolver fields.
- withResolverFields(Set<TemporalField>) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new set of resolver fields.
- withResolverStyle(ResolverStyle) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new resolver style.
- withSecond(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the second-of-minute value altered.
- withSecond(int) - Method in class java.time.LocalTime
-
Returns a copy of this LocalTime with the second-of-minute value altered.
- withSecond(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the second-of-minute value altered.
- withSecond(int) - Method in class java.time.OffsetTime
-
Returns a copy of this OffsetTime with the second-of-minute value altered.
- withSecond(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the second-of-minute value altered.
- withSeconds(long) - Method in class java.time.Duration
-
Returns a copy of this duration with the specified amount of seconds.
- withVariant(HijrahChronology) - Method in class java.time.chrono.HijrahDate
-
Returns a HijrahDate with the Chronology requested.
- withYear(int) - Method in class java.time.LocalDate
-
Returns a copy of this date with the year altered.
- withYear(int) - Method in class java.time.LocalDateTime
-
Returns a copy of this LocalDateTime with the year altered.
- withYear(int) - Method in class java.time.OffsetDateTime
-
Returns a copy of this OffsetDateTime with the year altered.
- withYear(int) - Method in class java.time.YearMonth
-
Returns a copy of this YearMonth with the year altered.
- withYear(int) - Method in class java.time.ZonedDateTime
-
Returns a copy of this ZonedDateTime with the year value altered.
- withYears(int) - Method in class java.time.Period
-
Returns a copy of this period with the specified amount of years.
- withZeroDigit(char) - Method in class java.time.format.DecimalStyle
-
Returns a copy of the info with a new character that represents zero.
- withZone(ZoneId) - Method in class java.time.Clock
-
Returns a copy of this clock with a different time-zone.
- withZone(ZoneId) - Method in class java.time.format.DateTimeFormatter
-
Returns a copy of this formatter with a new override 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 ZonedDateTime 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.