Idris2Doc : Oracle.FFI.DateTime

Oracle.FFI.DateTime

(source)

Definitions

prim__dataTimestamp : AnyPtr -> PrimIO AnyPtr
  Return the address of the dpiTimestamp embedded inside a dpiData value.

The returned pointer is owned by the current Oracle row and remains valid
until the next fetch or until the statement is released.

Returns NULL when the supplied dpiData pointer is NULL.
prim__timestampYear : AnyPtr -> PrimIO Int32
  Retrieve the year component of a timestamp.
prim__timestampMonth : AnyPtr -> PrimIO Int32
  Retrieve the month component of a timestamp.
prim__timestampDay : AnyPtr -> PrimIO Int32
  Retrieve the day component of a timestamp.
prim__timestampHour : AnyPtr -> PrimIO Int32
  Retrieve the hour component of a timestamp.
prim__timestampMinute : AnyPtr -> PrimIO Int32
  Retrieve the minute component of a timestamp.
prim__timestampSecond : AnyPtr -> PrimIO Int32
  Retrieve the second component of a timestamp.
prim__timestampNanosecond : AnyPtr -> PrimIO Int32
  Retrieve the fractional second component of a timestamp.

The returned value is expressed in nanoseconds.
prim__timestampTZHour : AnyPtr -> PrimIO Int32
  Retrieve the timezone hour offset.

This is only meaningful for TIMESTAMP WITH TIME ZONE values.
prim__timestampTZMinute : AnyPtr -> PrimIO Int32
  Retrieve the timezone minute offset.

This is only meaningful for TIMESTAMP WITH TIME ZONE values.
prim__dataIntervalDS : AnyPtr -> PrimIO AnyPtr
  Return the dpiIntervalDS embedded inside a dpiData value.

The returned pointer is owned by Oracle and must not be freed.
prim__intervalDSDays : AnyPtr -> PrimIO Int32
  Retrieve the day component of an INTERVAL DAY TO SECOND value.
prim__intervalDSHours : AnyPtr -> PrimIO Int32
  Retrieve the hour component of an INTERVAL DAY TO SECOND value.
prim__intervalDSMinutes : AnyPtr -> PrimIO Int32
  Retrieve the minute component of an INTERVAL DAY TO SECOND value.
prim__intervalDSSeconds : AnyPtr -> PrimIO Int32
  Retrieve the second component of an INTERVAL DAY TO SECOND value.
prim__intervalDSNanoseconds : AnyPtr -> PrimIO Int32
  Retrieve the fractional second component of an INTERVAL DAY TO SECOND value.

The returned value is expressed in nanoseconds.
prim__dataIntervalYM : AnyPtr -> PrimIO AnyPtr
  Return the dpiIntervalYM embedded inside a dpiData value.

The returned pointer is owned by Oracle and must not be freed.
prim__intervalYMYears : AnyPtr -> PrimIO Int32
  Retrieve the year component of an INTERVAL YEAR TO MONTH value.
prim__intervalYMMonths : AnyPtr -> PrimIO Int32
  Retrieve the month component of an INTERVAL YEAR TO MONTH value.