def prefill(self, auto_fill_days, limit=None):
today = datetime.date.today()<EOL>if limit is None:<EOL><INDENT>limit = today<EOL><DEDENT>if not self.entries:<EOL><INDENT>cur_date = datetime.date(today.year, today.month, <NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>cur_date = max([date for date in self.entries.keys()])<EOL>cur_date += datetime.timedelta(days=<NUM_LIT:1>)<EOL><DEDENT>while cur_date <= limit:<EOL><INDENT>if (cur_date.weekday() in auto_fill_days and<EOL>cur_date not in self.entries):<EOL><INDENT>self.entries[cur_date] = []<EOL><DEDENT>cur_date = cur_date + datetime.timedelta(days=<NUM_LIT:1>)<EOL><DEDENT>
Add missing dates to the timesheet with respect to `auto_fill_days`, which should be a list of integers from
0-6, 0 being Monday and 6 Sunday. If `limit` is set, only dates up to the `limit` :class:`~datetime.date` will
be inserted.