java.time.LocalTime.of() 方法示例 java.time.LocalTime.now(ZoneId zone) java.time.LocalTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second) java.time.LocalTime.of() 方法示例 package com.codingdict; import java.time.LocalTime; public class LocalTimeDemo { public static void main(String[] args) { LocalTime time = LocalTime.of(6,30); System.out.println(time); } } java.time.LocalTime.now(ZoneId zone) java.time.LocalTime.of(int year, int month, int dayOfMonth, int hour, int minute, int second)