java.time.chrono 包的共享 API
编辑java.time.chrono 包的共享 API
编辑请参阅 共享 API,以获取所有包和类的概述。
AbstractChronology
编辑- int compareTo(Chronology)
- ChronoLocalDate date(TemporalAccessor)
- ChronoLocalDate date(int, int, int)
- ChronoLocalDate date(Era, int, int, int)
- ChronoLocalDate dateEpochDay(long)
- ChronoLocalDate dateYearDay(int, int)
- ChronoLocalDate dateYearDay(Era, int, int)
- boolean equals(Object)
- Era eraOf(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- ChronoLocalDate resolveDate(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
ChronoLocalDate
编辑- static ChronoLocalDate from(TemporalAccessor)
- static Comparator timeLineOrder()
- Temporal adjustInto(Temporal)
- ChronoLocalDateTime atTime(LocalTime)
- int compareTo(ChronoLocalDate)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- Chronology getChronology()
- Era getEra()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDate)
- boolean isBefore(ChronoLocalDate)
- boolean isEqual(ChronoLocalDate)
- boolean isLeapYear()
- boolean isSupported(TemporalField)
- int lengthOfMonth()
- int lengthOfYear()
- ChronoLocalDate minus(TemporalAmount)
- ChronoLocalDate minus(long, TemporalUnit)
- ChronoLocalDate plus(TemporalAmount)
- ChronoLocalDate plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochDay()
- null toString()
- ChronoPeriod until(ChronoLocalDate)
- long until(Temporal, TemporalUnit)
- ChronoLocalDate with(TemporalAdjuster)
- ChronoLocalDate with(TemporalField, long)
ChronoLocalDateTime
编辑- static ChronoLocalDateTime from(TemporalAccessor)
- static Comparator timeLineOrder()
- Temporal adjustInto(Temporal)
- ChronoZonedDateTime atZone(ZoneId)
- int compareTo(ChronoLocalDateTime)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- Chronology getChronology()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDateTime)
- boolean isBefore(ChronoLocalDateTime)
- boolean isEqual(ChronoLocalDateTime)
- boolean isSupported(TemporalField)
- ChronoLocalDateTime minus(TemporalAmount)
- ChronoLocalDateTime minus(long, TemporalUnit)
- ChronoLocalDateTime plus(TemporalAmount)
- ChronoLocalDateTime plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochSecond(ZoneOffset)
- Instant toInstant(ZoneOffset)
- ChronoLocalDate toLocalDate()
- LocalTime toLocalTime()
- null toString()
- long until(Temporal, TemporalUnit)
- ChronoLocalDateTime with(TemporalAdjuster)
- ChronoLocalDateTime with(TemporalField, long)
ChronoPeriod
编辑- static ChronoPeriod between(ChronoLocalDate, ChronoLocalDate)
- Temporal addTo(Temporal)
- boolean equals(Object)
- long get(TemporalUnit)
- Chronology getChronology()
- List getUnits()
- int hashCode()
- boolean isNegative()
- boolean isZero()
- ChronoPeriod 减去(TemporalAmount)
- ChronoPeriod 乘以(int)
- ChronoPeriod 取反()
- ChronoPeriod 标准化()
- ChronoPeriod 加上(TemporalAmount)
- Temporal 从...中减去(Temporal)
- null 转换为字符串()
ChronoZonedDateTime
编辑- static ChronoZonedDateTime 从(TemporalAccessor)
- static Comparator 时间线顺序()
- int 比较(ChronoZonedDateTime)
- boolean 等于(Object)
- null 格式化(DateTimeFormatter)
- int get(TemporalField)
- Chronology 获取纪元()
- long getLong(TemporalField)
- ZoneOffset 获取偏移量()
- ZoneId 获取时区()
- int 哈希码()
- boolean 在...之后(ChronoZonedDateTime)
- boolean 在...之前(ChronoZonedDateTime)
- boolean 等于(ChronoZonedDateTime)
- boolean isSupported(TemporalField)
- ChronoZonedDateTime 减去(TemporalAmount)
- ChronoZonedDateTime 减去(long, TemporalUnit)
- ChronoZonedDateTime 加上(TemporalAmount)
- ChronoZonedDateTime 加上(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long 转换为纪元秒()
- Instant 转换为瞬时()
- ChronoLocalDate 转换为本地日期()
- ChronoLocalDateTime 转换为本地日期时间()
- LocalTime 转换为本地时间()
- null 转换为字符串()
- long until(Temporal, TemporalUnit)
- ChronoZonedDateTime 使用(TemporalAdjuster)
- ChronoZonedDateTime 使用(TemporalField, long)
- ChronoZonedDateTime 在重叠时使用较早的偏移量()
- ChronoZonedDateTime 在重叠时使用较晚的偏移量()
- ChronoZonedDateTime 使用相同瞬时的时区(ZoneId)
- ChronoZonedDateTime 使用相同本地时间的时区(ZoneId)
Chronology
编辑- static Chronology 从(TemporalAccessor)
- static Set 获取可用的纪元()
- static Chronology 根据名称获取纪元(null)
- static Chronology 根据区域设置获取纪元(Locale)
- int compareTo(Chronology)
- ChronoLocalDate date(TemporalAccessor)
- ChronoLocalDate date(int, int, int)
- ChronoLocalDate date(Era, int, int, int)
- ChronoLocalDate dateEpochDay(long)
- ChronoLocalDate dateYearDay(int, int)
- ChronoLocalDate dateYearDay(Era, int, int)
- boolean equals(Object)
- Era eraOf(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- ChronoLocalDate resolveDate(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
Era
编辑HijrahChronology
编辑- static HijrahChronology 实例
- int compareTo(Chronology)
- HijrahDate 日期(TemporalAccessor)
- HijrahDate 日期(int, int, int)
- HijrahDate 日期(Era, int, int, int)
- HijrahDate 纪元日日期(long)
- HijrahDate 年日日期(int, int)
- HijrahDate 年日日期(Era, int, int)
- boolean equals(Object)
- HijrahEra 纪元(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- HijrahDate 解析日期(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
HijrahDate
编辑- static HijrahDate 从(TemporalAccessor)
- static HijrahDate 创建(int, int, int)
- Temporal adjustInto(Temporal)
- ChronoLocalDateTime atTime(LocalTime)
- int compareTo(ChronoLocalDate)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- HijrahChronology 获取纪元()
- HijrahEra 获取纪元()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDate)
- boolean isBefore(ChronoLocalDate)
- boolean isEqual(ChronoLocalDate)
- boolean isLeapYear()
- boolean isSupported(TemporalField)
- int lengthOfMonth()
- int lengthOfYear()
- HijrahDate 减去(TemporalAmount)
- HijrahDate 减去(long, TemporalUnit)
- HijrahDate 加上(TemporalAmount)
- HijrahDate 加上(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochDay()
- null toString()
- ChronoPeriod until(ChronoLocalDate)
- long until(Temporal, TemporalUnit)
- HijrahDate 使用(TemporalAdjuster)
- HijrahDate 使用(TemporalField, long)
- HijrahDate 使用变体(HijrahChronology)
HijrahEra
编辑- static HijrahEra AH
- static HijrahEra 创建(int)
- static HijrahEra 根据名称获取(null)
- static HijrahEra[] 所有值()
- Temporal adjustInto(Temporal)
- int 比较(Enum)
- boolean 等于(Object)
- int get(TemporalField)
- null 获取显示名称(TextStyle, Locale)
- long getLong(TemporalField)
- int 获取值()
- int 哈希码()
- boolean isSupported(TemporalField)
- null 名称()
- int 序号()
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null 转换为字符串()
IsoChronology
编辑- static IsoChronology 实例
- int compareTo(Chronology)
- LocalDate 日期(TemporalAccessor)
- LocalDate 日期(int, int, int)
- LocalDate 日期(Era, int, int, int)
- LocalDate 纪元日日期(long)
- LocalDate 年日日期(int, int)
- LocalDate 年日日期(Era, int, int)
- boolean equals(Object)
- IsoEra 纪元(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- LocalDateTime 本地日期时间(TemporalAccessor)
- Period 周期(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- LocalDate 解析日期(Map, ResolverStyle)
- null toString()
- ZonedDateTime 时区日期时间(TemporalAccessor)
- ZonedDateTime 时区日期时间(Instant, ZoneId)
IsoEra
编辑- static IsoEra 公元前
- static IsoEra 公元
- static IsoEra 创建(int)
- static IsoEra 根据名称获取(null)
- static IsoEra[] 所有值()
- Temporal adjustInto(Temporal)
- int 比较(Enum)
- boolean 等于(Object)
- int get(TemporalField)
- null 获取显示名称(TextStyle, Locale)
- long getLong(TemporalField)
- int getValue()
- int 哈希码()
- boolean isSupported(TemporalField)
- null 名称()
- int 序号()
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null 转换为字符串()
日本纪年
编辑- static JapaneseChronology INSTANCE
- int compareTo(Chronology)
- JapaneseDate date(TemporalAccessor)
- JapaneseDate date(int, int, int)
- JapaneseDate date(Era, int, int, int)
- JapaneseDate dateEpochDay(long)
- JapaneseDate dateYearDay(int, int)
- JapaneseDate dateYearDay(Era, int, int)
- boolean equals(Object)
- JapaneseEra eraOf(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- JapaneseDate resolveDate(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
日本日期
编辑- static JapaneseDate from(TemporalAccessor)
- static JapaneseDate of(int, int, int)
- Temporal adjustInto(Temporal)
- ChronoLocalDateTime atTime(LocalTime)
- int compareTo(ChronoLocalDate)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- JapaneseChronology getChronology()
- JapaneseEra getEra()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDate)
- boolean isBefore(ChronoLocalDate)
- boolean isEqual(ChronoLocalDate)
- boolean isLeapYear()
- boolean isSupported(TemporalField)
- int lengthOfMonth()
- int lengthOfYear()
- JapaneseDate minus(TemporalAmount)
- JapaneseDate minus(long, TemporalUnit)
- JapaneseDate plus(TemporalAmount)
- JapaneseDate plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochDay()
- null toString()
- ChronoPeriod until(ChronoLocalDate)
- long until(Temporal, TemporalUnit)
- JapaneseDate with(TemporalAdjuster)
- JapaneseDate with(TemporalField, long)
日本年号
编辑- static JapaneseEra HEISEI
- static JapaneseEra MEIJI
- static JapaneseEra SHOWA
- static JapaneseEra TAISHO
- static JapaneseEra of(int)
- static JapaneseEra valueOf(null)
- static JapaneseEra[] values()
- Temporal adjustInto(Temporal)
- boolean 等于(Object)
- int get(TemporalField)
- null 获取显示名称(TextStyle, Locale)
- long getLong(TemporalField)
- int getValue()
- int 哈希码()
- boolean isSupported(TemporalField)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null 转换为字符串()
中华民国纪年
编辑- static MinguoChronology INSTANCE
- int compareTo(Chronology)
- MinguoDate date(TemporalAccessor)
- MinguoDate date(int, int, int)
- MinguoDate date(Era, int, int, int)
- MinguoDate dateEpochDay(long)
- MinguoDate dateYearDay(int, int)
- MinguoDate dateYearDay(Era, int, int)
- boolean equals(Object)
- MinguoEra eraOf(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- MinguoDate resolveDate(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
中华民国日期
编辑- static MinguoDate from(TemporalAccessor)
- static MinguoDate of(int, int, int)
- Temporal adjustInto(Temporal)
- ChronoLocalDateTime atTime(LocalTime)
- int compareTo(ChronoLocalDate)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- MinguoChronology getChronology()
- MinguoEra getEra()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDate)
- boolean isBefore(ChronoLocalDate)
- boolean isEqual(ChronoLocalDate)
- boolean isLeapYear()
- boolean isSupported(TemporalField)
- int lengthOfMonth()
- int lengthOfYear()
- MinguoDate minus(TemporalAmount)
- MinguoDate minus(long, TemporalUnit)
- MinguoDate plus(TemporalAmount)
- MinguoDate plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochDay()
- null toString()
- ChronoPeriod until(ChronoLocalDate)
- long until(Temporal, TemporalUnit)
- MinguoDate with(TemporalAdjuster)
- MinguoDate with(TemporalField, long)
中华民国纪元
编辑- static MinguoEra BEFORE_ROC
- static MinguoEra ROC
- static MinguoEra of(int)
- static MinguoEra valueOf(null)
- static MinguoEra[] values()
- Temporal adjustInto(Temporal)
- int 比较(Enum)
- boolean 等于(Object)
- int get(TemporalField)
- null 获取显示名称(TextStyle, Locale)
- long getLong(TemporalField)
- int getValue()
- int 哈希码()
- boolean isSupported(TemporalField)
- null 名称()
- int 序号()
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null 转换为字符串()
泰国佛教纪年
编辑- static ThaiBuddhistChronology INSTANCE
- int compareTo(Chronology)
- ThaiBuddhistDate date(TemporalAccessor)
- ThaiBuddhistDate date(int, int, int)
- ThaiBuddhistDate date(Era, int, int, int)
- ThaiBuddhistDate dateEpochDay(long)
- ThaiBuddhistDate dateYearDay(int, int)
- ThaiBuddhistDate dateYearDay(Era, int, int)
- boolean equals(Object)
- ThaiBuddhistEra eraOf(int)
- List eras()
- null getCalendarType()
- null getDisplayName(TextStyle, Locale)
- null getId()
- int hashCode()
- boolean isLeapYear(long)
- ChronoLocalDateTime localDateTime(TemporalAccessor)
- ChronoPeriod period(int, int, int)
- int prolepticYear(Era, int)
- ValueRange range(ChronoField)
- ThaiBuddhistDate resolveDate(Map, ResolverStyle)
- null toString()
- ChronoZonedDateTime zonedDateTime(TemporalAccessor)
- ChronoZonedDateTime zonedDateTime(Instant, ZoneId)
泰国佛教日期
编辑- static ThaiBuddhistDate from(TemporalAccessor)
- static ThaiBuddhistDate of(int, int, int)
- Temporal adjustInto(Temporal)
- ChronoLocalDateTime atTime(LocalTime)
- int compareTo(ChronoLocalDate)
- boolean equals(Object)
- null format(DateTimeFormatter)
- int get(TemporalField)
- ThaiBuddhistChronology getChronology()
- ThaiBuddhistEra getEra()
- long getLong(TemporalField)
- int hashCode()
- boolean isAfter(ChronoLocalDate)
- boolean isBefore(ChronoLocalDate)
- boolean isEqual(ChronoLocalDate)
- boolean isLeapYear()
- boolean isSupported(TemporalField)
- int lengthOfMonth()
- int lengthOfYear()
- ThaiBuddhistDate minus(TemporalAmount)
- ThaiBuddhistDate minus(long, TemporalUnit)
- ThaiBuddhistDate plus(TemporalAmount)
- ThaiBuddhistDate plus(long, TemporalUnit)
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- long toEpochDay()
- null toString()
- ChronoPeriod until(ChronoLocalDate)
- long until(Temporal, TemporalUnit)
- ThaiBuddhistDate with(TemporalAdjuster)
- ThaiBuddhistDate with(TemporalField, long)
泰国佛教纪元
编辑- static ThaiBuddhistEra BE
- static ThaiBuddhistEra BEFORE_BE
- static ThaiBuddhistEra of(int)
- static ThaiBuddhistEra valueOf(null)
- static ThaiBuddhistEra[] values()
- Temporal adjustInto(Temporal)
- int 比较(Enum)
- boolean 等于(Object)
- int get(TemporalField)
- null 获取显示名称(TextStyle, Locale)
- long getLong(TemporalField)
- int getValue()
- int 哈希码()
- boolean isSupported(TemporalField)
- null 名称()
- int 序号()
- def query(TemporalQuery)
- ValueRange range(TemporalField)
- null 转换为字符串()