So you need a method which tells you when a specified time is before some period's end time and after that period's start time? Hmmm, I think there are enough clues that a person reading the API doc...