Here you can find the source of getTodayAsLocalDate()
public static LocalDate getTodayAsLocalDate()
//package com.java2s; //License from project: Open Source License import java.time.LocalDate; public class Main { /**//from w ww. j a va2 s. c o m * Returns today's date as a LocalDate */ public static LocalDate getTodayAsLocalDate() { LocalDate today = LocalDate.now(); return today; } }