• 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: -dateWithTimeIntervalSinceNow: 64-bits may overflow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -dateWithTimeIntervalSinceNow: 64-bits may overflow


  • Subject: Re: -dateWithTimeIntervalSinceNow: 64-bits may overflow
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Sat, 08 Oct 2011 23:12:48 -0500

On Sat, Oct 8, 2011 at 11:09 PM, Jerry Krinock <email@hidden> wrote:
> Don't do this:
>
>    -[NSDate dateWithTimeIntervalSinceNow:FLT_MAX] ;
>
> Expected result: A date far off into the future which will always behave as though it is later than or equal to any other date.


What's wrong with +[NSDate distantFuture]?
_______________________________________________

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: -dateWithTimeIntervalSinceNow: 64-bits may overflow
      • From: Jerry Krinock <email@hidden>
References: 
 >-dateWithTimeIntervalSinceNow: 64-bits may overflow (From: Jerry Krinock <email@hidden>)

  • Prev by Date: -dateWithTimeIntervalSinceNow: 64-bits may overflow
  • Next by Date: Re: NSTableView - Drag/Drop not working
  • Previous by thread: -dateWithTimeIntervalSinceNow: 64-bits may overflow
  • Next by thread: Re: -dateWithTimeIntervalSinceNow: 64-bits may overflow
  • Index(es):
    • Date
    • Thread