Re: NSChineseCalendar
Re: NSChineseCalendar
- Subject: Re: NSChineseCalendar
- From: Ricky Sharp <email@hidden>
- Date: Mon, 11 Sep 2006 17:39:15 -0500
On Sep 11, 2006, at 5:32 PM, Nick Zitzmann wrote:
On Sep 11, 2006, at 4:27 PM, Antonio Ferraioli wrote:
everything seems to work, except for the NSChineseCalendar
which returns all NSDateComponents with 0 values
NSChineseCalendar isn't implemented. In fact, it's not even
implemented in C++ ICU (which NSCalendar uses to do all of its
calculations). I tried porting the ChineseCalendar class from Java
ICU to C++ ICU, but it never worked correctly, so I doubt
NSChineseCalendar will work in the future...
I would definitely file a bug to either (a), call out in the docs
that it isn't implemented or (b) actually implement it.
NSChineseCalendar, et. al were all added in 10.4 and there's
currently no mention of anything being not implemented.
FWIW, I tried the test code with the remaining constants of
NSHebrewCalendar, NSIslamicCalendar, and NSIslamicCivilCalendar. The
three of them returned non-zero values. I don't know though if the
returned values are actually correct.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden