Calendar cal = Calendar.getInstance();
Calendar cal = Calendar.getInstance(new SimpleTimeZone(+1 * 60 * 60 * 1000, "BST"), Locale.getDefault());
    public void testMailDateFormat() throws ParseException {        MailDateFormat mdf = new MailDateFormat();        Date date = mdf.parse("Wed, 27 Aug 2003 13:43:38 +0100 (BST)");        // don't we just love the Date class?        Calendar cal = Calendar.getInstance();        cal.setTime(date);        assertEquals(2003, cal.get(Calendar.YEAR));        assertEquals(Calendar.AUGUST, cal.get(Calendar.MONTH));        assertEquals(27, cal.get(Calendar.DAY_OF_MONTH));        assertEquals(Calendar.WEDNESDAY, cal.get(Calendar.DAY_OF_WEEK));        assertEquals(13, cal.get(Calendar.HOUR_OF_DAY));        assertEquals(43, cal.get(Calendar.MINUTE));        assertEquals(38, cal.get(Calendar.SECOND));    }