• 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: NSDatePicker behaviour is odd when typing date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDatePicker behaviour is odd when typing date


  • Subject: Re: NSDatePicker behaviour is odd when typing date
  • From: Michael Hall <email@hidden>
  • Date: Sun, 18 Mar 2007 21:00:25 -0500


On Mar 18, 2007, at 8:13 PM, Michael Hall wrote:


On Mar 18, 2007, at 1:19 PM, Nick Zitzmann wrote:

The Julian calendar assumes that Earth circles around the sun in 365.25 days, when it's actually a little bit less than that, so the calendar came out of sync with the seasons a long time ago. The Gregorian calendar fixes that problem by subtracting a few leap days.


Nitpick on the DatePicker I guess.
But I think Julian assumed 365 while the year is actually a little bit more than that. Closer to 365.2525, which is why in the gregorian there's 1 extra day a leap year and one more yet every 4 hundred years.

Sorry to reply to my own post, but I checked Wikipedia. You are correct that the Julian calendar was long and needed days dropped. The julian appears to have initially been based strictly on 365.25, off by the .0025 I'd assume and was 'reformed' to a weird scheme of alternating 355,377, and 378 day with years averaging out to 366 1/4.
That may actually be a bit off. I've re-read it again, and got more confused.
Anyhow while the year is actually longer than 365.25 the Julian calendar did need shortening



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSDatePicker behaviour is odd when typing date
      • From: Michael Hall <email@hidden>
References: 
 >NSDatePicker behaviour is odd when typing date (From: Graham Perks <email@hidden>)
 >Re: NSDatePicker behaviour is odd when typing date (From: Nick Zitzmann <email@hidden>)
 >Re: NSDatePicker behaviour is odd when typing date (From: Michael Hall <email@hidden>)

  • Prev by Date: Setting focus at runtime to a specific control?
  • Next by Date: Re: Setting focus at runtime to a specific control?
  • Previous by thread: Re: NSDatePicker behaviour is odd when typing date
  • Next by thread: Re: NSDatePicker behaviour is odd when typing date
  • Index(es):
    • Date
    • Thread