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

Method getDaysInMonth

src/main/java/com/nlf/calendar/SolarWeek.java:287–297  ·  view source on GitHub ↗

获取本周的阳历日期列表(仅限当月) @return 本周的阳历日期列表(仅限当月)

()

Source from the content-addressed store, hash-verified

285 * @return 本周的阳历日期列表(仅限当月)
286 */
287 public List<Solar> getDaysInMonth() {
288 List<Solar> days = this.getDays();
289 List<Solar> l = new ArrayList<Solar>();
290 for (Solar day : days) {
291 if (month != day.getMonth()) {
292 continue;
293 }
294 l.add(day);
295 }
296 return l;
297 }
298
299 @Override
300 public String toString() {

Callers

nothing calls this directly

Calls 2

getDaysMethod · 0.95
getMonthMethod · 0.45

Tested by

no test coverage detected