def _first_weekday(weekday, d):
while weekday != d.weekday():<EOL><INDENT>d += timedelta(days=<NUM_LIT:1>)<EOL><DEDENT>return d<EOL>
Given a weekday and a date, will increment the date until it's
weekday matches that of the given weekday, then that date is returned.