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