Japanese also use a different system to indicate the year. They use the year of the emperor. For example today's year is 14 Heisei (The current emperor has been in power scense 1990.) When Emperor Hirohito died in 1989, Japanese programmers had to reprogram thier computers to deal with the new "year" as many were hard-coded for the old emperor. Y2K wasn't much of a problem because the Japanese had updated thier computers ten years pervious. Nowadays on computers, they simply list the julian year, then month, then day, and then the character of day of the week 2002(sei)/05(getsu)/14(hi) (Getsuyobi) abbreviated, it looks like this --> 04.05.24 Here;s what the command "date" gave me as output 2004年 5月 24日 月曜日 Here's what cal gives me... 5月 2004 日 月 火 水 木 金 土 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Just remeber, year comes first and the date is seperated by periods if you want to drop the characters. --- Shachar Shemesh <wine-devel(a)shemesh.biz> wrote:
William Lahti wrote:
I am trying to implement EnumCalendarInfo and would like to know if any locales have multiple calendars, where the settings for the extra calendars would be in the nls file, and if any calendars have their own seperate file.
I'm not familiar with the Windows API in that respect, but I can tell you that both Jews and Muslims have their own calenders (as well as Chinese, Hindus etc, IIRC). At least in Israel, the gregorian is the main calender, but having the ability to view Jewish dates would be nice.
http://libhdate.sourceforge.net/ (Hebrew dates)
There is (or used to be) also a project with the same name for Muslim dates, but I can't seem to locate it. The best I can do is
http://lists.arabeyes.org/archives/developer/2003/December/msg00049.html
Shachar
-- Shachar Shemesh Lingnu Open Source Consulting http://www.lingnu.com/