Here you can find the source of isBetweenDates(LocalDate date, LocalDate start, LocalDate end)
public static boolean isBetweenDates(LocalDate date, LocalDate start, LocalDate end)
//package com.java2s; //License from project: Open Source License import java.time.LocalDate; public class Main { public static boolean isBetweenDates(LocalDate date, LocalDate start, LocalDate end) { return date.isAfter(start) && date.isBefore(end); }//from w w w . ja v a2s .c o m }