def _days_before_month(year, month):
assert <NUM_LIT:1> <= month <= <NUM_LIT:12>, '<STR_LIT>'<EOL>return _DAYS_BEFORE_MONTH[month] + (month > <NUM_LIT:2> and _is_leap(year))<EOL>
year, month -> number of days in year preceding first day of month.