aaaaaah.  8 hours of fussing with scoping issues, and it turned out that the calendar was set to the wrong year; but it works!