Noda Time
Subtraction Operator
NamespacesNodaTimeLocalDateSubtraction(LocalDate, Period)

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

Subtracts the specified period from the date.
Declaration Syntax
C#Visual BasicVisual C++
public static LocalDate operator -(
	LocalDate date,
	Period period
)
Public Shared Operator - ( _
	date As LocalDate, _
	period As Period _
) As LocalDate
public:
static LocalDate operator -(
	LocalDate date, 
	Period^ period
)
Parameters
date (LocalDate)
The date to subtract the period from
period (Period)
The period to subtract. Must not contain any (non-zero) time units.
Return Value
The result of subtracting the given period from the date

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)