toString

public static String toString(LocalDate date)

Converts a local date into ISO-8601 string with the format yyyy-MM-dd.

See also