|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
int |
getDay()
Gets the signed value of the DAY field of the INTERVAL. |
int |
getFraction()
Gets the signed value of the FRACTION field of the INTERVAL. |
int |
getHour()
Gets the signed value of the HOUR field of the INTERVAL. |
int |
getMinute()
Gets the signed value of the MINUTE field of the INTERVAL. |
int |
getMonth()
Gets the signed value of the MONTH field of the INTERVAL. |
int |
getSecond()
Gets the signed value of the SECOND field of the INTERVAL. |
java.lang.String |
getString()
Formats an INTERVAL in the Informix INTERVAL escape format. |
int |
getYear()
Gets the signed value of the YEAR field of an INTERVAL. |
| Method Detail |
public java.lang.String getString()
throws java.sql.SQLException
Examples:
'123456789-01' for a YEAR(9) TO MONTH INTERVAL '-12345 11:12:13.14151' for a DAY(5) TO FRACTION(5) INTERVAL
public int getYear()
throws java.sql.SQLException
If the YEAR field is not defined in the INTERVAL, this method returns a value of zero.
public int getMonth()
throws java.sql.SQLException
If the MONTH field is not defined in the INTERVAL, this method returns a value of zero.
public int getDay()
throws java.sql.SQLException
If the DAY field is not defined in the INTERVAL, this method returns a value of zero.
public int getHour()
throws java.sql.SQLException
If the HOUR field is not defined in the INTERVAL, this method returns a value of zero.
public int getMinute()
throws java.sql.SQLException
If the MINUTE field is not defined in the INTERVAL, this method returns a value of zero.
public int getSecond()
throws java.sql.SQLException
If the SECOND field is not defined in the INTERVAL, this method returns a value of zero.
public int getFraction()
throws java.sql.SQLException
Values returned by this method are all normalized to:
(Actual Fractional Value) * (10**5)
Examples:
If the FRACTION field is not defined in the INTERVAL, this method returns a value of zero.
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||