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

Method getDays

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

获取本周的阳历日期列表(可能跨月) @return 本周的阳历日期列表

()

Source from the content-addressed store, hash-verified

269 * @return 本周的阳历日期列表
270 */
271 @SuppressWarnings("all")
272 public List<Solar> getDays() {
273 Solar firstDay = getFirstDay();
274 List<Solar> l = new ArrayList<Solar>();
275 l.add(firstDay);
276 for (int i = 1; i < 7; i++) {
277 l.add(firstDay.next(i));
278 }
279 return l;
280 }
281
282 /**
283 * 获取本周的阳历日期列表(仅限当月)

Callers 4

testMethod · 0.95
getFirstDayInMonthMethod · 0.95
getDaysInMonthMethod · 0.95
testMethod · 0.45

Calls 2

getFirstDayMethod · 0.95
nextMethod · 0.95

Tested by 2

testMethod · 0.76
testMethod · 0.36