The underlying ICU calendar implementation has an API ucal_setGregorianChange, but this function is not available at the Cocoa level. Please file a bug if you’d like to access this through NSCalendar.
Deborah On Jan 7, 2010, at 10:22 AM, Kyle Sluder wrote: > On Thu, Jan 7, 2010 at 8:44 AM, Alexander Cohen <[email protected]> wrote: >> How should i go about creating a NSDate object from a julian date >> NSTimeInterval. > > NSTimeIntervals have no sense of calendar. They describe seconds > elapsed since the reference date. > > There is no standalone Julian calendar in Cocoa. The only way to > interpret dates relative to a Julian calendar is if they correspond to > Gregorian dates prior to October 1582. > > --Kyle Sluder > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/goldsmit%40apple.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
