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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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