Share via


equals Method (DateTimeOffset)

Compares this DateTimeOffset object to another Object.

Syntax

public boolean equals(Object o)

Parameters

o

The object you want compare to the current instance.

Return Value

Returns true if this DateTimeOffset object represents the same point in time at the same offset from GMT as another DateTimeOffset.

See Also

Reference

DateTimeOffset Class

Concepts

DateTimeOffset Members