public class RabByungMonth extends AbstractTyme
| 限定符和类型 | 字段和说明 |
|---|---|
static String[] |
ALIAS |
protected static Map<Integer,int[]> |
DAYS |
protected int |
indexInYear
位于当年的索引,0-12
|
protected boolean |
leap
是否闰月
|
protected int |
month
月
|
static String[] |
NAMES |
protected RabByungYear |
year
藏历年
|
| 构造器和说明 |
|---|
RabByungMonth(int year,
int month)
从藏历年月初始化
|
RabByungMonth(int rabByungIndex,
RabByungElement element,
Zodiac zodiac,
int month) |
RabByungMonth(RabByungYear year,
int month) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RabByungMonth |
fromElementZodiac(int rabByungIndex,
RabByungElement element,
Zodiac zodiac,
int month) |
static RabByungMonth |
fromYm(int year,
int month)
从藏历年月初始化
|
String |
getAlias()
别名
|
int |
getDayCount()
当月天数
|
List<RabByungDay> |
getDays()
本月的藏历日列表
|
RabByungDay |
getFirstDay()
首日
|
int |
getIndexInYear()
位于当年的索引(0-12)
|
List<Integer> |
getLeapDays()
闰日列表
|
List<Integer> |
getMissDays()
缺日列表
|
int |
getMonth()
月
|
int |
getMonthWithLeap()
月
|
String |
getName()
名称
|
RabByungYear |
getRabByungYear()
藏历年
|
List<Integer> |
getSpecialDays()
特殊日子列表,闰日为正,缺日为负
|
int |
getYear()
年
|
boolean |
isLeap()
是否闰月
|
RabByungMonth |
next(int n)
推移
|
String |
toString() |
equals, indexOfpublic static final String[] NAMES
public static final String[] ALIAS
protected RabByungYear year
protected int month
protected boolean leap
protected int indexInYear
public RabByungMonth(RabByungYear year, int month)
public RabByungMonth(int year,
int month)
year - 藏历年month - 藏历月,闰月为负public RabByungMonth(int rabByungIndex,
RabByungElement element,
Zodiac zodiac,
int month)
public static RabByungMonth fromYm(int year, int month)
year - 藏历年month - 藏历月,闰月为负public static RabByungMonth fromElementZodiac(int rabByungIndex, RabByungElement element, Zodiac zodiac, int month)
public RabByungYear getRabByungYear()
public int getYear()
public int getMonth()
public int getMonthWithLeap()
public int getIndexInYear()
public boolean isLeap()
public String getName()
public String getAlias()
public String toString()
toString 在类中 AbstractCulturepublic RabByungMonth next(int n)
Tymen - 推移步数public RabByungDay getFirstDay()
public List<RabByungDay> getDays()
public int getDayCount()
Copyright © 2025. All Rights Reserved.