private function compareDatePart(DateInterval $first, DateInterval $second): int
    {
        if (0 !== $year = $this->compareValue($first->y, $second->y)) {
            return $year;
        }