use of android.icu.util.TaiwanCalendar in project j2objc by google.
the class IBMCalendarTest method TestTaiwanLimits.
/**
* Test limits of the Taiwan calendar.
*/
@Test
public void TestTaiwanLimits() {
// Final parameter is either number of days, if > 0, or test
// duration in seconds, if < 0.
Calendar cal = Calendar.getInstance();
cal.set(2007, Calendar.JANUARY, 1);
TaiwanCalendar taiwan = new TaiwanCalendar();
doLimitsTest(taiwan, null, cal.getTime());
doTheoreticalLimitsTest(taiwan, false);
}
Aggregations