Here you can find the source of max(ChronoLocalDate date1, ChronoLocalDate date2)
public static LocalDate max(ChronoLocalDate date1, ChronoLocalDate date2)
//package com.java2s; import java.time.*; import java.time.chrono.ChronoLocalDate; public class Main { public static LocalDate max(ChronoLocalDate date1, ChronoLocalDate date2) { return LocalDate.from(date1.isBefore(date2) ? date2 : date1); }/*from www .j a va 2 s. com*/ }