The IfxToJavaInterval() method

The IfxToJavaInterval() method converts the HCL OneDB™ DATETIME data type to the Java™ interval data type. The conversion path is HCL OneDB 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 HCL OneDB.
length
The data length.