create LocalDate - Java java.time

Java examples for java.time:LocalDate

Description

create LocalDate

Demo Code


//package com.java2s;
import java.time.LocalDate;
import java.time.Month;

public class Main {
    public static LocalDate of(int year, Month month) {
        return LocalDate.of(year, month, 1);
    }//from w  w  w .j a v a2s .c o m
}

Related Tutorials