Answers for "localdate now = localdate.now();"

0

localdate.of()

package com.tutorialspoint;

import java.time.LocalDate;
import java.time.Month;

public class LocalDateDemo {
   public static void main(String[] args) {
	  
      LocalDate date = LocalDate.of(2017,Month.FEBRUARY,3);
      System.out.println(date);  
   }
}
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language