private void verifyTsString(String tsString, boolean local) {
    Timestamp ts = Timestamp.valueOf(tsString);
    ZoneId sourceZone = local ? ZoneOffset.UTC : TimeZone.getDefault().toZoneId(); 
    NanoTime nt = NanoTimeUtils.getNanoTime(ts, sourceZone, false);
    ZoneId targetZone = local ? ZoneOffset.UTC : TimeZone.getDefault().toZoneId();
    Timestamp tsFetched = NanoTimeUtils.getTimestamp(nt, targetZone);
    Assert.assertEquals(tsString, tsFetched.toString());
  }
17:00 PDT = 00:00 GMT (daylight-savings)
(0*60*60 + 1*60 + 1)*10e9 + 1 = 61000000001, or

17:00 PST = 01:00 GMT (if not daylight savings)
(1*60*60 + 1*60 + 1)*10e9 + 1 = 3661000000001
ql/src/test/org/apache/hadoop/hive/ql/io/parquet/serde/TestParquetTimestampUtils.java