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

Method fromYmdHms

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

通过指定年月日时分获取阳历 @param year 年 @param month 月,1到12 @param day 日,1到31 @param hour 小时,0到23 @param minute 分钟,0到59 @param second 秒钟,0到59 @return 阳历

(int year, int month, int day, int hour, int minute, int second)

Source from the content-addressed store, hash-verified

256 * @return 阳历
257 */
258 public static Solar fromYmdHms(int year, int month, int day, int hour, int minute, int second) {
259 return new Solar(year, month, day, hour, minute, second);
260 }
261
262 /**
263 * 通过八字获取阳历列表(晚子时日柱按当天,起始年为1900)

Callers 15

test10Method · 0.95
test21Method · 0.95
test22Method · 0.95
test23Method · 0.95
test24Method · 0.95
test26Method · 0.95
test27Method · 0.95
test28Method · 0.95
test32Method · 0.95
test10Method · 0.95
test11Method · 0.95
testMethod · 0.95

Calls

no outgoing calls

Tested by 13

test10Method · 0.76
test21Method · 0.76
test22Method · 0.76
test23Method · 0.76
test24Method · 0.76
test26Method · 0.76
test27Method · 0.76
test28Method · 0.76
test32Method · 0.76
test10Method · 0.76
test11Method · 0.76
testMethod · 0.76