// test 4
d = factory.newDuration(86400000);
df = DurationFormat.getInstance(new ULocale("en"));
expected = "1 day, 0 hours, 0 minutes, and 0 seconds";
expected2 = "1 day and 0 seconds"; // This is the expected result for Windows with IBM JRE6
out = df.format(d);
if(out.equals(expected)) {
logln("out=expected: " + expected + " from " + d);
} else {
if(out.equals(expected2)){
logln("WARNING: got " + out + " wanted " + expected + " from " + d);