List of utility methods to do yyyy
String | format(Date date) format return format(date, "yyyy-MM-dd"); |
String | format(Date date) Converte uma data para String no formato dd/MM/yyyy. return DEFAULT.format(date);
|
String | format(Date date, String format) format return new SimpleDateFormat(format).format(date); |
String | format(Date date, String pattern) format if (date == null) { return null; SimpleDateFormat sf = new SimpleDateFormat(pattern); return sf.format(date); |
String | format(Date date, String pattern) format if (date == null) return ""; else return getFormatter(pattern).format(date); |
String | format(Date pDt) format return formatter.format(pDt);
|
String | format(final Date date, final String pattern) format if (date == null) { return null; if (pattern != null) { return new SimpleDateFormat(pattern).format(date); return new SimpleDateFormat("dd.MM.yyyy").format(date); |
String | format(final java.util.Date date, final String sFormat) Format the given date using the given format SimpleDateFormat dateFormat = new SimpleDateFormat(sFormat); return dateFormat.format(date); |
String | format(java.util.Date date) format if (date == null) { return ""; return format(date, "yyyy/MM/dd"); |
String | format(java.util.Date date) format return date == null ? "" : format(date, "yyyy-MM-dd"); |