Re: How do I compare two NSDates using NSPredicate & Core Data

2010-04-12 Thread Jens Alfke
On Apr 12, 2010, at 9:35 AM, Jeffrey Oleander wrote: A date-time is a date-time, regardless of how it is displayed or entered or obtained from the system. The whole purpose of the NSDate object is to allow easy comparison, and determination of intervals by subtraction... Yup. An NSDate is rea

Re: How do I compare two NSDates using NSPredicate & Core Data

2010-04-12 Thread Jeffrey Oleander
intervals as appropriate to the context. Calendar systems and date display formats don't lend themselves to such calculations, and change-overs from one calendar to another have made it more difficult. > On Fri, 2010/04/09, Ashley Clark wrote: > From: Ashley Clark > Subject: Re: How do

Re: How do I compare two NSDates using NSPredicate & Core Data

2010-04-09 Thread Sean McBride
On Fri, 9 Apr 2010 12:52:21 -0500, Ashley Clark said: >>> Thus far I've gotten away with using -predicateWithFormat and scalar >>> values. I now need to compare a couple of NSDate instances but am not >>> sure how to code it up with NSPredicate. Consider me a 'visual' learner. >> >> I'm pretty s

Re: How do I compare two NSDates using NSPredicate & Core Data

2010-04-09 Thread Ashley Clark
On Apr 5, 2010, at 7:02 PM, Sean McBride wrote: > On Sun, 4 Apr 2010 23:15:16 -0400, Michael A. Crawford said: > >> Thus far I've gotten away with using -predicateWithFormat and scalar >> values. I now need to compare a couple of NSDate instances but am not >> sure how to code it up with NSPredi

Re: How do I compare two NSDates using NSPredicate & Core Data

2010-04-05 Thread Sean McBride
On Sun, 4 Apr 2010 23:15:16 -0400, Michael A. Crawford said: >Thus far I've gotten away with using -predicateWithFormat and scalar >values. I now need to compare a couple of NSDate instances but am not >sure how to code it up with NSPredicate. Consider me a 'visual' learner. I'm pretty sure you