List of utility methods to do Long Number to Date
String | format(long date) format return format(new Date(date), FORMAT_FULL_GENERIC); |
String | format(Long date, String pattern) format try { Date d = DB_FORMAT.parse(String.valueOf(date)); return format(d, pattern); } catch (ParseException e) { return ""; |
String | format(long date, String pattern) Format a date/time into a specific pattern. return format(new Date(date), pattern); |
String | format(long dateInMillis, String pattern) format return new SimpleDateFormat(pattern).format(new Date(dateInMillis)); |
String | format(Long dateMs, String type) format Date date = new Date(dateMs); SimpleDateFormat sdf = new SimpleDateFormat(type); return sdf.format(date); |
String | format(Long dateTmie, String formate) format Date date = new Date(dateTmie); return getFormat(formate).format(date); |
String | format(long time, SimpleDateFormat format) format if (format == null) { return formatDateTime(time); Calendar calendar = getCalendar(time); return format.format(calendar.getTime()); |
String | formatDate(final long date) Formats a timestamp representing the seconds since January 1, 1970, 00:00:00 GMT into a string. return formatDate(new Date(date * 1000)); |
String | formatDate(final long ticks, final SimpleDateFormat format) format Date return format.format(ticksToDate(ticks));
|
String | formatDate(final long time) format Date return new SimpleDateFormat(H_DATE_FROMAT).format(new Date(time)); |