Java LocalDate Create getCurrentLocalDate()

Here you can find the source of getCurrentLocalDate()

Description

get Current Local Date

License

Apache License

Declaration

public static LocalDate getCurrentLocalDate() 

Method Source Code


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

import java.time.LocalDate;

import java.time.ZoneId;

public class Main {
    public static LocalDate getCurrentLocalDate() {
        return LocalDate.now(ZoneId.systemDefault());
    }/*  ww  w .  jav  a  2  s  . co m*/
}

Related

  1. getCurrentLocalDate()
  2. getCurrentLocalDate()
  3. getLocalDate(int year, int atDay)
  4. getLocalDate(java.util.Date date)