Re: Request for Coptic or Ethiopic Calendar
"Steven R. Loomis" <[email protected]> Thu, 24 Jun 2004 10:35:08 -0700
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <[email protected]> |
ICU for C 2.8 has had Julian day support, it has been in J before that
even.
in C:
UCalendar *myCal = ...;
uint32_t julian;
julian = ucal_get(myCal, UCAL_JULIAN_DAY, &status);
In fact, support for multiple calendars was one of the driving factors
behind converting all internal calculations to JDN, simplifies a lot.
Note that it is a modified julian day, demarcating at midnight rather
than noon. Thanks and keep in touch!
-s
On 24-Ġun-2004, at 10:06 AM, Daniel Yacob wrote:
> To this end, one of the algorithms available without license
> complications
> relies on a Julian Day Number. I looked thru ICU 3.0 this last evening
> hoping there might be a JDN class or method but didn't find it. Has
> JDN
> support come up before? Unless I've just overlooked it in ICU or
> someone
> is already working on it, I'd like to have a go at it during July
> (knock on
> wood), let me know.