java.time.LocalTime.ofSecondOfDay() 方法示例 java.time.LocalTime.ofNanoOfDay() 方法示例 java.time.LocalTime.parse() 方法示例 java.time.LocalTime.ofSecondOfDay() 方法示例 package com.codingdict; import java.time.LocalTime; public class LocalTimeDemo { public static void main(String[] args) { LocalTime time = LocalTime.ofSecondOfDay(3600); System.out.println(time); } } java.time.LocalTime.ofNanoOfDay() 方法示例 java.time.LocalTime.parse() 方法示例