>
java time Duration withSeconds(intseconds)方法返回具有指定秒数的此持续时间的副本。1语法publicDurationwithSeconds(intseconds)2参数s