java.time.temporal 包的共享 API
编辑java.time.temporal 包的共享 API
编辑请参阅 共享 API,了解所有包和类的概述。
ChronoField
编辑- static ChronoField ALIGNED_DAY_OF_WEEK_IN_MONTH
- static ChronoField ALIGNED_DAY_OF_WEEK_IN_YEAR
- static ChronoField ALIGNED_WEEK_OF_MONTH
- static ChronoField ALIGNED_WEEK_OF_YEAR
- static ChronoField AMPM_OF_DAY
- static ChronoField CLOCK_HOUR_OF_AMPM
- static ChronoField CLOCK_HOUR_OF_DAY
- static ChronoField DAY_OF_MONTH
- static ChronoField DAY_OF_WEEK
- static ChronoField DAY_OF_YEAR
- static ChronoField EPOCH_DAY
- static ChronoField ERA
- static ChronoField HOUR_OF_AMPM
- static ChronoField HOUR_OF_DAY
- static ChronoField INSTANT_SECONDS
- static ChronoField MICRO_OF_DAY
- static ChronoField MICRO_OF_SECOND
- static ChronoField MILLI_OF_DAY
- static ChronoField MILLI_OF_SECOND
- static ChronoField MINUTE_OF_DAY
- static ChronoField MINUTE_OF_HOUR
- static ChronoField MONTH_OF_YEAR
- static ChronoField NANO_OF_DAY
- static ChronoField NANO_OF_SECOND
- static ChronoField OFFSET_SECONDS
- static ChronoField PROLEPTIC_MONTH
- static ChronoField SECOND_OF_DAY
- static ChronoField SECOND_OF_MINUTE
- static ChronoField YEAR
- static ChronoField YEAR_OF_ERA
- static ChronoField valueOf(null)
- static ChronoField[] values()
- Temporal adjustInto(Temporal, long)
- int checkValidIntValue(long)
- long checkValidValue(long)
- int compareTo(Enum)
- boolean equals(Object)
- TemporalUnit getBaseUnit()
- null getDisplayName(Locale)
- long getFrom(TemporalAccessor)
- TemporalUnit getRangeUnit()
- int hashCode()
- boolean isDateBased()
- boolean isSupportedBy(TemporalAccessor)
- boolean isTimeBased()
- null name()
- int ordinal()
- ValueRange range()
- ValueRange rangeRefinedBy(TemporalAccessor)
- TemporalAccessor resolve(Map, TemporalAccessor, ResolverStyle)
- null toString()
ChronoUnit
编辑- static ChronoUnit CENTURIES
- static ChronoUnit DAYS
- static ChronoUnit DECADES
- static ChronoUnit ERAS
- static ChronoUnit FOREVER
- static ChronoUnit HALF_DAYS
- static ChronoUnit HOURS
- static ChronoUnit MICROS
- static ChronoUnit MILLENNIA
- static ChronoUnit MILLIS
- static ChronoUnit MINUTES
- static ChronoUnit MONTHS
- static ChronoUnit NANOS
- static ChronoUnit SECONDS
- static ChronoUnit WEEKS
- static ChronoUnit YEARS
- static ChronoUnit valueOf(null)
- static ChronoUnit[] values()
- Temporal addTo(Temporal, long)
- long between(Temporal, Temporal)
- int compareTo(Enum)
- boolean equals(Object)
- Duration getDuration()
- int hashCode()
- boolean isDateBased()
- boolean isDurationEstimated()
- boolean isSupportedBy(Temporal)
- boolean isTimeBased()
- null name()
- int ordinal()
- null toString()
IsoFields
编辑- static TemporalField DAY_OF_QUARTER
- static TemporalField QUARTER_OF_YEAR
- static TemporalUnit QUARTER_YEARS
- static TemporalField WEEK_BASED_YEAR
- static TemporalUnit WEEK_BASED_YEARS
- static TemporalField WEEK_OF_WEEK_BASED_YEAR
- boolean equals(Object)
- int hashCode()
- null toString
JulianFields
编辑- static TemporalField JULIAN_DAY
- static TemporalField MODIFIED_JULIAN_DAY
- static TemporalField RATA_DIE
- boolean equals(Object)
- int hashCode()
- null toString
Temporal
编辑- boolean equals(Object)
- int get(TemporalField)
- long getLong(TemporalField)
- int hashCode()
- boolean isSupported(TemporalField)
- Temporal minus(TemporalAmount)
- Temporal minus(long, TemporalUnit)
- Temporal plus(TemporalAmount)
- Temporal plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null toString
- long until(Temporal, TemporalUnit)
- Temporal with(TemporalAdjuster)
- Temporal with(TemporalField, long)
TemporalAccessor
编辑TemporalAdjuster
编辑- Temporal adjustInto(Temporal)
- boolean equals(Object)
- int hashCode()
- null toString
TemporalAdjusters
编辑- static TemporalAdjuster dayOfWeekInMonth(int, DayOfWeek)
- static TemporalAdjuster firstDayOfMonth()
- static TemporalAdjuster firstDayOfNextMonth()
- static TemporalAdjuster firstDayOfNextYear()
- static TemporalAdjuster firstDayOfYear()
- static TemporalAdjuster firstInMonth(DayOfWeek)
- static TemporalAdjuster lastDayOfMonth()
- static TemporalAdjuster lastDayOfYear()
- static TemporalAdjuster lastInMonth(DayOfWeek)
- static TemporalAdjuster next(DayOfWeek)
- static TemporalAdjuster nextOrSame(DayOfWeek)
- static TemporalAdjuster ofDateAdjuster(UnaryOperator)
- static TemporalAdjuster previous(DayOfWeek)
- static TemporalAdjuster previousOrSame(DayOfWeek)
- boolean equals(Object)
- int hashCode()
- null toString
TemporalAmount
编辑TemporalField
编辑- Temporal adjustInto(Temporal, long)
- boolean equals(Object)
- TemporalUnit getBaseUnit()
- null getDisplayName(Locale)
- long getFrom(TemporalAccessor)
- TemporalUnit getRangeUnit()
- int hashCode()
- boolean isDateBased()
- boolean isSupportedBy(TemporalAccessor)
- boolean isTimeBased()
- ValueRange range()
- ValueRange rangeRefinedBy(TemporalAccessor)
- TemporalAccessor resolve(Map, TemporalAccessor, ResolverStyle)
- null toString()
TemporalQueries
编辑TemporalUnit
编辑- Temporal addTo(Temporal, long)
- long between(Temporal, Temporal)
- boolean equals(Object)
- Duration getDuration()
- int hashCode()
- boolean isDateBased()
- boolean isDurationEstimated()
- boolean isSupportedBy(Temporal)
- boolean isTimeBased()
- null toString()
UnsupportedTemporalTypeException
编辑- UnsupportedTemporalTypeException(null)
- boolean equals(Object)
- null getLocalizedMessage()
- null getMessage()
- StackTraceElement[] getStackTrace()
- int hashCode()
- null toString
ValueRange
编辑- static ValueRange of(long, long)
- static ValueRange of(long, long, long)
- static ValueRange of(long, long, long, long)
- int checkValidIntValue(long, TemporalField)
- long checkValidValue(long, TemporalField)
- boolean equals(Object)
- long getLargestMinimum()
- long getMaximum()
- long getMinimum()
- long getSmallestMaximum()
- int hashCode()
- boolean isFixed()
- boolean isIntValue()
- boolean isValidIntValue(long)
- boolean isValidValue(long)
- null toString
WeekFields
编辑- static WeekFields ISO
- static WeekFields SUNDAY_START
- static TemporalUnit WEEK_BASED_YEARS
- static WeekFields of(Locale)
- static WeekFields of(DayOfWeek, int)
- TemporalField dayOfWeek()
- boolean equals(Object)
- DayOfWeek getFirstDayOfWeek()
- int getMinimalDaysInFirstWeek()
- int hashCode()
- null toString
- TemporalField weekBasedYear()
- TemporalField weekOfMonth()
- TemporalField weekOfWeekBasedYear()
- TemporalField weekOfYear()