Microsoft SDK for Java

Time.equals

Tests for equality.

Syntax

public boolean equals( Object object )

Parameters

object

The object to compare to.

Return Value

Returns true if object is a Time object that represents the same time as this Time object.

Remarks

Use this method if you are unsure whether an object is a valid Time object. To compare two known Time objects, use the compare or compareTo methods.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.