@Test public void testFormateYearMonthDay() { assertEquals("2011-11-25", DateUtil.formateYearMonthDay(new Date(1322197921282L))); }
public static String formateYearMonthDay(Date date){ return yearMonthDaySdf.get().format(date); }
DateUtil { public static String formateYearMonthDay(Date date){ return yearMonthDaySdf.get().format(date); } }
DateUtil { public static String formateYearMonthDay(Date date){ return yearMonthDaySdf.get().format(date); }  }
DateUtil { public static String formateYearMonthDay(Date date){ return yearMonthDaySdf.get().format(date); }  static String getYearMonth(Date date); static String formateYearMonthDay(Date date); static Date parseYearMonthDay(String timeStr, Date defaultValue); static String formateDateTime(Date date); static Date parseDateTime(String timeStr, Date defaultValue); static final int getCurrentHour(); static final int getLastHour(); static final int getNextHour(); static Date getFirstDayOfCurMonth(); static Date getFirstDayInMonth(Date date); static Date getFirstDayInMonth(int month); static boolean isCurrentMonth(Date date); }
DateUtil { public static String formateYearMonthDay(Date date){ return yearMonthDaySdf.get().format(date); }  static String getYearMonth(Date date); static String formateYearMonthDay(Date date); static Date parseYearMonthDay(String timeStr, Date defaultValue); static String formateDateTime(Date date); static Date parseDateTime(String timeStr, Date defaultValue); static final int getCurrentHour(); static final int getLastHour(); static final int getNextHour(); static Date getFirstDayOfCurMonth(); static Date getFirstDayInMonth(Date date); static Date getFirstDayInMonth(int month); static boolean isCurrentMonth(Date date);  }