protected override void WriteTimestamp(TimestampData o, SqlType type) { this.WriteLong(o.GetSeconds()); this.WriteInt(o.GetNanos()); if (type.TypeCode == 0x5f) { this.WriteInt(o.GetZone()); } }
protected override void WriteDate(TimestampData o, SqlType type) { this.WriteLong(o.GetSeconds()); }