Noda Time
LessThanOrEqual Operator
NamespacesNodaTimeLocalDateTimeLessThanOrEqual(LocalDateTime, LocalDateTime)

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

Compares two LocalDateTime values to see if the left one is earlier than or equal to the right one.
Declaration Syntax
C#Visual BasicVisual C++
public static bool operator <=(
	LocalDateTime lhs,
	LocalDateTime rhs
)
Public Shared Operator <= ( _
	lhs As LocalDateTime, _
	rhs As LocalDateTime _
) As Boolean
public:
static bool operator <=(
	LocalDateTime lhs, 
	LocalDateTime rhs
)
Parameters
lhs (LocalDateTime)
First operand of the comparison
rhs (LocalDateTime)
Second operand of the comparison
Return Value
true if the lhs is earlier than or equal to rhs, false otherwise.
Remarks
This operator always returns false if the two operands have different calendars. See the top-level type documentation for more information about comparisons.

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