public class SolarTerms extends Object
| 构造器和说明 |
|---|
SolarTerms() |
public static int getTerm(int y,
int n)
y - 公历年(1900-2100)n - 二十四节气中的第几个节气(1~24);从n=1(小寒)算起public static String getTerm(Date date)
date - 日期public static String getTerm(ChineseDate chineseDate)
chineseDate - 农历日期public static String getTerm(LocalDate date)
date - 日期public static String getTerm(int year, int mouth, int day)
year - 公历年mouth - 公历月,从1开始day - 公历日,从1开始Copyright © 2023. All rights reserved.