fireDate
Returns the date at which the receiver will fire.
- (NSDate *)fireDate
Return Value of [NSTimer fireDate]
The date at which the receiver will fire. If the timer is no longer valid, this method returns the last date at which the timer fired.
Discussion of [NSTimer fireDate]
Use the
isValid
method to verify that the timer is valid.
Example of [NSTimer fireDate]
-(void)fireCustomProfile:(NSTimer *)timer
{
if([[NSDate date] earlierDate:[schedTimer fireDate]])
{
NSLog(@"Ignoring Profile: %@",[schedTimer userInfo]);
return;
}
notify_post("com.wrightscs.MobileProfiles.setCustomProfile");
}