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