encodeTimeTz method
void
encodeTimeTz()
Implementation
void encodeTimeTz(IStatus status, Pointer<IscTimeTz> timeTz, 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 {
_encodeTimeTz(self, status.self, timeTz, hours, minutes, seconds,
fractions, timeZoneUtf);
status.checkStatus();
} finally {
mem.free(timeZoneUtf);
}
}