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.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
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