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

Variable Index

 o cycle
 o day
 o DAY_NAME_EPOCH
 o EPOCH
 o leapMonth
 o month
 o MONTH_NAME_EPOCH
 o year
 o yearBranchNames
 o yearStemNames

Constructor Index

 o Chinese()
 o Chinese(Date)
 o Chinese(long)
 o Chinese(long, int, int, boolean, int)

Method Index

 o age(Chinese, long)
 o beijing(double)
 o chineseLocation(double)
 o currentMajorSolarTerm(long)
 o currentMinorSolarTerm(long)
 o dayNameOnOrBefore(ChineseName, long)
 o dragonFestival(long)
 o equals(Object)
 o format()
 o fromArray(int[])
 o fromFixed(long)
 o hasNoMajorSolarTerm(long)
 o hasPriorLeapMonth(long, long)
 o japaneseLocation(double)
 o majorSolarTermOnOrAfter(long)
 o midnightInChina(long)
 o minorSolarTermOnOrAfter(long)
 o nameDifference(ChineseName, ChineseName)
 o nameOfDay(long)
 o nameOfMonth(int, int)
 o nameOfYear(int)
 o newMoonBefore(long)
 o newMoonOnOrAfter(long)
 o newYear(long)
 o newYearInSui(long)
 o newYearOnOrBefore(long)
 o qingMing(long)
 o sexagesimalName(long)
 o solarLongitudeOnOrAfter(long, double)
 o toFixed()
 o toFixed(long, int, int, boolean, int)
 o tokyo(double)
 o toStringFields()
 o winterSolsticeOnOrBefore(long)

Variables

 o cycle
 public long cycle
 o year
 public int year
 o month
 public int month
 o leapMonth
 public boolean leapMonth
 o day
 public int day
 o EPOCH
 public static final long EPOCH
 o DAY_NAME_EPOCH
 public static final int DAY_NAME_EPOCH
 o MONTH_NAME_EPOCH
 public static final int MONTH_NAME_EPOCH
 o yearStemNames
 public static final String yearStemNames[]
 o yearBranchNames
 public static final String yearBranchNames[]

Constructors

 o Chinese
 public Chinese()
 o Chinese
 public Chinese(long date)
 o Chinese
 public Chinese(Date date)
 o Chinese
 public Chinese(long cycle,
                int year,
                int month,
                boolean leapMonth,
                int day)

Methods

 o toFixed
 public static long toFixed(long cycle,
                            int year,
                            int month,
                            boolean leapMonth,
                            int day)
 o toFixed
 public long toFixed()
Overrides:
toFixed in class Date
 o fromFixed
 public void fromFixed(long date)
Overrides:
fromFixed in class ProtoDate
 o fromArray
 public void fromArray(int a[])
Overrides:
fromArray in class ProtoDate
 o solarLongitudeOnOrAfter
 public static double solarLongitudeOnOrAfter(long date,
                                              double theta)
 o midnightInChina
 public static double midnightInChina(long date)
 o winterSolsticeOnOrBefore
 public static long winterSolsticeOnOrBefore(long date)
 o newYearInSui
 public static long newYearInSui(long date)
 o newYearOnOrBefore
 public static long newYearOnOrBefore(long date)
 o nameDifference
 public static int nameDifference(ChineseName name1,
                                  ChineseName name2)
 o dayNameOnOrBefore
 public static long dayNameOnOrBefore(ChineseName name,
                                      long date)
 o currentMajorSolarTerm
 public static int currentMajorSolarTerm(long date)
 o majorSolarTermOnOrAfter
 public static double majorSolarTermOnOrAfter(long date)
 o currentMinorSolarTerm
 public static int currentMinorSolarTerm(long date)
 o minorSolarTermOnOrAfter
 public static double minorSolarTermOnOrAfter(long date)
 o newMoonBefore
 public static long newMoonBefore(long date)
 o newMoonOnOrAfter
 public static long newMoonOnOrAfter(long date)
 o hasNoMajorSolarTerm
 public static boolean hasNoMajorSolarTerm(long date)
 o hasPriorLeapMonth
 public static boolean hasPriorLeapMonth(long mPrime,
                                         long m)
 o sexagesimalName
 public static ChineseName sexagesimalName(long n)
 o nameOfYear
 public static ChineseName nameOfYear(int year)
 o nameOfMonth
 public static ChineseName nameOfMonth(int year,
                                       int month)
 o nameOfDay
 public static ChineseName nameOfDay(long fixed)
 o beijing
 public static final Location beijing(double tee)
 o chineseLocation
 public static final Location chineseLocation(double tee)
 o tokyo
 public static final Location tokyo(double date)
 o japaneseLocation
 public static final Location japaneseLocation(double date)
 o newYear
 public static long newYear(long gYear)
 o dragonFestival
 public static long dragonFestival(long gYear)
 o qingMing
 public static long qingMing(long gYear)
 o age
 public static long age(Chinese birthdate,
                        long date) throws BogusDateException
 o toStringFields
 protected String toStringFields()
Overrides:
toStringFields in class ProtoDate
 o format
 public String format()
Overrides:
format in class ProtoDate
 o equals
 public boolean equals(Object obj)
Overrides:
equals in class ProtoDate

All Packages  Class Hierarchy  This Package  Previous  Next  Index