minus static method

OffsetDateTime minus(
  1. OffsetDateTime offsetDateTime,
  2. Time time
)

Subtracts a duration from an offset date and time.

  • offsetDateTime: The value to subtract the duration from.
  • duration: The duration to subtract.

Returns: A new value with the time 'rewound' by the given duration, in the same calendar system and with the same offset.

Implementation

static OffsetDateTime minus(OffsetDateTime offsetDateTime, Time time) => offsetDateTime - time;