TimeZone savedZone = TimeZone.getDefault();
TimeZone.setDefault(TimeZone.getTimeZone("Europe/Rome"));
Calendar cal = Calendar.getInstance(Locale.ITALY);
cal.set(2006, Calendar.JANUARY, 16, 3, 47, 59);
cal.set(Calendar.MILLISECOND, 999);
Minute m = new Minute(47, 3, 16, 1, 2006);
assertEquals(cal.getTime(), m.getEnd());
Locale.setDefault(saved);
TimeZone.setDefault(savedZone);
}