presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/StandardColumnMappings.java/StandardColumnMappings/timeWriteFunction
class StandardColumnMappings:    public static LongWriteFunction timeWriteFunction()
    {
        return (statement, index, value) -> {
            // Copied from `QueryBuilder.buildSql`
            // TODO verify correctness, add tests and support non-legacy timestamp
            statement.setTime(index, new Time(value));
        };
    }