Java LocalDate Calculate period(LocalDate startDate, LocalDate endDate)

Here you can find the source of period(LocalDate startDate, LocalDate endDate)

Description

period

License

Apache License

Declaration

public static Period period(LocalDate startDate, LocalDate endDate) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.time.*;

public class Main {
    public static Period period(LocalDate startDate, LocalDate endDate) {
        return Period.between(startDate, endDate);
    }/*from w w w.j  ava 2 s  .  c  o m*/
}

Related

  1. next(Predicate p)
  2. normalizedYear(LocalDate d)
  3. obtenirLocalDateAPartirDUneDate(Date date)
  4. oneDayAfterNotificationRequired(LocalDate requestDate, LocalDate vehicleDetailsMotExpiryDate)
  5. parseDate(LocalDate date)
  6. plusDays(LocalDate date, int daysToAdd)
  7. rebucketingArray(List targetDates, double[] rebucketedSensitivityAmounts, double sensitivityAmount, LocalDate sensitivityDate)
  8. roundDown(final LocalDate dateTime, final TemporalUnit temporalUnit, final int size)
  9. stream(LocalDate startInclusive, LocalDate endExclusive)