| com.ibm.icu.dev.test.calendar.CalendarTest com.ibm.icu.dev.test.calendar.IBMCalendarTest
Method Summary | |
public void | TestBuddhist() Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise
behaves like GregorianCalendar. | public void | TestBuddhistCoverage() | public void | TestComparable() | public void | TestCoverage() Miscellaneous tests to increase coverage. | public void | TestGregorianLimits() Test limits of the Gregorian calendar. | public void | TestJB1684() | public void | TestJB4541() | public void | TestJapanese() Verify that JapaneseCalendar shifts years to Buddhist Era but otherwise
behaves like GregorianCalendar. | public void | TestLeapFieldDifference() Test behavior of fieldDifference around leap years. | public void | TestMalaysianInstance() Test ms_MY "Malay (Malaysia)" locale. | public void | TestTimeZoneTransitionAdd() Make sure that when adding a day, we actually wind up in a
different day. | public void | TestWeekShift() setFirstDayOfWeek and setMinimalDaysInFirstWeek may change the
field <=> time mapping, since they affect the interpretation of
the WEEK_OF_MONTH or WEEK_OF_YEAR fields. | public void | TestWeekend() Test weekend support in IBMCalendar.
NOTE: This test will have to be updated when the isWeekend() etc.
API is finalized later.
In particular, the test will have to be rewritten to instantiate
a Calendar in the given locale (using getInstance()) and call
that Calendar's isWeekend() etc. | public void | TestZoneMeta() Test the ZoneMeta API. | public static void | main(String[] args) | void | quasiGregorianTest(Calendar cal, int[] data) Run a test of a quasi-Gregorian calendar. |
TestBuddhist | public void TestBuddhist()(Code) | | Verify that BuddhistCalendar shifts years to Buddhist Era but otherwise
behaves like GregorianCalendar.
|
TestBuddhistCoverage | public void TestBuddhistCoverage()(Code) | | |
TestComparable | public void TestComparable()(Code) | | |
TestCoverage | public void TestCoverage()(Code) | | Miscellaneous tests to increase coverage.
|
TestGregorianLimits | public void TestGregorianLimits()(Code) | | Test limits of the Gregorian calendar.
|
TestJB1684 | public void TestJB1684()(Code) | | |
TestJB4541 | public void TestJB4541()(Code) | | |
TestJapanese | public void TestJapanese()(Code) | | Verify that JapaneseCalendar shifts years to Buddhist Era but otherwise
behaves like GregorianCalendar.
|
TestLeapFieldDifference | public void TestLeapFieldDifference()(Code) | | Test behavior of fieldDifference around leap years. Also test a large
field difference to check binary search.
|
TestMalaysianInstance | public void TestMalaysianInstance()(Code) | | Test ms_MY "Malay (Malaysia)" locale. Bug 1543.
|
TestTimeZoneTransitionAdd | public void TestTimeZoneTransitionAdd()(Code) | | Make sure that when adding a day, we actually wind up in a
different day. The DST adjustments we use to keep the hour
constant across DST changes can backfire and change the day.
|
TestWeekShift | public void TestWeekShift()(Code) | | setFirstDayOfWeek and setMinimalDaysInFirstWeek may change the
field <=> time mapping, since they affect the interpretation of
the WEEK_OF_MONTH or WEEK_OF_YEAR fields.
|
TestWeekend | public void TestWeekend()(Code) | | Test weekend support in IBMCalendar.
NOTE: This test will have to be updated when the isWeekend() etc.
API is finalized later.
In particular, the test will have to be rewritten to instantiate
a Calendar in the given locale (using getInstance()) and call
that Calendar's isWeekend() etc. methods.
|
TestZoneMeta | public void TestZoneMeta()(Code) | | Test the ZoneMeta API.
|
quasiGregorianTest | void quasiGregorianTest(Calendar cal, int[] data)(Code) | | Run a test of a quasi-Gregorian calendar. This is a calendar
that behaves like a Gregorian but has different year/era mappings.
The int[] data array should have the format:
{ era, year, gregorianYear, month, dayOfMonth, ... }
|
|
|