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