Seeks to the given season within the given year

@param seasonString
@param yearString
193269
public void seekToSeasonYear(String seasonString, String yearString) {
    Season season = Season.valueOf(seasonString);
    assert(season != null);
    
    seekToIcsEventYear(SEASON_ICS_FILE, yearString, season.getSummary());
  }
603127
public void setYear(String newYear)
	{
		if (newYear.length() > YEAR_SIZE)
		{
			year = newYear.substring(0, YEAR_SIZE);
		}
		else
		{
			year = newYear;
		}
	}
43509
void formatYear(StringBuilder b, ZonedDateTime d, int width) {
    int year = d.getYear();
    _formatYearValue(b, year, width);
  }
924337
public void seekToHolidayYear(String holidayString, String yearString) {
    Holiday holiday = Holiday.valueOf(holidayString);
    assert(holiday != null);
    
    seekToIcsEventYear(HOLIDAY_ICS_FILE, yearString, holiday.getSummary());
  }
1143928
public static java.sql.Date rollYears(java.util.Date startDate, int years) {
        return rollDate(startDate, Calendar.YEAR, years);
    }
457020
public function setSearchString($searchString): void
    {
        $this->searchString = $searchString;
        $this->query = $this->createSearchQuery();
    }
596034
def _get_season(_datetime: typing.Optional[date] = None) -> typing.Tuple[str, int]:
    
    if _datetime is None:
        _actual_datetime: date = datetime.now().date().replace(year=Y)
    else:
        _actual_datetime = _datetime.replace(year=Y)
    return next((season, temp) for season, temp, (start, end) in SEASONS if start <= _actual_datetime <= end)
1270611
public static Treenode search(Treenode start, String text) {
        return search(start.getTreeview(), text, defaultTreenodeSearch);
    }
908734
@Override
    public V get(String s, int offset, int len) {
        int t = 0;
        for (int i = 0; i < len; ) {
            char c = s.charAt(offset + i++);
            if (isCaseInsensitive() && c < 128)
                c = StringUtils.lowercases[c];

            while (true) {
                int row = ROW_SIZE * t;
                char n = _tree[row];
                int diff = n - c;

                if (diff == 0) {
                    t = _tree[row + EQ];
                    if (t == 0)
                        return null;
                    break;
                }

                t = _tree[row + hilo(diff)];
                if (t == 0)
                    return null;
            }
        }

        return _value[t];
    }
412880
public void setFindingTypes(java.util.Collection<String> findingTypes) {
        if (findingTypes == null) {
            this.findingTypes = null;
            return;
        }

        this.findingTypes = new java.util.ArrayList<String>(findingTypes);
    }
870788
public void setValue(int years, int months, int days, int hours, int minutes, double seconds) {
    setYears(years);
    setMonths(months);
    setDays(days);
    setHours(hours);
    setMinutes(minutes);
    setSeconds(seconds);
  }
1036173
public void search(Map<String, List<String>> fieldFacets, Map<String, List<String>> rangeFacets) {

        search(fieldFacets, rangeFacets, null);
    }
1007683
private static Treenode search(Iterable<Treenode> root, String text, ITreenodeSearch search) {
        for (Treenode node : root) {
            if (search.isMatch(node, text)) {
                return node;
            }
        }
        return null;
    }
1254199
public static Date getYear(String string) {
		if (string == null) {
			return null;
		}
		Date date = null;
		try {
			date = ((SimpleDateFormat)year.clone()) .parse(string);
		}
		catch (ParseException ex) {
			return null;
		}
		return date;
	}
352413
private int matchString(String text, int start, int field,
                            Map<String,Integer> data, CalendarBuilder calb) {
        if (data != null) {
            String bestMatch = null;

            for (String name : data.keySet()) {
                int length = name.length();
                if (bestMatch == null || length > bestMatch.length()) {
                    if (text.regionMatches(true, start, name, 0, length)) {
                        bestMatch = name;
                    }
                }
            }

            if (bestMatch != null) {
                calb.set(field, data.get(bestMatch));
                return start + bestMatch.length();
            }
        }
        return -start;
    }
74764
function(dateString) {
        var match = dateString.match(DATE_REGEXP);

        var year = this._validateYear(+match[1]);

        var month = +match[2];
        var isIntercalary = !!match[3];
        var monthIndex = this.toMonthIndex(year, month, isIntercalary);

        var day = +match[4];

        return this.newDate(year, monthIndex, day);
    }
151462
public void addSearch(String field, Class<? extends Execution> cls) {
        searches.put(field, cls);
    }