decodeTimeStampTz method

void decodeTimeStampTz(
  1. IStatus status,
  2. Pointer<IscTimestampTz> timeStampTz,
  3. Pointer<UnsignedInt> year,
  4. Pointer<UnsignedInt> month,
  5. Pointer<UnsignedInt> day,
  6. Pointer<UnsignedInt> hours,
  7. Pointer<UnsignedInt> minutes,
  8. Pointer<UnsignedInt> seconds,
  9. Pointer<UnsignedInt> fractions,
  10. int timeZoneBufferLength,
  11. Pointer<Utf8> timeZoneBuffer,
)

Implementation

void decodeTimeStampTz(
    IStatus status,
    Pointer<IscTimestampTz> timeStampTz,
    Pointer<UnsignedInt> year,
    Pointer<UnsignedInt> month,
    Pointer<UnsignedInt> day,
    Pointer<UnsignedInt> hours,
    Pointer<UnsignedInt> minutes,
    Pointer<UnsignedInt> seconds,
    Pointer<UnsignedInt> fractions,
    int timeZoneBufferLength,
    Pointer<Utf8> timeZoneBuffer) {
  if (version < 4) {
    throw UnimplementedError(
        "Firebird client library version 4 or later required.");
  }
  _decodeTimeStampTz(self, status.self, timeStampTz, year, month, day, hours,
      minutes, seconds, fractions, timeZoneBufferLength, timeZoneBuffer);
  status.checkStatus();
}