registerIndia function

void registerIndia()

Implementation

void registerIndia() {
  if (_registered) return; // idempotent: register once
  _registered = true;
  registerCity('Delhi', tithi: delhi.delhiTithiCorrections);
  registerCity('Mumbai', tithi: mumbai.mumbaiTithiCorrections);
  registerCity('Kolkata', tithi: kolkata.kolkataTithiCorrections);
  registerCity('Chennai', tithi: chennai.chennaiTithiCorrections);
  registerCity('Srinagar', tithi: srinagar.srinagarTithiCorrections);
  registerCity('Bangalore', tithi: bangalore.bangaloreTithiCorrections);
  registerCity('Hyderabad', tithi: hyderabad.hyderabadTithiCorrections);
  registerCity('Pune', tithi: pune.puneTithiCorrections);
  registerCity('Ahmedabad', tithi: ahmedabad.ahmedabadTithiCorrections);
  registerCity('Jaipur', tithi: jaipur.jaipurTithiCorrections);
  registerCity('Lucknow', tithi: lucknow.lucknowTithiCorrections);
  registerCity('Chandigarh', tithi: chandigarh.chandigarhTithiCorrections);
  registerCity('Jammu', tithi: jammu.jammuTithiCorrections);
  registerCity('Indore', tithi: indore.indoreTithiCorrections);
  registerCity('Ujjain', tithi: ujjain.ujjainTithiCorrections);
  registerCity('Bhopal', tithi: bhopal.bhopalTithiCorrections);
  registerCity('Nagpur', tithi: nagpur.nagpurTithiCorrections);
  registerCity('Patna', tithi: patna.patnaTithiCorrections);
  registerCity('Kochi', tithi: kochi.kochiTithiCorrections);
  registerCity('Guwahati', tithi: guwahati.guwahatiTithiCorrections);
  registerCity('Varanasi', tithi: varanasi.varanasiTithiCorrections);
  registerCity('Amritsar', tithi: amritsar.amritsarTithiCorrections);
  registerCity('Dehradun', tithi: dehradun.dehradunTithiCorrections);
  registerCity('Thiruvananthapuram',
      tithi: thiruvananthapuram.thiruvananthapuramTithiCorrections);
  registerCity('Coimbatore', tithi: coimbatore.coimbatoreTithiCorrections);
  registerCity('Visakhapatnam',
      tithi: visakhapatnam.visakhapatnamTithiCorrections);
  registerCity('Mangalore', tithi: mangalore.mangaloreTithiCorrections);
  registerCity('Mysore', tithi: mysore.mysoreTithiCorrections);
  registerCity('Noida', tithi: noida.noidaTithiCorrections);
  registerCity('Gurgaon', tithi: gurgaon.gurgaonTithiCorrections);
}