139140141142143144145146147148149
long micros; if (primitiveType == PrimitiveType.TimestampTZ) { micros = inst.getMicrosUTC(); } else { micros = inst.disambiguate(TimeZone.getDefault()).getMicrosLocal(); } if (!isInfinity(micros)) { micros -= PG_JAVA_EPOCH_DIFF_MICROS;