>
java time Duration ofSeconds(longseconds,longnanoAdjustment)方法获取表示秒数的Duration和以纳秒为单位的调整。1语法publicstaticDurat