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

Method subtract

src/main/java/com/nlf/calendar/Solar.java:620–622  ·  view source on GitHub ↗

阳历日期相减,获得相差天数 @param solar 阳历 @return 天数

(Solar solar)

Source from the content-addressed store, hash-verified

618 * @return 天数
619 */
620 public int subtract(Solar solar) {
621 return SolarUtil.getDaysBetween(solar.getYear(), solar.getMonth(), solar.getDay(), year, month, day);
622 }
623
624 /**
625 * 阳历日期相减,获得相差分钟数

Callers 9

test1Method · 0.95
getDayNineStarMethod · 0.95
getShuJiuMethod · 0.95
getFuMethod · 0.95
subtractMinuteMethod · 0.95
computeStartMethod · 0.95
LunarMethod · 0.80
getWuHouMethod · 0.80
getHouMethod · 0.80

Calls 4

getDaysBetweenMethod · 0.95
getYearMethod · 0.45
getMonthMethod · 0.45
getDayMethod · 0.45

Tested by 1

test1Method · 0.76