Support snapshot windows

Well no reason you didn't look at it Mark - I never created the PR. Apologies.

It is probably preferable to move this elsewhere if we need it. Don't really want to be calling into joda without realizing.