presto-iceberg/src/main/java/io/prestosql/plugin/iceberg/PartitionTransforms.java/PartitionTransforms/yearsFromDate
class PartitionTransforms:    private static Block yearsFromDate(Block block)
    {
        return extractDate(block, value -> YEARS_DURATION.getValueAsLong(DAYS.toMillis(value)));
    }