| com.ibm.icu.dev.test.calendar.CalendarTest com.ibm.icu.dev.test.calendar.ChineseTest
ChineseTest | public class ChineseTest extends CalendarTest (Code) | | Test of ChineseCalendar.
Leap months in this century:
Wed May 23 2001 = 4638-04*-01, Year 18, Cycle 78
Sun Mar 21 2004 = 4641-02*-01, Year 21, Cycle 78
Thu Aug 24 2006 = 4643-07*-01, Year 23, Cycle 78
Tue Jun 23 2009 = 4646-05*-01, Year 26, Cycle 78
Mon May 21 2012 = 4649-04*-01, Year 29, Cycle 78
Fri Oct 24 2014 = 4651-09*-01, Year 31, Cycle 78
Sun Jul 23 2017 = 4654-06*-01, Year 34, Cycle 78
Sat May 23 2020 = 4657-04*-01, Year 37, Cycle 78
Wed Mar 22 2023 = 4660-02*-01, Year 40, Cycle 78
Fri Jul 25 2025 = 4662-06*-01, Year 42, Cycle 78
Fri Jun 23 2028 = 4665-05*-01, Year 45, Cycle 78
Tue Apr 22 2031 = 4668-03*-01, Year 48, Cycle 78
Thu Dec 22 2033 = 4670-11*-01, Year 50, Cycle 78
Wed Jul 23 2036 = 4673-06*-01, Year 53, Cycle 78
Wed Jun 22 2039 = 4676-05*-01, Year 56, Cycle 78
Sat Mar 22 2042 = 4679-02*-01, Year 59, Cycle 78
Tue Aug 23 2044 = 4681-07*-01, Year 01, Cycle 79
Sun Jun 23 2047 = 4684-05*-01, Year 04, Cycle 79
Thu Apr 21 2050 = 4687-03*-01, Year 07, Cycle 79
Mon Sep 23 2052 = 4689-08*-01, Year 09, Cycle 79
Sat Jul 24 2055 = 4692-06*-01, Year 12, Cycle 79
Wed May 22 2058 = 4695-04*-01, Year 15, Cycle 79
Wed Apr 20 2061 = 4698-03*-01, Year 18, Cycle 79
Fri Aug 24 2063 = 4700-07*-01, Year 20, Cycle 79
Wed Jun 23 2066 = 4703-05*-01, Year 23, Cycle 79
Tue May 21 2069 = 4706-04*-01, Year 26, Cycle 79
Thu Sep 24 2071 = 4708-08*-01, Year 28, Cycle 79
Tue Jul 24 2074 = 4711-06*-01, Year 31, Cycle 79
Sat May 22 2077 = 4714-04*-01, Year 34, Cycle 79
Sat Apr 20 2080 = 4717-03*-01, Year 37, Cycle 79
Mon Aug 24 2082 = 4719-07*-01, Year 39, Cycle 79
Fri Jun 22 2085 = 4722-05*-01, Year 42, Cycle 79
Fri May 21 2088 = 4725-04*-01, Year 45, Cycle 79
Sun Sep 24 2090 = 4727-08*-01, Year 47, Cycle 79
Thu Jul 23 2093 = 4730-06*-01, Year 50, Cycle 79
Tue May 22 2096 = 4733-04*-01, Year 53, Cycle 79
Sun Mar 22 2099 = 4736-02*-01, Year 56, Cycle 79
|
TestAdd | public void TestAdd()(Code) | | Test the behavior of ChineseCalendar.add(). The only real
nastiness with roll is the MONTH field around leap months.
|
TestCoverage | public void TestCoverage()(Code) | | |
TestFormat | public void TestFormat()(Code) | | Test formatting.
|
TestInitWithCurrentTime | public void TestInitWithCurrentTime()(Code) | | |
TestJulianDayMapping | public void TestJulianDayMapping()(Code) | | Run through several standard tests from Dershowitz & Reingold.
|
TestLimits | public void TestLimits()(Code) | | Test minimum and maximum functions.
|
TestMapping | public void TestMapping()(Code) | | Test basic mapping to and from Gregorian.
|
TestOutOfRange | public void TestOutOfRange()(Code) | | Test the behavior of fields that are out of range.
|
TestResolution | public void TestResolution()(Code) | | Make sure IS_LEAP_MONTH participates in field resolution.
|
TestRoll | public void TestRoll()(Code) | | Test the behavior of ChineseCalendar.roll(). The only real
nastiness with roll is the MONTH field around leap months.
|
TestScratch | public void TestScratch()(Code) | | |
TestZeroDOM | public void TestZeroDOM()(Code) | | Make sure no Gregorian dates map to Chinese 1-based day of
month zero. This was a problem with some of the astronomical
new moon determinations.
|
ymdToString | public static String ymdToString(int year, int month, int isLeapMonth, int day)(Code) | | Convert year,month,day values to the form "year/month/day".
On input the month value is zero-based, but in the result string it is one-based.
|
|
|