skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : Using the setVal method to set a time
 

Using the setVal method to set a time

Use this method to set a value for XO_TYPE_TIME column.
void setVal(
int hour,
int minute,
int second,
int fraction)
Table 97. Parameters for setVal When Setting Time
Parameter
Type
Description
INPUT
hour
int
Hours since midnight - [0,23].
minute
int
Minutes after the hour - [0,59].
second
int
Seconds after the minute - [0,59].
fraction
int
Not used. Set to 0.
RETURN
NONE