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

Method getIndex

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

获取当月是第几季度 @return 季度序号,从1开始

()

Source from the content-addressed store, hash-verified

118 * @return 季度序号,从1开始
119 */
120 public int getIndex() {
121 return (int) Math.ceil(month * 1D / MONTH_COUNT);
122 }
123
124 /**
125 * 季度推移

Callers 3

getMonthsMethod · 0.95
toStringMethod · 0.95
toFullStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected