1
0
mirror of synced 2025-12-29 00:37:59 +08:00

增加时辰纳音五行

This commit is contained in:
6tail
2020-04-06 19:06:04 +08:00
parent 88c37d7497
commit ced6954a3b
7 changed files with 26 additions and 9 deletions

View File

@@ -43,6 +43,8 @@ public class Solar{
public Solar(int year,int month,int day){
calendar = Calendar.getInstance();
calendar.set(year,month-1,day);
calendar.set(Calendar.HOUR_OF_DAY,0);
calendar.set(Calendar.MINUTE,0);
this.year = year;
this.month = month;
this.day = day;