public class SolarFestival extends AbstractTyme
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DATA |
protected SolarDay |
day
公历日
|
protected int |
index
索引
|
protected String |
name
名称
|
static String[] |
NAMES |
protected int |
startYear
起始年
|
protected FestivalType |
type
类型
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
SolarFestival(FestivalType type,
SolarDay day,
int startYear,
String data) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SolarFestival |
fromIndex(int year,
int index) |
static SolarFestival |
fromYmd(int year,
int month,
int day) |
SolarDay |
getDay()
公历日
|
int |
getIndex()
索引
|
String |
getName()
名称
|
int |
getStartYear()
起始年
|
FestivalType |
getType()
类型
|
SolarFestival |
next(int n)
推移
|
String |
toString() |
equals, indexOfpublic static final String[] NAMES
public static String DATA
protected FestivalType type
protected int index
protected SolarDay day
protected String name
protected int startYear
protected SolarFestival(FestivalType type, SolarDay day, int startYear, String data)
public static SolarFestival fromIndex(int year, int index)
public static SolarFestival fromYmd(int year, int month, int day)
public SolarFestival next(int n)
Tymen - 推移步数public FestivalType getType()
public int getIndex()
public SolarDay getDay()
public int getStartYear()
public String toString()
toString 在类中 AbstractCultureCopyright © 2024. All Rights Reserved.