presto-main/src/main/java/io/prestosql/util/DateTimeUtils.java/DateTimeUtils/parseTimeLiteral
class DateTimeUtils:    public static long parseTimeLiteral(String value)
    {
        try {
            return parseTimeWithTimeZone(value);
        }
        catch (Exception e) {
            return parseTimeWithoutTimeZone(value);
        }
    }