Re: Julian date
Re: Julian date
- Subject: Re: Julian date
- From: Deborah Goldsmith <email@hidden>
- Date: Thu, 07 Jan 2010 18:18:07 -0800
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@hidden> 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@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
_______________________________________________
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