MCPcopy Create free account
hub / github.com/6tail/lunar-java / next

Method next

src/main/java/com/nlf/calendar/SolarSeason.java:130–133  ·  view source on GitHub ↗

季度推移 @param seasons 推移的季度数,负数为倒推 @return 推移后的季度

(int seasons)

Source from the content-addressed store, hash-verified

128 * @return 推移后的季度
129 */
130 public SolarSeason next(int seasons) {
131 SolarMonth m = SolarMonth.fromYm(year, month).next(MONTH_COUNT * seasons);
132 return new SolarSeason(m.getYear(), m.getMonth());
133 }
134
135 /**
136 * 获取本季度的月份

Callers 1

testMethod · 0.95

Calls 3

fromYmMethod · 0.95
getYearMethod · 0.95
getMonthMethod · 0.95

Tested by 1

testMethod · 0.76