Method compareTo(Timestamp ts)
Return type: int
Member of: java.sql.Timestamp
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return lastAccess.compareTo(dateAdded) <= 0;
2 if (from.compareTo(to) == 0)
3 if (from.compareTo(to) == 0)
4 result = value1Timestamp.compareTo(value2Timestamp);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.