Noda Time
Subtract Method (zonedDateTime, duration)
NamespacesNodaTimeZonedDateTimeSubtract(ZonedDateTime, Duration)

[This is preliminary documentation and is subject to change.]

Subtracts a duration from a zoned date and time. Friendly alternative to operator-().
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
zonedDateTime (ZonedDateTime)
The value to subtract the duration from.
duration (Duration)
The duration to subtract.
Return Value
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)