|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ssaglobal.bde.Time
Class representing a Time value
| Constructor Summary | |
Time(int hour,
int minute,
int second)
Create a new Time object with the given values |
|
Time(long ms)
Create a Time object using Number of milliseconds since 1 januari, 1970, ignoring the Date Component. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares two Time objects |
int |
getHour()
Returns the hour |
int |
getMinute()
Returns the minutes |
int |
getSecond()
Returns the seconds |
long |
getTime()
Returns the Number of milliseconds since 1 januari, 1970 |
java.lang.String |
toString()
Formats a time in JDBC time escape format. |
static Time |
valueOf(java.lang.String s)
Converts a string in JDBC time escape format to a Time value. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Time(int hour,
int minute,
int second)
hour - the hourminute - the minutessecond - the secondspublic Time(long ms)
ms - Number of milliseconds since 1 januari, 1970| Method Detail |
public int getHour()
public int getMinute()
public int getSecond()
public static Time valueOf(java.lang.String s)
Time value.s - time in format "hh:mm:ss"Time objectjava.lang.IllegalArgumentException - If String is invalid.public long getTime()
public java.lang.String toString()
toString in class java.lang.ObjectString in hh:mm:ss formatpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The Time object to compare
|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||