java.time.LocalDate.of() 方法示例 java.time.LocalDate.now(ZoneId zone) java.time.LocalDate.of(int year, Month month, int dayOfMonth) java.time.LocalDate.of() 方法示例 package com.codingdict; import java.time.LocalDate; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.of(2017,2,3); System.out.println(date); } } java.time.LocalDate.now(ZoneId zone) java.time.LocalDate.of(int year, Month month, int dayOfMonth)