public class SolarWeek extends AbstractTyme
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
index
索引,0-5
|
protected SolarMonth |
month
月
|
static String[] |
NAMES |
protected Week |
start
起始星期
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
SolarWeek(int year,
int month,
int index,
int start)
初始化
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SolarWeek |
fromYm(int year,
int month,
int index,
int start) |
List<SolarDay> |
getDays()
本周公历日列表
|
SolarDay |
getFirstDay()
本周第1天
|
int |
getIndex()
索引
|
SolarMonth |
getMonth()
月
|
String |
getName()
名称
|
Week |
getStart()
起始星期
|
SolarWeek |
next(int n)
推移
|
String |
toString() |
equals, indexOfpublic static final String[] NAMES
protected SolarMonth month
protected int index
protected Week start
protected SolarWeek(int year,
int month,
int index,
int start)
year - 年month - 月index - 索引,0-5start - 起始星期,1234560分别代表星期一至星期天public static SolarWeek fromYm(int year, int month, int index, int start)
public SolarMonth getMonth()
public int getIndex()
public Week getStart()
public String toString()
toString 在类中 AbstractCulturepublic SolarDay getFirstDay()
Copyright © 2024. All Rights Reserved.