GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.util.Date
java.sql.Time
Constructor Summary | |
| |
|
Method Summary | |
int |
|
int |
|
int |
|
int |
|
void |
|
void |
|
void |
|
String |
|
static Time |
Methods inherited from class java.util.Date | |
UTC , after , before , clone , compareTo , equals , getDate , getDay , getHours , getMinutes , getMonth , getSeconds , getTime , getTimezoneOffset , getYear , hashCode , parse , setDate , setHours , setMinutes , setMonth , setSeconds , setTime , setYear , toGMTString , toLocaleString , toString |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public Time(int hour, int minute, int second)
Deprecated.
This method initializes a new instance of this class with the specified year, month, and day.
- Parameters:
hour
- The hour for this Time (0-23)minute
- The minute for this time (0-59)second
- The second for this time (0-59)
public Time(long date)
This method initializes a new instance of this class with the specified time value representing the number of milliseconds since Jan 1, 1970 at 12:00 midnight GMT.
- Parameters:
date
- The time value to intialize thisTime
to.
public int getDate() throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public int getDay() throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public int getMonth() throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public int getYear() throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public void setDate(int newValue) throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public void setMonth(int newValue) throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public void setYear(int newValue) throws IllegalArgumentException
Deprecated.
This method always throws an IllegalArgumentException.
- Throws:
IllegalArgumentException
- when it's called.
public String toString()
This method returns this date in JDBC format.
- Returns:
- This date as a string.
GNU Classpath (0.95) |