### Question:
DCDate { public static DCDate getCurrent() { return (new DCDate(new Date())); } DCDate(Date date);  DCDate(int yyyy, int mm, int dd, int hh, int mn, int ss);  DCDate(String fromDC); int getYear(); int getMonth(); int getDay(); int getHour(); int getMinute(); int getSecond(); int getYearUTC(); int getMonthUTC(); int getDayUTC(); int getHourUTC(); int getMinuteUTC(); int getSecondUTC(); String toString(); Date toDate(); String displayDate(boolean showTime, boolean isLocalTime, Locale locale); String displayLocalDate(boolean showTime, Locale locale); String displayUTCDate(boolean showTime, Locale locale); static DCDate getCurrent(); static String getMonthName(int m, Locale locale);  }### Answer:
@Test public void testGetCurrent() { assertTrue("testGetCurrent 0", DateUtils.isSameDay(DCDate.getCurrent().toDate(), new Date())); }
@Test public void testGetCurrent() { Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMillis()); calendar.setTimeZone(TimeZone.getTimeZone("UTC")); assertTrue("testGetCurrent 0", DateUtils.isSameDay(DCDate.getCurrent().toDate(), calendar.getTime())); }