Time.equals

Overview | Methods | Fields | This Package | All Packages

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.