presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/StandardColumnMappings.java/StandardColumnMappings/timeColumnMapping
class StandardColumnMappings:    public static ColumnMapping timeColumnMapping()
    {
        return ColumnMapping.longMapping(
                TIME,
                (resultSet, columnIndex) -> {
                    /*
                     * TODO `resultSet.getTime(columnIndex)` returns wrong value if JVM's zone had forward offset change during 1970-01-01
                     * and the time value being retrieved was not present in local time (a 'gap'), e.g. time retrieved is 00:10:00 and JVM zone is America/Hermosillo
                     * The problem can be averted by using `resultSet.getObject(columnIndex, LocalTime.class)` -- but this is not universally supported by JDBC drivers.
                     */
                    Time time = resultSet.getTime(columnIndex);
                    return UTC_CHRONOLOGY.millisOfDay().get(time.getTime());
                },
                timeWriteFunction());
    }