### Question:
ISODate { public static String getExpirationDate(Date d) { return formatDate (d, "yyMM"); } private  ISODate(); static String formatDate(Date d, String pattern); static String formatDate(Date d, String pattern, TimeZone timeZone); static Date parse(String s); static Date parse(String s, TimeZone timeZone); static Date parseDateTime(String s); static Date parseDateTime(String s, TimeZone timeZone); static Date parseISODate(String d); static Date parseISODate(String d, TimeZone timeZone); static Date parseISODate(String d, long currentTime); static Date parseISODate(String d, long currentTime, TimeZone timeZone); static String getDateTime(Date d); static String getDateTime(Date d, TimeZone timeZone); static String getTime(Date d); static String getTime(Date d, TimeZone timeZone); static String getDate(Date d); static String getDate(Date d, TimeZone timeZone); static String getANSIDate(Date d); static String getANSIDate(Date d, TimeZone timeZone); static String getEuropeanDate(Date d); static String getEuropeanDate(Date d, TimeZone timeZone); static String getExpirationDate(Date d); static String getExpirationDate(Date d, TimeZone timeZone); static String getJulianDate(Date d); static String getJulianDate(Date d, TimeZone timeZone); static final long ONE_YEAR; }### Answer:
@Test public void testGetExpirationDate() { GregorianCalendar cal = new GregorianCalendar(aus); cal.set(2011, 02, 25); String result = ISODate.getExpirationDate(cal.getTime(), aus); assertThat(result, is("1103")); }