Gemstone Common Library
Show/Hide TOC

# TimeTagBaseLessThanOrEqual(DateTime, TimeTagBase) Operator

Returns true if value1 is less than or equal to value2.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
C#
View Source Request Example

    public static bool operator <=(
    	DateTime value1,
    	TimeTagBase? value2
    )

VB
View Source Request Example

    Public Shared Operator <= (
    	value1 As DateTime,
    	value2 As TimeTagBase
    ) As Boolean

C++
View Source Request Example

    public:
    static bool operator <=(
    	DateTime value1,
    	TimeTagBase^ value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 DateTime
  Value 1 in the comparison.
value2 TimeTagBase
  Value 2 in the comparison.

#### Return Value

Boolean
true if value1 is less than or equal to value2; otherwise false.

## See Also

#### Reference

TimeTagBase Class
LessThanOrEqual Overload
Gemstone Namespace