Re: NSDatePicker behaviour is odd when typing date
Re: NSDatePicker behaviour is odd when typing date
- Subject: Re: NSDatePicker behaviour is odd when typing date
- From: Deborah Goldsmith <email@hidden>
- Date: Mon, 19 Mar 2007 16:43:23 -0700
On Mar 19, 2007, at 3:43 AM, Michael Hall wrote:
Sorry for this again, sort of continuing a off-topic post all by
myself.
I hoped someone else would of corrected me by this morning. But for
the archives, and in order not to leave anyone with false
information I was completely wrong. But I seem not to be the only one.
Google hits:
364.2424 - 3 hits
364.2425 - 7 hits
365.2424 - 410 hits
365.2425 - 39,200 hits
365.2525 - 10 hits
365.2524 - 10 hits
I may of missed some variations. But it is actually less than 365
1/4 as originally stated. So one of the 365.24 values is correct.
Well, actually, it depends on what you're trying to measure. There's
the sidereal year, the tropical (solar) year, and the vernal equinox
year. The length of the year that I learned was 365.2422, the
tropical year. However, the purpose of a calendar system is to keep
the seasons in synch, not the position of the sun in the sky, so the
vernal equinox year (about 254.2424 days) is probably the most
appropriate. See:
http://en.wikipedia.org/wiki/Gregorian_calendar
http://en.wikipedia.org/wiki/Tropical_year
in particular,
http://en.wikipedia.org/wiki/Tropical_year#Different_lengths
http://en.wikipedia.org/wiki/Tropical_year#Calendar_year
When I typed "One year in days" to Google, I got the tropical year
(365.242199).
It doesn't help that the length of the solar day is not exactly 86400
seconds, either. It hasn't been since 1820. Leap seconds are used to
take care of that.
Bringing this back on topic, it's best to just use CFCalendar/
NSCalendar and not worry about this yourself. :-)
Deborah Goldsmith
Internationalization, Unicode liaison
Apple Inc.
email@hidden
_______________________________________________
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