Here you can find the source of isEqual(LocalDate date1, LocalDate date2)
public static boolean isEqual(LocalDate date1, LocalDate date2)
//package com.java2s; //License from project: Open Source License import java.time.LocalDate; public class Main { /**//from w w w .jav a2s . co m * Returns true if a given dates fall on the same day, irregardless of time */ public static boolean isEqual(LocalDate date1, LocalDate date2) { return date1.isEqual(date2); } }