List of utility methods to do LocalDate to String
String | dateToFullString(LocalDate date) date To Full String return getFullFormatter().format(date);
|
String | dateToString(LocalDate date) date To String return dateToString(date, null);
|
String | localDate2Str(LocalDate localDate) local Date Str return localDate.format(DateTimeFormatter.ISO_DATE);
|
String | localDateToString(LocalDate date) localDateToString, This returns the supplied date in the ISO-8601 format (uuuu-MM-dd). return localDateToString(date, ""); |
String | toDateString(LocalDate date, String pattern) to Date String return DateTimeFormatter.ofPattern(pattern).format(date);
|
String | toString(LocalDate d) Return the string of a LocalDate or null if it's null
return d == null ? null : d.toString();
|
String | toString(LocalDate date) to String DateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.getDefault()); return format.format(date); |