}
public void TestDisplayName() {
Holiday[] holidays = Holiday.getHolidays(ULocale.US);
for (int i = 0; i < holidays.length; ++i) {
Holiday h = holidays[i];
// only need to test one
// if the display names differ, we're using our data. We know these names
// should differ for this holiday (not all will).
if ("Christmas".equals(h.getDisplayName(ULocale.US))) {
if ("Christmas".equals(h.getDisplayName(ULocale.GERMANY))) {
errln("Using default name for holidays");
}
}
}
}