[This is preliminary documentation and is subject to change.]
Subtracts a duration from a zoned date and time. Friendly alternative to operator-().

C# | Visual Basic | Visual C++ |
public static ZonedDateTime Subtract( ZonedDateTime zonedDateTime, Duration duration )
Public Shared Function Subtract ( _ zonedDateTime As ZonedDateTime, _ duration As Duration _ ) As ZonedDateTime
public: static ZonedDateTime Subtract( ZonedDateTime zonedDateTime, Duration duration )

- zonedDateTime (ZonedDateTime)
- The value to subtract the duration from.
- duration (Duration)
- The duration to subtract.

A new value with the time "rewound" by the given duration, in the same calendar system and time zone.
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)