iphone Programming Glossary: todayearliertimecomps
Determine if current local time is between two times (ignoring the date portion) http://stackoverflow.com/questions/2108223/determine-if-current-local-time-is-between-two-times-ignoring-the-date-portion components NSHourCalendarUnit NSMinuteCalendarUnit NSSecondCalendarUnit fromDate earlierDate NSDateComponents todayEarlierTimeComps NSDateComponents alloc init autorelease todayEarlierTimeComps setYear todayDateComps year todayEarlierTimeComps setMonth.. fromDate earlierDate NSDateComponents todayEarlierTimeComps NSDateComponents alloc init autorelease todayEarlierTimeComps setYear todayDateComps year todayEarlierTimeComps setMonth todayDateComps month todayEarlierTimeComps setDay todayDateComps.. todayEarlierTimeComps NSDateComponents alloc init autorelease todayEarlierTimeComps setYear todayDateComps year todayEarlierTimeComps setMonth todayDateComps month todayEarlierTimeComps setDay todayDateComps day todayEarlierTimeComps setHour earlierTimeComps..
|