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