Here you can find the source of localDate2Str(LocalDate localDate)
public static String localDate2Str(LocalDate localDate)
//package com.java2s; //License from project: Open Source License import java.time.*; import java.time.format.DateTimeFormatter; public class Main { public static String localDate2Str(LocalDate localDate) { return localDate.format(DateTimeFormatter.ISO_DATE); }/*w ww.ja va 2 s . co m*/ }