Uses of Interface
java.time.temporal.TemporalAdjuster
-
Packages that use TemporalAdjuster 软件包 描述 java.time 日期,时间,瞬间和持续时间的主要API。java.time.chrono 除默认ISO之外的日历系统的通用API。java.time.temporal 使用字段和单位访问日期和时间,以及日期时间调整器。 -
-
Uses of TemporalAdjuster in java.time
Classes in java.time that implement TemporalAdjuster Modifier and Type Class 描述 classDayOfWeek星期几,如“星期二”。classInstant在时间线上的瞬间点。classLocalDate在ISO-2007-12-03,如2007-12-03。classLocalDateTime在ISO-2007-12-03T10:15:30,如2007-12-03T10:15:30。classLocalTime在ISO-10:15:30,如10:15:30。classMonth一个月,如“七月”。classMonthDayISO---12-03,如--12-03。classOffsetDateTime在ISO-2007-12-03T10:15:30+01:00UTC /格林威治偏移的日期时间,如2007-12-03T10:15:30+01:00。classOffsetTime在ISO-10:15:30+01:00UTC /格林威治的时间,如10:15:30+01:00。classYearISO-2007,如2007。classYearMonthISO-2007-12,如2007-12。classZoneOffset距离格林威治/ UTC的时区偏移,如+02:00。Methods in java.time with parameters of type TemporalAdjuster Modifier and Type 方法 描述 InstantInstant. with(TemporalAdjuster adjuster)返回此瞬间的调整副本。LocalDateLocalDate. with(TemporalAdjuster adjuster)返回此日期的调整副本。LocalDateTimeLocalDateTime. with(TemporalAdjuster adjuster)返回此日期时间的调整副本。LocalTimeLocalTime. with(TemporalAdjuster adjuster)返回此次调整后的副本。OffsetDateTimeOffsetDateTime. with(TemporalAdjuster adjuster)返回此日期时间的调整副本。OffsetTimeOffsetTime. with(TemporalAdjuster adjuster)返回此次调整后的副本。YearYear. with(TemporalAdjuster adjuster)返回今年的调整副本。YearMonthYearMonth. with(TemporalAdjuster adjuster)返回今年的调整副本。ZonedDateTimeZonedDateTime. with(TemporalAdjuster adjuster)返回此日期时间的调整副本。 -
Uses of TemporalAdjuster in java.time.chrono
Subinterfaces of TemporalAdjuster in java.time.chrono Modifier and Type 接口 描述 interfaceChronoLocalDate一个无时间,无时间的日期,用于任意年龄,用于高级全球化用例。interfaceChronoLocalDateTime<D extends ChronoLocalDate>在任意年代没有时区的日期时间,用于高级全球化用例。interfaceEra时代的时代。Classes in java.time.chrono that implement TemporalAdjuster Modifier and Type Class 描述 classHijrahDate日期在Hijrah日历系统。classHijrahEraHijrah日历系统中的一个时代。classIsoEraISO日历系统中的一个时代。classJapaneseDate在日本帝国日历系统的日期。classJapaneseEra日本帝国日历系统的一个时代。classMinguoDate在日语系统中的日期。classMinguoEra国际日历系统中的一个时代。classThaiBuddhistDate在泰国佛教日历系统的日期。classThaiBuddhistEra泰国佛教日历系统的时代。Methods in java.time.chrono with parameters of type TemporalAdjuster Modifier and Type 方法 描述 default ChronoLocalDateChronoLocalDate. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。default ChronoLocalDateTime<D>ChronoLocalDateTime. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。default ChronoZonedDateTime<D>ChronoZonedDateTime. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。HijrahDateHijrahDate. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。JapaneseDateJapaneseDate. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。MinguoDateMinguoDate. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。ThaiBuddhistDateThaiBuddhistDate. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。 -
Uses of TemporalAdjuster in java.time.temporal
Methods in java.time.temporal that return TemporalAdjuster Modifier and Type 方法 描述 static TemporalAdjusterTemporalAdjusters. dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)返回月份调整器中的星期几,该日期将根据月份返回具有序数星期的新日期。static TemporalAdjusterTemporalAdjusters. firstDayOfMonth()返回“第一个月的”调整器,它返回设置为当月的第一天的新日期。static TemporalAdjusterTemporalAdjusters. firstDayOfNextMonth()返回“下一个月的第一天”调整器,它将新的日期设置为下个月的第一天。static TemporalAdjusterTemporalAdjusters. firstDayOfNextYear()返回“明年的第一天”调整器,返回设置为下一年的第一天的新日期。static TemporalAdjusterTemporalAdjusters. firstDayOfYear()返回“一年的第一天”调整器,其返回设置为当前第一天的新日期。static TemporalAdjusterTemporalAdjusters. firstInMonth(DayOfWeek dayOfWeek)返回月初调整器,它在同一个月内返回与第一个匹配的星期几的新日期。static TemporalAdjusterTemporalAdjusters. lastDayOfMonth()返回“最后一个月的”调整器,该日期设置为当前月份的最后一天。static TemporalAdjusterTemporalAdjusters. lastDayOfYear()返回“最后一天的”调整器,其返回设置为当前年份的最后一天的新日期。static TemporalAdjusterTemporalAdjusters. lastInMonth(DayOfWeek dayOfWeek)返回最近一个月的调整器,它返回与最后一个匹配的星期几相同月份的新日期。static TemporalAdjusterTemporalAdjusters. next(DayOfWeek dayOfWeek)返回下一个星期的调整器,该调整器将日期调整为在调整日期之后的指定日期的第一次出现。static TemporalAdjusterTemporalAdjusters. nextOrSame(DayOfWeek dayOfWeek)返回下一个或相同的星期几调整器,该调整器将日期调整为在调整日期之后指定的星期几的第一次出现,除非它已在当天在同一对象被返回。static TemporalAdjusterTemporalAdjusters. ofDateAdjuster(UnaryOperator<LocalDate> dateBasedAdjuster)获取一个包含日期调整器的TemporalAdjuster。static TemporalAdjusterTemporalAdjusters. previous(DayOfWeek dayOfWeek)返回上一个星期的调整器,该调整器将日期调整为在调整日期之前的指定日期的第一次出现。static TemporalAdjusterTemporalAdjusters. previousOrSame(DayOfWeek dayOfWeek)返回之前或相同的日期调整器,该调整器将日期调整为在调整日期之前的指定日期的第一次出现,除非已在当天返回相同的对象。Methods in java.time.temporal with parameters of type TemporalAdjuster Modifier and Type 方法 描述 default TemporalTemporal. with(TemporalAdjuster adjuster)通过进行调整,返回与该对象相同类型的调整对象。
-