minus static method

ZonedDateTime minus(
  1. ZonedDateTime zonedDateTime,
  2. Time time
)

Subtracts a duration from a zoned date and time.

  • zonedDateTime: The value to subtract the duration from.
  • time: The duration to subtract.

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

Implementation

static ZonedDateTime minus(ZonedDateTime zonedDateTime, Time time) => zonedDateTime.subtract(time);