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 变量和类型 类 描述 classDayOfWeek一周中的某一天,例如“星期二”。classInstant时间线上的瞬时点。classLocalDateISO-2007-12-03,例如2007-12-03。classLocalDateTimeISO-2007-12-03T10:15:30,例如2007-12-03T10:15:30。classLocalTimeISO-10:15:30,例如10:15:30。classMonth一个月,例如'七月'。classMonthDayISO---12-03- 日,例如--12-03。classOffsetDateTime在ISO-2007-12-03T10:15:30+01:00UTC / Greenwich偏移的日期时间,例如2007-12-03T10:15:30+01:00。classOffsetTime在ISO-10:15:30+01:00UTC / Greenwich偏移的时间,例如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 变量和类型 方法 描述 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 变量和类型 接口 描述 interfaceChronoLocalDate用于高级全球化用例的任意时间表中没有时间或时区的日期。interfaceChronoLocalDateTime<D extends ChronoLocalDate>用于高级全球化用例的任意时间顺序中没有时区的日期时间。interfaceEra时间线的时代。Classes in java.time.chrono that implement TemporalAdjuster 变量和类型 类 描述 classHijrahDateHijrah日历系统中的日期。classHijrahEraHijrah日历系统的一个时代。classIsoEraISO日历系统的一个时代。classJapaneseDate日本帝国日历系统中的日期。classJapaneseEra日本帝国历法系统的一个时代。classMinguoDate民国历法系统的约会。classMinguoEra民国历法系统的一个时代。classThaiBuddhistDate泰国佛教日历系统中的约会。classThaiBuddhistEra泰国佛教历法系统的一个时代。Methods in java.time.chrono with parameters of type TemporalAdjuster 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 default TemporalTemporal. with(TemporalAdjuster adjuster)返回与此对象相同类型的调整对象,并进行调整。
-