Java LocalDate Calculate isEqual(LocalDate date1, LocalDate date2)

Here you can find the source of isEqual(LocalDate date1, LocalDate date2)

Description

Returns true if a given dates fall on the same day, irregardless of time

License

Open Source License

Declaration

public static boolean isEqual(LocalDate date1, LocalDate date2) 

Method Source Code

//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);
    }
}

Related

  1. getYearMonth(LocalDate localDate)
  2. isActual(LocalDate before, LocalDate after)
  3. isAnyLocalDate(Object obj)
  4. isBankHoliday(List bankHolidays, LocalDate date)
  5. isDayOfWeek(LocalDate d, DayOfWeek dow)
  6. isInPeriod(LocalDate subject, LocalDate start, LocalDate end)
  7. isLess(@Nonnull final LocalDate aDate1, @Nonnull final LocalDate aDate2)
  8. isLocalDateAD(LocalDate date)
  9. isLocalDateOrDateTimeType(Class type)