diff --git a/presto-jdbc/src/main/java/io/prestosql/jdbc/AbstractPrestoResultSet.java b/presto-jdbc/src/main/java/io/prestosql/jdbc/AbstractPrestoResultSet.java index f59943342b1a..77fdded476fa 100644 --- a/presto-jdbc/src/main/java/io/prestosql/jdbc/AbstractPrestoResultSet.java +++ b/presto-jdbc/src/main/java/io/prestosql/jdbc/AbstractPrestoResultSet.java @@ -107,15 +107,6 @@ abstract class AbstractPrestoResultSet static final DateTimeFormatter TIMESTAMP_FORMATTER = DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS"); - static final DateTimeFormatter TIMESTAMP_WITH_TIME_ZONE_FORMATTER = new DateTimeFormatterBuilder() - .append(DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS ZZZ").getPrinter(), - new DateTimeParser[] { - DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS Z").getParser(), - DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS ZZZ").getParser(), - }) - .toFormatter() - .withOffsetParsed(); - private final DateTimeZone resultTimeZone; protected final Iterator> results; private final Map fieldMap;