(a) Planning board. Prior to the date of the public hearing before the planning board, the city shall cause to be published within a newspaper of general circulation within the county a notice of the public hearing by the planning and zoning board. The notice shall state the time, place, and purpose of the public hearing. (b) City council. At least 15 but not more than 45 days prior to the date of the public hearing before the city council, the city shall cause to be published within a newspaper of general circulation within the county a notice of the public hearing by the city council. The notice shall state the time, place, and purpose of the public hearing.