Checks if this DateTime is in the same year as other.
other
bool isSameYearAs(DateTime other) => isAtSameYearAs(other);