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