presto-spi/src/main/java/io/prestosql/spi/type/SqlTime.java/SqlTime/getMillis
class SqlTime:    public long getMillis()
    {
        checkState(!isLegacyTimestamp(), "getMillis() can be called in new timestamp semantics only");
        return millis;
    }