Java LocalDateTime Calculate localDateTime2LocalDate(LocalDateTime localDateTime)

Here you can find the source of localDateTime2LocalDate(LocalDateTime localDateTime)

Description

local Date Time Local Date

License

Open Source License

Declaration

public static LocalDate localDateTime2LocalDate(LocalDateTime localDateTime) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.time.*;

public class Main {

    public static LocalDate localDateTime2LocalDate(LocalDateTime localDateTime) {
        return localDateTime.toLocalDate();

    }/*from ww w . ja v a  2 s .  com*/
}

Related

  1. isOverdue(LocalDateTime dueTime)
  2. isToday(LocalDateTime dateTime)
  3. isTodayOrYesterday(LocalDateTime date)
  4. isWithin(LocalDateTime start, LocalDateTime end)
  5. last(LocalDateTime from, int dayOfWeek)
  6. ms2LocalDateTime(final long ms)
  7. oldDateToISO8601LocalDateTime(Date nextColumnDate)
  8. parseStringToLocalDateTimeWithSpecifiedTime(String strDate, String time)
  9. parseTimeStamp(LocalDateTime actualDate, LocalDateTime checkedDate, boolean isDateFrom)