implement fillWeek

thanks to stackoverlow