Uses of Class
cloud.opencode.base.date.extra.YearQuarter
Packages that use YearQuarter
-
Uses of YearQuarter in cloud.opencode.base.date
Methods in cloud.opencode.base.date that return YearQuarterModifier and TypeMethodDescriptionstatic YearQuarterDateTimes.currentQuarter()Gets the current YearQuarter 获取当前YearQuarterstatic YearQuarterOpenDate.currentQuarter()Gets the current YearQuarter 获取当前YearQuarterstatic YearQuarterDateTimes.yearQuarter(int year, int quarter) Creates a YearQuarter 创建YearQuarterstatic YearQuarterDateTimes.yearQuarter(int year, Quarter quarter) Creates a YearQuarter with Quarter enum 使用Quarter枚举创建YearQuarter -
Uses of YearQuarter in cloud.opencode.base.date.extra
Classes in cloud.opencode.base.date.extra that implement interfaces with type arguments of type YearQuarterModifier and TypeClassDescriptionfinal classYear-Quarter combination representing a specific quarter in a specific year 年-季度组合,表示特定年份的特定季度Methods in cloud.opencode.base.date.extra that return YearQuarterModifier and TypeMethodDescriptionstatic YearQuarterYearQuarter.from(TemporalAccessor temporal) Creates a YearQuarter from a TemporalAccessor 从TemporalAccessor创建YearQuarterYearQuarter.minusQuarters(long quarters) Subtracts quarters from this YearQuarter 在此YearQuarter基础上减季度数YearQuarter.minusYears(long years) Subtracts years from this YearQuarter 在此YearQuarter基础上减年数static YearQuarterYearQuarter.now()Gets the current YearQuarter using system default zone 使用系统默认时区获取当前YearQuarterstatic YearQuarterGets the current YearQuarter using the specified clock 使用指定时钟获取当前YearQuarterstatic YearQuarterGets the current YearQuarter for the specified zone 获取指定时区的当前YearQuarterstatic YearQuarterYearQuarter.of(int year, int quarter) Creates a YearQuarter from year and quarter value 从年份和季度值创建YearQuarterstatic YearQuarterCreates a YearQuarter from year and Quarter enum 从年份和Quarter枚举创建YearQuarterstatic YearQuarterYearQuarter.parse(CharSequence text) Parses a string to YearQuarter 解析字符串为YearQuarterstatic YearQuarterYearQuarter.parse(CharSequence text, DateTimeFormatter formatter) Parses a string to YearQuarter using the specified formatter 使用指定格式化器解析字符串为YearQuarterYearQuarter.plusQuarters(long quarters) Adds quarters to this YearQuarter 在此YearQuarter基础上加季度数YearQuarter.plusYears(long years) Adds years to this YearQuarter 在此YearQuarter基础上加年数Methods in cloud.opencode.base.date.extra with parameters of type YearQuarterModifier and TypeMethodDescriptionintYearQuarter.compareTo(YearQuarter other) booleanYearQuarter.isAfter(YearQuarter other) Checks if this YearQuarter is after the specified one 检查此YearQuarter是否在指定的之后booleanYearQuarter.isBefore(YearQuarter other) Checks if this YearQuarter is before the specified one 检查此YearQuarter是否在指定的之前