compare


Description:

public int compare (TimeCode tc2)

Compares this and tc2.

If both have latest daily jam information, it is taken into account. Otherwise, it is assumed that the daily jam of both this and tc2 was at the same time. Both time codes must be valid.

Parameters:

this

a valid TimeCode

tc2

another valid TimeCode

Returns:

1 if this is after tc2, -1 if this is before tc2, 0 otherwise.