Gemstone Common Library
Show/Hide TOC

# TimeEquals(Object) Method

Returns a value indicating whether this instance is equal to a specified object.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
C#
View Source Request Example

    public override bool Equals(
    	Object obj
    )

VB
View Source Request Example

    Public Overrides Function Equals (
    	obj As Object
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool Equals(
    	Object^ obj
    ) override

JavaScript
View Source Request Example

    function Equals(obj);

#### Parameters

obj Object
  An object to compare, or null.

#### Return Value

Boolean
True if obj is an instance of Double or Time and equals the value of this instance; otherwise, False.

## See Also

#### Reference

Time Structure
Equals Overload
Gemstone.Units Namespace