java time OffsetDateTime minusYears(longyearsToSubtract)方法返回此OffsetDateTime的副本,并减去指定的年份。1语法publicOffsetDateTim
java time OffsetDateTime minusWeeks(longweeksToSubtract)方法返回此OffsetDateTime的副本,并减去指定的周数。1语法publicOffsetDateTim
java time OffsetDateTime minusSeconds(longseconds)方法返回此OffsetDateTime的副本,并减去指定的秒数。1语法publicOffsetDateTimeminus
java time OffsetDateTime minusNanos(longnanos)方法返回此OffsetDateTime的副本,并减去指定的纳秒。1语法publicOffsetDateTimeminusNano
java time OffsetDateTime minusMonths(longmonthsToSubtract)方法返回此OffsetDateTime的副本,并减去指定的月份。1语法publicOffsetDateT
java time OffsetDateTime minusMinutes(longminutesToSubtract)方法返回此OffsetDateTime的副本,并减去指定的分钟数。1语法publicOffsetD
java time OffsetDateTime minusHours(longhoursToSubtract)方法返回此OffsetDateTime的副本,并减去指定的小时数。1语法publicOffsetDateT
java time OffsetDateTime compareTo(InstantotherInstant)方法返回此OffsetDateTime的副本,并减去指定的天数。1语法publicOffsetDateTime
java time OffsetDateTime minus(longamountToSubtract,TemporalUnitunit)方法返回此日期时间的副本,并减去指定的数量。1语法publicOffse
java time OffsetDateTime isSupported(TemporalFieldfield)方法检查是否支持指定的字段。1语法publicbooleanisSupported(TemporalFieldfie