private static Stream<Arguments> julianLeapYearEdgeCases() {
    return Stream.of(Arguments.of("GMT-12:00", "GMT+14:00", "0200-02-27 22:00:00.000000001",
            "0200-03-01 00:00:00.000000001"),
        Arguments.of("GMT+14:00", "GMT-12:00", "0200-03-01 00:00:00.000000001",
            "0200-02-27 22:00:00.000000001"),
        Arguments.of("GMT+14:00", "GMT-12:00", "0200-03-02 00:00:00.000000001",
            "0200-02-28 22:00:00.000000001"),
        Arguments.of("GMT-12:00", "GMT+14:00", "0200-03-02 00:00:00.000000001",
            "0200-03-03 02:00:00.000000001"),
        Arguments.of("GMT-12:00", "GMT+12:00", "0200-02-28 00:00:00.000000001", "0200-03-01 00:00:00.000000001"),
        Arguments.of("GMT+12:00", "GMT-12:00", "0200-03-01 00:00:00.000000001", "0200-02-28 00:00:00.000000001"),
        Arguments.of("Asia/Singapore", "Asia/Singapore", "0200-03-01 00:00:00.000000001",
            "0200-03-01 00:00:00.000000001"));
  }
Tests that timestamps written using Hive2 APIs on julian leap years are read correctly by Hive4 APIs when legacy
conversion is on.
ql/src/test/org/apache/hadoop/hive/ql/io/parquet/serde/TestParquetTimestampsHive2Compatibility.java