Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 56 of 134
Returns an OCI_DTYPE_INTERVAL_DS of datatype OCIInterval with the region id set (if the region is specified in the input string) and the current absolute offset, or an absolute offset with the region id set to 0.
sword OCIIntervalFromTZ ( dvoid *hndl, OCIError *err, CONST oratext *inpstring, size_t str_len, OCIInterval *result ) ;
The OCI user session handle or the environment handle.
The OCI error handle. If there is an error, it is recorded in err
and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet()
.
Pointer to the input string.
Length of inpstring
.
Output interval.
OCI_SUCCESS, on success,
OCI_INVALID_HANDLE, if err is null,
OCI_ERROR, if there is a bad interval type or time zone errors.
The input string must be of the form [+/-]TZH:TZM or 'TZR [TZD]'
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|