Here you can find the source of getDateStartFormat(LocalDate localDate)
public static String getDateStartFormat(LocalDate localDate)
//package com.java2s; //License from project: Apache License import java.time.*; import java.time.format.DateTimeFormatter; public class Main { public static String FORMAT_STR_1 = "yyyy-MM-dd HH:mm:ss"; public static String getDateStartFormat(LocalDate localDate) { return localDate.atTime(0, 0, 0).format(DateTimeFormatter.ofPattern(FORMAT_STR_1)); }/*from w ww. j av a 2 s .c om*/ }