Uses of Class
cloud.opencode.base.date.extra.YearWeek
Packages that use YearWeek
-
Uses of YearWeek in cloud.opencode.base.date
Methods in cloud.opencode.base.date that return YearWeekModifier and TypeMethodDescriptionstatic YearWeekDateTimes.currentWeek()Gets the current YearWeek 获取当前YearWeekstatic YearWeekOpenDate.currentWeek()Gets the current YearWeek 获取当前YearWeekstatic YearWeekDateTimes.yearWeek(int weekBasedYear, int week) Creates a YearWeek 创建YearWeek -
Uses of YearWeek in cloud.opencode.base.date.extra
Classes in cloud.opencode.base.date.extra that implement interfaces with type arguments of type YearWeekModifier and TypeClassDescriptionfinal classYear-Week combination representing a specific ISO week in a specific year 年-周组合,表示特定年份的特定ISO周Methods in cloud.opencode.base.date.extra that return YearWeekModifier and TypeMethodDescriptionstatic YearWeekYearWeek.from(TemporalAccessor temporal) Creates a YearWeek from a TemporalAccessor 从TemporalAccessor创建YearWeekYearWeek.minusWeeks(long weeks) Subtracts weeks from this YearWeek 在此YearWeek基础上减周数YearWeek.minusYears(long years) Subtracts years from this YearWeek 在此YearWeek基础上减年数static YearWeekYearWeek.now()Gets the current YearWeek using system default zone 使用系统默认时区获取当前YearWeekstatic YearWeekGets the current YearWeek using the specified clock 使用指定时钟获取当前YearWeekstatic YearWeekGets the current YearWeek for the specified zone 获取指定时区的当前YearWeekstatic YearWeekYearWeek.of(int weekBasedYear, int week) Creates a YearWeek from week-based year and week 从周基准年和周创建YearWeekstatic YearWeekYearWeek.parse(CharSequence text) Parses a string to YearWeek 解析字符串为YearWeekstatic YearWeekYearWeek.parse(CharSequence text, DateTimeFormatter formatter) Parses a string to YearWeek using the specified formatter 使用指定格式化器解析字符串为YearWeekYearWeek.plusWeeks(long weeks) Adds weeks to this YearWeek 在此YearWeek基础上加周数YearWeek.plusYears(long years) Adds years to this YearWeek 在此YearWeek基础上加年数Methods in cloud.opencode.base.date.extra with parameters of type YearWeekModifier and TypeMethodDescriptionintbooleanChecks if this YearWeek is after the specified one 检查此YearWeek是否在指定的之后booleanChecks if this YearWeek is before the specified one 检查此YearWeek是否在指定的之前