The IfxToJavaDate() method
The IfxToJavaDate() method converts the HCL OneDB™ DATE data type to the Java™ java.sql.Date data type.
Method signature
public static java.sql.Date IfxToJavaDate (byte b [], short prec) public static java.sql.Date IfxToJavaDate (byte b []) public static java.sql.Date IfxToJavaDate (byte b [], int offset, int length, short prec) public static java.sql.Date IfxToJavaDate (byte b [], int offset)
Input parameters
- b
- The bytes encoding data
- offset
- The offset into byte array.
- prec
- The precision as received from HCL OneDB.
- length
- The data length.