encodeTimeStampTz method
void
encodeTimeStampTz()
Implementation
void encodeTimeStampTz(
IStatus status,
Pointer<IscTimestampTz> timeStampTz,
int year,
int month,
int day,
int hours,
int minutes,
int seconds,
int fractions,
String timeZone) {
if (version < 4) {
throw UnimplementedError(
"Firebird client library version 4 or later required.");
}
final timeZoneUtf = timeZone.toNativeUtf8(allocator: mem);
try {
_encodeTimeStampTz(self, status.self, timeStampTz, year, month, day,
hours, minutes, seconds, fractions, timeZoneUtf);
status.checkStatus();
} finally {
mem.free(timeZoneUtf);
}
}