1 |
/* Time.java -- Wrapper around java.util.Date |
/* Time.java -- Wrapper around java.util.Date |
2 |
Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
308 |
* @exception ClassCastException if obj is not of type Timestamp. |
* @exception ClassCastException if obj is not of type Timestamp. |
309 |
* @since 1.2 |
* @since 1.2 |
310 |
*/ |
*/ |
311 |
public int compareTo(Object obj) |
public int compareTo(java.util.Date obj) |
312 |
{ |
{ |
313 |
return compareTo((Timestamp) obj); |
return compareTo((Timestamp) obj); |
314 |
} |
} |