1
0
mirror of synced 2025-12-25 06:47:59 +08:00

修复阳历推移丢失时分的问题

This commit is contained in:
6tail
2020-04-16 23:59:50 +08:00
parent eb71ea3a56
commit bd6deaf3ec
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
}