Uses of Class
cloud.opencode.base.date.extra.YearHalf
Packages that use YearHalf
-
Uses of YearHalf in cloud.opencode.base.date.extra
Classes in cloud.opencode.base.date.extra that implement interfaces with type arguments of type YearHalfModifier and TypeClassDescriptionfinal classA year-half representation (e.g., 2024-H1, 2024-H2) 年-半年表示(如2024-H1、2024-H2)Methods in cloud.opencode.base.date.extra that return YearHalfModifier and TypeMethodDescriptionstatic YearHalfYearHalf.from(TemporalAccessor temporal) Creates a YearHalf from a TemporalAccessor 从TemporalAccessor创建YearHalfYearHalf.minusHalves(long halves) Subtracts halves from this year-half 从此年-半年减去半年YearHalf.minusYears(long years) Subtracts years from this year-half 从此年-半年减去年static YearHalfYearHalf.now()Gets the current YearHalf 获取当前YearHalfstatic YearHalfYearHalf.of(int year, int half) Creates a YearHalf from year and half value 从年份和半年值创建YearHalfstatic YearHalfYearHalf.of(int year, YearHalf.Half half) Creates a YearHalf from year and half 从年份和半年创建YearHalfstatic YearHalfYearHalf.parse(CharSequence text) Parses a YearHalf from a string 从字符串解析YearHalfYearHalf.plusHalves(long halves) Adds halves to this year-half 向此年-半年添加半年YearHalf.plusYears(long years) Adds years to this year-half 向此年-半年添加年Methods in cloud.opencode.base.date.extra with parameters of type YearHalf