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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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