static date_type local_dst_start_day(year_type year) { if (year >= year_type(2007)) { //second sunday in march nkday ssim(nkday::second, Sunday, gregorian::Mar); return ssim.get_date(year); } else { //first sunday in april fkday fsia(Sunday, gregorian::Apr); return fsia.get_date(year); } }
static date_type local_dst_start_day(year_type year) { //first sunday in april fkday fsia(Sunday, gregorian::Apr); return fsia.get_date(year); }