@staticmethod<EOL><INDENT>def get_nth_weekday_in_month(year, month, weekday, n=<NUM_LIT:1>, start=None):<DEDENT>
<EOL>if start:<EOL><INDENT>start = cleaned_date(start)<EOL><DEDENT>day = date(year, month, <NUM_LIT:1>)<EOL>if start:<EOL><INDENT>day = start<EOL><DEDENT>counter = <NUM_LIT:0><EOL>while True:<EOL><INDENT>if day.month != month:<EOL><INDENT>return None<EOL><DEDENT>if day.weekday() == weekday:<EOL><INDENT>counter += <NUM_LIT:1><EOL><DEDENT>if counter == n:<EOL><INDENT>break<EOL><DEDENT>day = day + timedelta(days=<NUM_LIT:1>)<EOL><DEDENT>return day<EOL>
Get the nth weekday in a given month. e.g:

        >>> # the 1st monday in Jan 2013
        >>> Calendar.get_nth_weekday_in_month(2013, 1, MON)
        datetime.date(2013, 1, 7)
        >>> # The 2nd monday in Jan 2013
        >>> Calendar.get_nth_weekday_in_month(2013, 1, MON, 2)
        datetime.date(2013, 1, 14)