• 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: Nick Zitzmann <email@hidden>
  • Date: Tue, 5 Jan 2010 13:33:03 -0700

On Jan 5, 2010, at 1:23 PM, Quincey Morris wrote:

> Firstly, you can't *in general* normalize to a specific time, because you can't in general know that the time exists on every date.

Unless you use a specific time zone, and store that time zone information elsewhere in the model. And if you use GMT, as I mentioned earlier, unless some cosmic event happens that disturbs the flow of time, there is no such thing as a GMT time that does not exist, since GMT ignores transforms like daylight savings.

You're right about NSDateComponents, though.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: Quincey Morris <email@hidden>
    • Re: NSDate without time portion
      • From: Robert Claeson <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>)

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