def _year_number_to_string(year):
    """Converts year from number to string.

    :param year: Integer year.
    :return: year_string: String in format "yyyy" (with leading zeros if
        necessary).
    """

    return '{0:04d}'.format(int(year))