标签:ofSeconds

  • java.time.Duration ofSeconds()方法

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

  • java.time.Duration ofSeconds()方法

    java time Duration ofSeconds(longseconds)方法获取表示标准秒数的Duration。1语法publicstaticDurationofSeconds(longseconds)2参数secon