I figure I can achieve what I want by using NSCalendar
and NSDateComponents
, but that would run something like the following:
I haven't tried it, but I think this would work:
NSDateComponents
from Now.NSDate
.-[NSCalendar dateByAddingComponents:options:]
to advance the 7am date by one day.I'm not sure if that last step would do the right thing if a daylight savings change happened between one 7am and the next.