• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDate without time portion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate without time portion


  • Subject: Re: NSDate without time portion
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 5 Jan 2010 13:35:36 -0800

On Tue, Jan 5, 2010 at 1:23 PM, mmalc Crawford <email@hidden> wrote:
> An NSDate object represent a single point in time -- you can think of it basically as a wrapper for an NSTimeInterval from the reference date.  If you want to create components from the date, then you must do so with respect to a particular calendar *and time zone*...  This is of course possible, but then you have to be careful about always using the same combination of calendar and time zone to create the components and recreate the date from the components.

I believe that Quincey's argument is that it is conceptually
inaccurate in most cases to think of a point in time as simply an
interval from a reference date. I agree that in contexts where words
like "today" are meaningful, he's probably right. Especially in
calendaring/scheduling apps. Given the number of people who struggle
with the concept of daylight saving time, I am not surprised that I
have yet to meet a non-technical person who could conceptualize a
"point in time" independently of a calendar system.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSDate without time portion
      • From: mmalc Crawford <email@hidden>
References: 
 >NSDate without time portion (From: Brian Bruinewoud <email@hidden>)
 >Re: NSDate without time portion (From: Quincey Morris <email@hidden>)
 >Re: NSDate without time portion (From: Chris Ridd <email@hidden>)
 >Re: NSDate without time portion (From: David Duncan <email@hidden>)
 >Re: NSDate without time portion (From: Quincey Morris <email@hidden>)
 >Re: NSDate without time portion (From: Nick Zitzmann <email@hidden>)
 >Re: NSDate without time portion (From: Quincey Morris <email@hidden>)
 >Re: NSDate without time portion (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Window Groups in Cocoa
  • Next by Date: Re: Window Groups in Cocoa
  • Previous by thread: Re: NSDate without time portion
  • Next by thread: Re: NSDate without time portion
  • Index(es):
    • Date
    • Thread