java.time.LocalDate.ofYearDay() 方法示例 java.time.LocalDate.ofEpochDay() 方法示例 java.time.LocalDate.parse() 方法示例 java.time.LocalDate.ofYearDay() 方法示例 package com.codingdict; import java.time.LocalDate; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.ofYearDay(2017,34); System.out.println(date); } } java.time.LocalDate.ofEpochDay() 方法示例 java.time.LocalDate.parse() 方法示例