Duration Negate Method Noda Time
Implements a friendly alternative to the unary negation operator.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static Duration Negate(
	Duration duration
)

Return Value

Type: Duration
The negative value of this duration
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also