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