public class TimeZoneDatatypeCoder
extends java.lang.Object
TIME WITH TIME ZONE and TIMESTAMP WITH TIME ZONE.
 As this uses Java 8 and higher types, this is not part of datatype coder itself.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | TimeZoneDatatypeCoder.TimeZoneCodecSimpler API for encoding or decoding  java.timetypes. | 
| Constructor and Description | 
|---|
| TimeZoneDatatypeCoder(DatatypeCoder datatypeCoder)Initializes a time zone datatype coder. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TimeZoneDatatypeCoder | getInstanceFor(DatatypeCoder datatypeCoder)Gets or creates an instance of time zone datatype coder for a datatype coder. | 
| TimeZoneDatatypeCoder.TimeZoneCodec | getTimeZoneCodecFor(FieldDescriptor fieldDescriptor)Obtains the  TimeZoneDatatypeCoder.TimeZoneCodecimplementation for the field described byfieldDescriptor. | 
| TimeZoneDatatypeCoder.TimeZoneCodec | getTimeZoneCodecFor(int fieldType)Obtains the  TimeZoneDatatypeCoder.TimeZoneCodecimplementation for the field with the specified Firebird type. | 
public TimeZoneDatatypeCoder(DatatypeCoder datatypeCoder)
datatypeCoder - datatype coderpublic TimeZoneDatatypeCoder.TimeZoneCodec getTimeZoneCodecFor(FieldDescriptor fieldDescriptor) throws java.sql.SQLException
TimeZoneDatatypeCoder.TimeZoneCodec implementation for the field described by fieldDescriptor.fieldDescriptor - Field descriptorTimeZoneCodecjava.sql.SQLException - When fieldDescriptor is not a TIME/TIMESTAMP WITH TIME ZONE type fieldgetTimeZoneCodecFor(int)public TimeZoneDatatypeCoder.TimeZoneCodec getTimeZoneCodecFor(int fieldType) throws java.sql.SQLException
TimeZoneDatatypeCoder.TimeZoneCodec implementation for the field with the specified Firebird type.fieldType - Firebird type of the fieldTimeZoneCodecjava.sql.SQLException - When fieldType is not a TIME/TIMESTAMP WITH TIME ZONE typepublic static TimeZoneDatatypeCoder getInstanceFor(DatatypeCoder datatypeCoder)
datatypeCoder - Datatype coder instanceTimeZoneDatatypeCoderCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.