All Packages Class Hierarchy This Package Previous Next Index
Class calendrica.Chinese
java.lang.Object
|
+----calendrica.ProtoDate
|
+----calendrica.Date
|
+----calendrica.Chinese
- public class Chinese
- extends Date
-
cycle
-
-
day
-
-
DAY_NAME_EPOCH
-
-
EPOCH
-
-
leapMonth
-
-
month
-
-
MONTH_NAME_EPOCH
-
-
year
-
-
yearBranchNames
-
-
yearStemNames
-
-
Chinese()
-
-
Chinese(Date)
-
-
Chinese(long)
-
-
Chinese(long, int, int, boolean, int)
-
-
age(Chinese, long)
-
-
beijing(double)
-
-
chineseLocation(double)
-
-
currentMajorSolarTerm(long)
-
-
currentMinorSolarTerm(long)
-
-
dayNameOnOrBefore(ChineseName, long)
-
-
dragonFestival(long)
-
-
equals(Object)
-
-
format()
-
-
fromArray(int[])
-
-
fromFixed(long)
-
-
hasNoMajorSolarTerm(long)
-
-
hasPriorLeapMonth(long, long)
-
-
japaneseLocation(double)
-
-
majorSolarTermOnOrAfter(long)
-
-
midnightInChina(long)
-
-
minorSolarTermOnOrAfter(long)
-
-
nameDifference(ChineseName, ChineseName)
-
-
nameOfDay(long)
-
-
nameOfMonth(int, int)
-
-
nameOfYear(int)
-
-
newMoonBefore(long)
-
-
newMoonOnOrAfter(long)
-
-
newYear(long)
-
-
newYearInSui(long)
-
-
newYearOnOrBefore(long)
-
-
qingMing(long)
-
-
sexagesimalName(long)
-
-
solarLongitudeOnOrAfter(long, double)
-
-
toFixed()
-
-
toFixed(long, int, int, boolean, int)
-
-
tokyo(double)
-
-
toStringFields()
-
-
winterSolsticeOnOrBefore(long)
-
cycle
public long cycle
year
public int year
month
public int month
leapMonth
public boolean leapMonth
day
public int day
EPOCH
public static final long EPOCH
DAY_NAME_EPOCH
public static final int DAY_NAME_EPOCH
MONTH_NAME_EPOCH
public static final int MONTH_NAME_EPOCH
yearStemNames
public static final String yearStemNames[]
yearBranchNames
public static final String yearBranchNames[]
Chinese
public Chinese()
Chinese
public Chinese(long date)
Chinese
public Chinese(Date date)
Chinese
public Chinese(long cycle,
int year,
int month,
boolean leapMonth,
int day)
toFixed
public static long toFixed(long cycle,
int year,
int month,
boolean leapMonth,
int day)
toFixed
public long toFixed()
- Overrides:
- toFixed in class Date
fromFixed
public void fromFixed(long date)
- Overrides:
- fromFixed in class ProtoDate
fromArray
public void fromArray(int a[])
- Overrides:
- fromArray in class ProtoDate
solarLongitudeOnOrAfter
public static double solarLongitudeOnOrAfter(long date,
double theta)
midnightInChina
public static double midnightInChina(long date)
winterSolsticeOnOrBefore
public static long winterSolsticeOnOrBefore(long date)
newYearInSui
public static long newYearInSui(long date)
newYearOnOrBefore
public static long newYearOnOrBefore(long date)
nameDifference
public static int nameDifference(ChineseName name1,
ChineseName name2)
dayNameOnOrBefore
public static long dayNameOnOrBefore(ChineseName name,
long date)
currentMajorSolarTerm
public static int currentMajorSolarTerm(long date)
majorSolarTermOnOrAfter
public static double majorSolarTermOnOrAfter(long date)
currentMinorSolarTerm
public static int currentMinorSolarTerm(long date)
minorSolarTermOnOrAfter
public static double minorSolarTermOnOrAfter(long date)
newMoonBefore
public static long newMoonBefore(long date)
newMoonOnOrAfter
public static long newMoonOnOrAfter(long date)
hasNoMajorSolarTerm
public static boolean hasNoMajorSolarTerm(long date)
hasPriorLeapMonth
public static boolean hasPriorLeapMonth(long mPrime,
long m)
sexagesimalName
public static ChineseName sexagesimalName(long n)
nameOfYear
public static ChineseName nameOfYear(int year)
nameOfMonth
public static ChineseName nameOfMonth(int year,
int month)
nameOfDay
public static ChineseName nameOfDay(long fixed)
beijing
public static final Location beijing(double tee)
chineseLocation
public static final Location chineseLocation(double tee)
tokyo
public static final Location tokyo(double date)
japaneseLocation
public static final Location japaneseLocation(double date)
newYear
public static long newYear(long gYear)
dragonFestival
public static long dragonFestival(long gYear)
qingMing
public static long qingMing(long gYear)
age
public static long age(Chinese birthdate,
long date) throws BogusDateException
toStringFields
protected String toStringFields()
- Overrides:
- toStringFields in class ProtoDate
format
public String format()
- Overrides:
- format in class ProtoDate
equals
public boolean equals(Object obj)
- Overrides:
- equals in class ProtoDate
All Packages Class Hierarchy This Package Previous Next Index