java time OffsetTime minusSeconds(longseconds)方法返回此OffsetTime的副本,并减去指定的秒数。1语法publicOffsetTimeminusSeconds(long
java time OffsetTime minusNanos(longnanos)方法返回此OffsetTime的副本,并减去指定的纳秒。1语法publicOffsetTimeminusNanos(longnanos)
java time OffsetTime minusMinutes(longminutesToSubtract)方法返回此OffsetTime的副本,并减去指定的分钟数。1语法publicOffsetTimeminus
java time OffsetTime minusHours(longhoursToSubtract)方法返回此OffsetTime的副本,并减去指定的小时数。1语法publicOffsetTimeminusHour
java time OffsetTime minus(longamountToSubtract,TemporalUnitunit)方法返回此时间的副本,并减去指定的量。1语法publicOffsetTimeminus
java time OffsetTime isSupported(TemporalFieldfield)方法检查是否支持指定的字段。1语法publicbooleanisSupported(TemporalFieldfield)2
java time OffsetTime isEqual(OffsetTimeother)方法检查此时间是否等于指定的时间。1语法publicbooleanisEqual(OffsetTimeother)2参数othe
java time OffsetTime isBefore(OffsetTimeother)方法检查此时间是否在指定时间之前。1语法publicbooleanisBefore(OffsetTimeother)2参数ot
java time OffsetTime isAfter(OffsetTimeother)方法检查此时间是否在指定时间之后。1语法publicbooleanisAfter(OffsetTimeother)2参数othe
java time OffsetTime hashCode()方法获得这个时间的哈希值。1语法publicinthashCode()2参数无3返回值该方法返回一个合适的哈希码。4示例pa