类层次结构
- java.lang.Object
- java.time.Clock
- java.time.Duration (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.TemporalAmount)
- java.time.Instant (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.LocalDate (implements java.time.chrono.ChronoLocalDate, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.LocalDateTime (implements java.time.chrono.ChronoLocalDateTime<D>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.LocalTime (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.MonthDay (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.TemporalAccessor, java.time.temporal.TemporalAdjuster)
- java.time.OffsetDateTime (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.OffsetTime (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.Period (implements java.time.chrono.ChronoPeriod, java.io.Serializable)
- java.lang.Throwable (implements java.io.Serializable)
- java.lang.异常
- java.lang.RuntimeException
- java.time.DateTimeException
- java.lang.RuntimeException
- java.lang.异常
- java.time.Year (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.YearMonth (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster)
- java.time.ZonedDateTime (implements java.time.chrono.ChronoZonedDateTime<D>, java.io.Serializable, java.time.temporal.Temporal)
- java.time.ZoneId (implements java.io.Serializable)
- java.time.ZoneOffset (implements java.lang.Comparable<T>, java.io.Serializable, java.time.temporal.TemporalAccessor, java.time.temporal.TemporalAdjuster)
Enum Hierarchy
- java.lang.Object
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
- java.time.DayOfWeek (implements java.time.temporal.TemporalAccessor, java.time.temporal.TemporalAdjuster)
- java.time.Month (implements java.time.temporal.TemporalAccessor, java.time.temporal.TemporalAdjuster)
- java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)