• 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: Dates of the Chinese New Year
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dates of the Chinese New Year


  • Subject: Re: Dates of the Chinese New Year
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 25 Jan 2009 13:12:14 -0700


On Jan 25, 2009, at 11:55 AM, Kevin Ross wrote:

I see that in the docs that the Chinese calendar is not supported on 10.4-5. Does anyone know if one of the other calendars (NSBuddhistCalendar or NSJapaneseCalendar maybe?) would be able to find the beginning of the Chinese New Year?


They won't. The Buddhist and Japanese calendars are pure solar calendars, and are identical to the Gregorian calendar, except that the epoch is different. The Gregorian calendar, for example, sets year 1 to the year in which Jesus was believed to be born in, whereas the Buddhist calendar sets year 1 to the Buddha's birth year, and the Japanese calendar sets year 1 in any given era to the year in which the then-emperor was crowned (which would be January 7, 1989 for the current emperor). But other than that, everything else is the same.

The Chinese calendar is a lunisolar calendar in which months begin and end based on the moon's appearance over Beijing, with leap time to make up for the ~12 day difference between lunar and solar years. There is some stuff in the ICU library that will help you figure out the position of the moon, which is also important in the Hebrew and Islamic calendars, but from there, it's up to you. There are some books on calendrical calculations that you might want to read...

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: Dates of the Chinese New Year
      • From: Kevin Ross <email@hidden>
References: 
 >Dates of the Chinese New Year (From: Kevin Ross <email@hidden>)

  • Prev by Date: Re: CFHTTP +authentication
  • Next by Date: Re: Class introspection [was Re: Forcing allocation of a subclass]
  • Previous by thread: Dates of the Chinese New Year
  • Next by thread: Re: Dates of the Chinese New Year
  • Index(es):
    • Date
    • Thread