The IfxToJavaInterval() method
The IfxToJavaInterval() method converts the HCL Informix® DATETIME data type to the Java™ interval data type. The conversion path is Informix to decimal to interval.
Method signature
public static Interval IfxToJavaInterval (byte b [], short prec)
public static Interval IfxToJavaInterval (byte b [], int offset, int length,
short prec)
Input parameters
- b
- The bytes encoding data
- offset
- The offset into byte array.
- prec
- The precision as received from Informix.
- length
- The data length.