Needs to be Week(weekday=0) or some other integer.  I think the example is illustrative enough.  I'll put a comment pointing this alternative out.