Refactored to use NSDate rather than individual components.