diff --git a/README.md b/README.md index 1cbb5ea..b0ebac2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar/blob/master/LICENSE) +# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar-java/blob/master/LICENSE) lunar是一款无第三方依赖的公历(阳历)和农历(阴历、老黄历)工具,支持星座、干支、生肖、节气、节日、彭祖百忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。 diff --git a/README_EN.md b/README_EN.md index 170240b..0e7ae04 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,4 +1,4 @@ -# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar/blob/master/LICENSE) +# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar-java/blob/master/LICENSE) lunar is a calendar library for Solar and Chinese Lunar. diff --git a/src/main/java/com/nlf/calendar/Solar.java b/src/main/java/com/nlf/calendar/Solar.java index 06f3512..7fa07f2 100644 --- a/src/main/java/com/nlf/calendar/Solar.java +++ b/src/main/java/com/nlf/calendar/Solar.java @@ -390,7 +390,7 @@ public class Solar{ */ public Solar next(int days){ Calendar c = Calendar.getInstance(); - c.set(year,month-1,day); + c.set(year,month-1,day,hour,minute,0); c.add(Calendar.DATE,days); return new Solar(c); }