@Test public void testFormatDashYMDHMS() throws Exception { assertEquals("1970-01-01 00:00:00", DateKit.formatDashYMDHMS(new Date(0L))); assertEquals("2012-09-05 09:57:57", DateKit.formatDashYMDHMS(new Date(1346839077523L))); }
public static String formatDashYMDHMS(Date date) { return YMDHMS_DASH_DATE_FORMAT.print(new DateTime(date)); }
DateKit { public static String formatDashYMDHMS(Date date) { return YMDHMS_DASH_DATE_FORMAT.print(new DateTime(date)); } }
DateKit { public static String formatDashYMDHMS(Date date) { return YMDHMS_DASH_DATE_FORMAT.print(new DateTime(date)); } private  DateKit(); }
DateKit { public static String formatDashYMDHMS(Date date) { return YMDHMS_DASH_DATE_FORMAT.print(new DateTime(date)); } private  DateKit(); static String formatDashYMDHMS(Date date); static Date parseDashYMDHMS(String httpDateFormat); static DateTime parseDashYMDHMSDateTime(String httpDateFormat); static String formatDashYMD(Date date); static Date parseDashYMD(String httpDateFormat); static DateTime parseDashYMDDateTime(String httpDateFormat); static String formatDashYMDHM(Date date); static Date parseDashYMDHM(String httpDateFormat); static DateTime parseDashYMDHMDateTime(String httpDateFormat); static String formatForHttpHeader(Date date); static String formatForHttpHeader(Long unixTime); static Date parseHttpDateFormat(String httpDateFormat); static DateTime parseHttpDateFormatToDateTime(String httpDateFormat); static Long getUnixTimeAfterDay(int day); static Long getUnixTimeBeforeDay(int day); static Long getCurrentUnixTime(); }
DateKit { public static String formatDashYMDHMS(Date date) { return YMDHMS_DASH_DATE_FORMAT.print(new DateTime(date)); } private  DateKit(); static String formatDashYMDHMS(Date date); static Date parseDashYMDHMS(String httpDateFormat); static DateTime parseDashYMDHMSDateTime(String httpDateFormat); static String formatDashYMD(Date date); static Date parseDashYMD(String httpDateFormat); static DateTime parseDashYMDDateTime(String httpDateFormat); static String formatDashYMDHM(Date date); static Date parseDashYMDHM(String httpDateFormat); static DateTime parseDashYMDHMDateTime(String httpDateFormat); static String formatForHttpHeader(Date date); static String formatForHttpHeader(Long unixTime); static Date parseHttpDateFormat(String httpDateFormat); static DateTime parseHttpDateFormatToDateTime(String httpDateFormat); static Long getUnixTimeAfterDay(int day); static Long getUnixTimeBeforeDay(int day); static Long getCurrentUnixTime();  }