java.time.LocalDate.toEpochDay() 方法示例 java.time.LocalDate.range() 方法示例 java.time.LocalDate.toString() 方法示例 java.time.LocalDate.toEpochDay() 方法示例 package com.codingdict; import java.time.LocalDate; public class LocalDateDemo { public static void main(String[] args) { LocalDate date = LocalDate.now(); System.out.println(date.toEpochDay()); } } java.time.LocalDate.range() 方法示例 java.time.LocalDate.toString() 方法示例