use of android.icu.util.DangiCalendar in project j2objc by google.
the class DangiTest method TestCoverage.
@Test
public void TestCoverage() {
// DangiCalendar()
// DangiCalendar(Date)
// DangiCalendar(TimeZone, ULocale)
Date d = new Date();
DangiCalendar cal1 = new DangiCalendar();
cal1.setTime(d);
DangiCalendar cal2 = new DangiCalendar(d);
DangiCalendar cal3 = new DangiCalendar(TimeZone.getDefault(), ULocale.getDefault());
cal3.setTime(d);
assertEquals("DangiCalendar() and DangiCalendar(Date)", cal1, cal2);
assertEquals("DangiCalendar() and DangiCalendar(TimeZone,ULocale)", cal1, cal3);
// String getType()
String type = cal1.getType();
assertEquals("getType()", "dangi", type);
}
Aggregations