public static void setTimestampTZ(TimestampTZ t, byte[] bytes, int offset, ZoneId timeZone) {
    long seconds = getSeconds(bytes, offset);
    int nanos = hasDecimalOrSecondVInt(bytes[offset]) ? getNanos(bytes, offset + 4) : 0;
    t.set(seconds, nanos, timeZone);
  }
Given an integer representing nanoseconds, write its serialized
value to the byte array b at offset

@param nanos
@param b
@param offset
@return
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampLocalTZWritable.java