java time LocalTime ofSecondOfDay(longsecondOfDay)方法从一天的秒数获取LocalTime的实例。1语法publicstaticLocalTimeofSecondOfDay(lon
java time LocalTime ofNanoOfDay(longnanoOfDay)方法从一天的纳秒值获取LocalTime的实例。1语法publicstaticLocalTimeofNanoOfDay(longnan
java time LocalTime of(intyear,intmonth,intdayOfMonth,inthour,intminute,intsecond)方法从小时,分钟和秒获取LocalTime的实例,将
java time LocalTime of(inthour,intminute)方法从小时和分钟获取LocalTime的实例。1语法publicstaticLocalTimeof(inthour,intminute)2参
java time LocalTime now(ZoneIdzone)方法从指定时区中的系统时钟获取当前时间。1语法publicstaticLocalTimenow(ZoneIdzone)2参数zone:要
java time LocalTime now(Clockclock)方法从指定的时钟获取当前时间。1语法publicstaticLocalTimenow(Clockclock)2参数clock-要使用的时钟
java time LocalTime now()方法从默认时区中的系统时钟获取当前时间。1语法publicstaticLocalTimenow()2参数无3返回值使用系统时钟和默认时
java time LocalTime minusSeconds(longseconds)方法返回此LocalTime的副本,并减去指定的秒数。1语法publicLocalTimeminusSeconds(longsec
java time LocalTime minusNanos(longnanos)方法返回此LocalTime的副本,并减去指定的纳秒数。1语法publicLocalTimeminusNanos(longnanos)2
java time LocalTime minusMinutes(longminutesToSubtract)方法返回此LocalTime的副本,并减去指定的分钟数。1语法publicLocalTimeminusMin