From bd6deaf3ec128a4e95db92e38faa3a731a9e5fda Mon Sep 17 00:00:00 2001 From: 6tail <6tail@6tail.cn> Date: Thu, 16 Apr 2020 23:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=B3=E5=8E=86=E6=8E=A8?= =?UTF-8?q?=E7=A7=BB=E4=B8=A2=E5=A4=B1=E6=97=B6=E5=88=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_EN.md | 2 +- src/main/java/com/nlf/calendar/Solar.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); }