All Packages
java.lang.Object | +----weblogic.jdbc.informix4.InformixInterval
 
 InformixInterval(InformixColumnMetaData, byte[])
	InformixInterval(InformixColumnMetaData, byte[])
   
 getDay()
	getDay()
   getFraction()
	getFraction()
   getHour()
	getHour()
   getMinute()
	getMinute()
   getMonth()
	getMonth()
   getSecond()
	getSecond()
   getString()
	getString()
   getYear()
	getYear()
   
 InformixInterval
InformixInterval
 protected InformixInterval(InformixColumnMetaData metadata,
                            byte inData[]) throws SQLException
 
 getString
getString
public String getString() throws SQLException
Examples:
'123456789-01' for a YEAR(9) TO MONTH INTERVAL '-12345 11:12:13.14151' for a DAY(5) TO FRACTION(5) INTERVAL
 getYear
getYear
public int getYear() throws SQLException
If the YEAR field is not defined in the INTERVAL, this method returns a value of zero.
 getMonth
getMonth
public int getMonth() throws SQLException
If the MONTH field is not defined in the INTERVAL, this method returns a value of zero.
 getDay
getDay
public int getDay() throws SQLException
If the DAY field is not defined in the INTERVAL, this method returns a value of zero.
 getHour
getHour
public int getHour() throws SQLException
If the HOUR field is not defined in the INTERVAL, this method returns a value of zero.
 getMinute
getMinute
public int getMinute() throws SQLException
If the MINUTE field is not defined in the INTERVAL, this method returns a value of zero.
 getSecond
getSecond
public int getSecond() throws SQLException
If the SECOND field is not defined in the INTERVAL, this method returns a value of zero.
 getFraction
getFraction
public int getFraction() throws 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.
All Packages