presto-main/src/main/java/io/prestosql/sql/planner/LiteralInterpreter.java/LiteralVisitor/visitTimeLiteral
class LiteralVisitor:        @Override
        protected Long visitTimeLiteral(TimeLiteral node, ConnectorSession session)
        {
            if (session.isLegacyTimestamp()) {
                return parseTimeLiteral(session.getTimeZoneKey(), node.getValue());
            }
            else {
                return parseTimeLiteral(node.getValue());
            }
        }