Re: LeapYears of Iranian Calendar

2004-05-25 Thread Roozbeh Pournader
On Tue, 2004-05-25 at 01:40, Ordak D. Coward wrote: I downloaded and tested a few dates with the Win32 executable of Jalali (the one at sourceforge). The bad news is that, the conversion is not correct. The conversion is wrong for 20 March 2005, and similarly a few other dates that should

Re: LeapYears of Iranian Calendar

2004-05-25 Thread Roozbeh Pournader
On Tue, 2004-05-25 at 05:03, Ordak D. Coward wrote: Farsiweb should prepare -- if that is in the scope of FarsiWeb's work -- a draft of a recommended practice for implementing date conversion involving calendars used in Iran. This document will of course change over time, as long as better

Re: LeapYears of Iranian Calendar

2004-05-24 Thread Behdad Esfahbod
So, to conclude, I think we better don't touch the 33 implementations we have until we've got a real calendar. Just talking about FarsiWeb of course. Other people are free about what they choose. behdad On Mon, 24 May 2004, Ordak D. Coward wrote: I did some more research on the accuracy of

Re: Iranian Calendar (P.S.)

2004-05-24 Thread Roozbeh Pournader
On Wed, 2004-05-19 at 10:25, C Bobroff wrote: Is there any way to type a hyphen that will resist break-up during wrapping? Use the Insert | Symbol menu in MS Word for lots of other things also, copyright symbols, non-breaking spaces, longer dashes, ... roozbeh

Re: Iranian Calendar (P.S.)

2004-05-24 Thread Roozbeh Pournader
On Wed, 2004-05-19 at 14:05, Hooman Mehr wrote: The fact that Iranian authorities in this regard act as if they are directly appointed by God is another story... Don't get hot, please. roozbeh PS: Where is this admin hat? I left it just here last time! :'-( roozbeh

Re: LeapYears of Iranian Calendar

2004-05-24 Thread Roozbeh Pournader
On Mon, 2004-05-24 at 10:28, Ordak D. Coward wrote: Another way to interpret this email is that Birashk's method fails to correctly predict the year 1403, and hence if we use that mehtod, all dates in year 1404 will be off by one day. On the other hand, using the 33 year period mentioned

Re: Iranian Calendar

2004-05-24 Thread Roozbeh Pournader
On Tue, 2004-05-18 at 04:47, hameed afssari wrote: Microsoft Lunar Hijri calendar is based on Calculation of Saudi Arabian Authority and not Kuwait ... I can't confirm that. Please see http://en.wikipedia.org/wiki/Islamic_calendar where it specifically mentions that: Microsoft uses the

Re: Hooman Mehr (was: Iranian Calendar)

2004-05-24 Thread Roozbeh Pournader
On Wed, 2004-05-19 at 19:46, Hooman Mehr wrote: One more thing, the reason that I may seem talented for story telling is that I am an INFP (http://www.personalitypage.com/INFP.html), so be-warned. Ah, I can't confirm that, since it's too psychological. But Hooman talks a lot! ;) I can't

Re: LeapYears of Iranian Calendar

2004-05-24 Thread Ordak D. Coward
I downloaded and tested a few dates with the Win32 executable of Jalali (the one at sourceforge). The bad news is that, the conversion is not correct. The conversion is wrong for 20 March 2005, and similarly a few other dates that should convert to 30 Esfand Year YYLP, instead all such dates

RE: Iranian Calendar

2004-05-23 Thread Omid K. Rad
at the end to fill a complete solar year. It starts with 'Norooze Jalali' [*]. - The modern Jalali calendar in use in Iran (Iranian calendar), reworked on the old Jalali calendar and uses the same leap structure; consists of six 31-day plus six 30-day months followed by a month of 29 days or 30

RE: Iranian Calendar

2004-05-23 Thread Omid K. Rad
On Mon, 17 May 2004, Hooman Mehr wrote: Hi Omid and Connie, MSDN way of specifying Hijri calendar is like saying the length of any month in Gregorian calendar is 30 days plus or minus two days -- true but not very useful. [...] Hi Hooman, The Hijri calendar introduced in MSDN does not

RE: LeapYears of Iranian Calendar

2004-05-23 Thread Omid K. Rad
On Fri, 21 May 2004, Ordak D. Coward wrote: I guess the best thing to do: - is get an archive of the last 50 years of official times of vernal equinox, or saal tahveel, and compute the length of year for each year. Fit them with linear or quadratic curves. Look at Birashk's method and

Re: LeapYears of Iranian Calendar

2004-05-21 Thread Ordak D. Coward
On Thu, 20 May 2004 22:30:33 -0400, Behdad Esfahbod [EMAIL PROTECTED] wrote: On Thu, 20 May 2004, Ordak D. Coward wrote: Ordak's 2820 year method: bool isLeap2820ODC = ((683*year+542) % 2820) 683; in comparison to: Birashk's 2820 year method: bool isLeap2820Birashk = ((year %

Re: Iranian Calendar (P.S.)

2004-05-20 Thread Hooman Mehr
Hi Connie, OK, white flag up! I'll write some crime stories. But don't expect anything this week, I am very busy. Hooman On May 20, 2004, at 2:16 AM, C Bobroff wrote: Dear Hooman, I may move these stories to my pending weblog which hopefully will open in the next several days. Why should you

LeapYears of Iranian Calendar

2004-05-20 Thread Ordak D. Coward
I was looking at Omid K. Rad's implementation of calendar, and have a few comments on calculating leap years. 1. The implemented algorithm uses a 128 year period, although the comments say it uses a 2820 year period. While I need to ask for this discrepancy be resolved, it is important to

Re: LeapYears of Iranian Calendar

2004-05-20 Thread Behdad Esfahbod
On Thu, 20 May 2004, Ordak D. Coward wrote: Ordak's 2820 year method: bool isLeap2820ODC = ((683*year+542) % 2820) 683; in comparison to: Birashk's 2820 year method: bool isLeap2820Birashk = ((year % 2820) == 474) || (((31 * ((year+2345) % 2820)) %

Re: Iranian Calendar (P.S.)

2004-05-20 Thread C Bobroff
On Thu, 20 May 2004, Hooman Mehr wrote: I'll write some crime stories. But don't expect anything this week, I am very busy. OK! But if we are to properly judge your confession of past crimes, be sure to not leave out any details and please start from the beginning. You know, the glaciers were

Re: Iranian Calendar (P.S.)

2004-05-19 Thread Hooman Mehr
Hi Ordak, What you say makes perfect sense. I just didn't want to go into detail of everything in this regard. Suffice it so say, in such cases people come to agreement on establishing such authorities as part of their civil society. I vaguely hinted this in my post. Such an authority develops

Re: Iranian Calendar (P.S.)

2004-05-19 Thread Hooman Mehr
Dear Connie, Thank you very much for your interest and support. I will try to start talking about such things soon. I may move these stories to my pending weblog which hopefully will open in the next several days. When I start the weblog I will announce it here. Although my limited time may

Re: Iranian Calendar (P.S.)

2004-05-19 Thread C Bobroff
On Wed, 19 May 2004, Behnam wrote: The Unicode character is U-2011, Non-Breaking Hyphen. If you don't have it on your keyboard, you may be able to use this information to type it with other tools or utilities. As Ordak D. Coward reports, Ctrl-Shift-Hyphen instead of hyphen does the trick in

Re: Iranian Calendar (P.S.)

2004-05-19 Thread C Bobroff
Dear Hooman, I may move these stories to my pending weblog which hopefully will open in the next several days. Why should you move to your weblog? I can't think of a better place for the story of Persian computing than PersianComputing. One more thing, the reason that I may seem talented

Re: Iranian Calendar (P.S.)

2004-05-19 Thread Behnam
I don't see its use in Perso-Arabic script. B. On 19-May-04, at 5:38 PM, C Bobroff wrote: U+2011 should definitely be part of the custom Perso-Arabic transliteration keyboards. (Hint to Peter) ___ PersianComputing mailing list [EMAIL PROTECTED]

Re: Iranian Calendar (P.S.)

2004-05-19 Thread C Bobroff
On Wed, 19 May 2004, Behnam wrote: I don't see its use in Perso-Arabic script. I meant both Latin input and output here. The punishment for misunderstanding the question is that you have to answer some Mac questions! (New form of flaming, hope you like it!) I'm getting 1 or 2 Mac users per

Iranian Calendar

2004-05-18 Thread Ordak D. Coward
After reading the recent discussion on Iranian Calendar and its support in .NET, I have a few suggestions: - As the lunar calendar in Iran is observation based, there is no way to have an exact conversion for a date in future to/from lunar calendar. However, it is possible to do so for past dates

Re: Iranian Calendar

2004-05-18 Thread C Bobroff
On Tue, 18 May 2004, Ordak D. Coward wrote: - Birashk's book. He had published a book on his work, if memory serves me, it was called 'taarikh-tatbighi-ye Iran'. Looks like the English version of this book is on sale if you're interested:

Re: Iranian Calendar

2004-05-18 Thread Behdad Esfahbod
and Shawwal. This update could as well be propagated through a network protocol like NTP (Network Time Protocol). Also, the conversion shall try to conform to the official published Iranian calendar for future dates in the same year. For future years, it should calculate the lunar calendar

Re: Iranian Calendar

2004-05-18 Thread Ordak D. Coward
under Qajar rule or Pahlavi rule, then we would have either used Hijri-Qamari calendar or Shahanshai, still both would have been considered Iranian calendar. So, in a country which has recently changed its official calendar a few times, we better stick to a name that will be in place

Re: Iranian Calendar (P.S.)

2004-05-18 Thread C Bobroff
On Tue, 18 May 2004, Hooman Mehr wrote: On a second thought, I got reluctant to discuss this matter on the list. It would be way off topic. Moreover, I am afraid that whatever I say could be interpreted as political statement or religious evangelism and start flamewars. Looks like Fortune

Re: Iranian Calendar (P.S.)

2004-05-18 Thread C Bobroff
Actually, all this off-topic mix of calendars and philosophy has reminded me that when I was writing something (in English) a few months ago on Al-Biruni, whenever his name came up at the end of the line in Word, it would wrap and so the Al- would be on one line and the Biruni would go down to the

Re: Iranian Calendar

2004-05-17 Thread Hooman Mehr
Hi Omid and Connie, MSDN way of specifying Hijri calendar is like saying the length of any month in Gregorian calendar is 30 days plus or minus two days -- true but not very useful. Alright my example is grossly exaggerated, but I mean to highlight my point. The official Iranian Islamic Calendar

Re: Iranian Calendar

2004-05-17 Thread Roozbeh Pournader
On Mon, 2004-05-17 at 01:41, Behdad Esfahbod wrote: You are self-conflicting yourself. I define consensus as 100% vote of the talking community, and again I say we have reached a consensus here. Take a poll, then. roozbeh ___ PersianComputing

Re: Iranian Calendar

2004-05-17 Thread Roozbeh Pournader
On Sun, 2004-05-16 at 00:33, C Bobroff wrote: Can you please be sure to mention in the documentation somewhere also about the Shaahanshaahi calendar and how to convert We don't know that. Exact questions are: when exactly did the calendar become official? And when did it cease to be the

RE: Iranian Calendar

2004-05-17 Thread Roozbeh Pournader
On Sun, 2004-05-16 at 18:15, Omid K. Rad wrote: In Iran we use the Iranian subtype of the Persian calendar, and in Afghanistan the Jalali subtype is used. I don't get you. Afghanistan clearly doesn't use a Jalali subtype. Their current leap year algorithm is synced with the Gregorian system, so

Re: Iranian Calendar

2004-05-17 Thread Roozbeh Pournader
On Sun, 2004-05-16 at 18:56, Hooman Mehr wrote: I think we should avoid solar / lunar designations in the English name to make it more meaningful and less confusing for none-Iranians. I don't agree. One can't reduce confusion by being less specific. People who work on calendars already know

Re: Iranian Calendar

2004-05-17 Thread Roozbeh Pournader
On Mon, 2004-05-17 at 11:55, Hooman Mehr wrote: It comes upwith an initial estimate (or best guess) of the *adjusted* calendarwhich is usually only re-adjusted for Ramadan. ... and Shawwal. This pre-adjustedcalendar is not the same as the basic table in MSDN, nor the mostlyobservational

Re: Iranian Calendar

2004-05-17 Thread Ali A Khanban
Roozbeh Pournader wrote: On Mon, 2004-05-17 at 15:39, Ali A Khanban wrote: Shaahanshaahi calendar was introduced in 1355 and abolished in 1357. When exactly? I know that not all of 1357 was known as 2537. In Early 1357 it was abolished. Does it really matter? It is only a historical

Re: Iranian Calendar

2004-05-17 Thread Hooman Mehr
Hi, Thank you for the refinements and clarifications. Maybe I've used to the old Mac OS calendar API which used to correctly support dates way before Gregorian calendar existed (even before Christian era). On the other hand, even if you reduce my suggested number to 2000 days, you'll find

Re: Iranian Calendar

2004-05-17 Thread Behdad Esfahbod
On Mon, 17 May 2004, Hooman Mehr wrote: P.S.: Although Hijri calendar (and definition of the prayer times) look very strange and primitive, there is a very good philosophical reason behind it which makes sense once you know it. Do you know the reason or want to know it? Yeah, the reason is

Re: Iranian Calendar

2004-05-17 Thread C Bobroff
On Mon, 17 May 2004, Ali A Khanban wrote: Shaahanshaahi calendar was introduced in 1355 and abolished in 1357. It was simply a map: Add 1180 to Iranian calendar. But is that the official name? I might have just made that up. Abbreviations?? -Connie

Re: Iranian Calendar

2004-05-17 Thread hameed afssari
for practical and Civic( planning holidays,...) for this calendar. From: Roozbeh Pournader [EMAIL PROTECTED] To: Hooman Mehr [EMAIL PROTECTED] CC: "'PersianComputing'" [EMAIL PROTECTED] Subject: Re: Iranian Calendar Date: Mon, 17 May 2004 20:05:33 +0430 On Mon, 2004-05-17 at 11:55, H

Re: Iranian Calendar

2004-05-17 Thread C Bobroff
On Mon, 17 May 2004, Ali A Khanban wrote: Of course, it is possible to find the exact date, for example by looking at the archive of Ettela'at or Kayhan newspapers, and see when the date in their title changes. Unfortunately, I don't have access to them at the moment, maybe later. ok, the

RE: Iranian Calendar

2004-05-16 Thread Omid K. Rad
On Sun, 15 May 2004, Behdad Esfahbod wrote: So we've reached a consensus on using Iranian Calendar for the term referring to the solar calendar in action in Tehran, right? So we forget about Jalali name, and call it Iranian Calendar, quite like Chinese, Japanese, and other countries. Iranian

Re: Iranian Calendar

2004-05-16 Thread Hooman Mehr
Calendar term as well. If you ask me, we can keep Iranian Calendar and call the Hijri calendar Iranian Secondary Calendar or Iranian Religious Calendar or something like that. I think we should avoid solar / lunar designations in the English name to make it more meaningful and less confusing

RE: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
On Sun, 16 May 2004, Omid K. Rad wrote: On Sun, 15 May 2004, Behdad Esfahbod wrote: So we've reached a consensus on using Iranian Calendar for the term referring to the solar calendar in action in Tehran, right? So we forget about Jalali name, and call it Iranian Calendar, quite like

Re: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
Hi Hooman, Thanks for the question. I go with Iranian Islamic Calendar. I think Primary/Secondary and Solar/Lunar are both very bad names. And Islamic makes sense since that's what this calendar is called in English, so ours is the *Iranian* Islamic Calendar. And then Iranian Calendar

Re: Iranian Calendar

2004-05-16 Thread C Bobroff
On Sun, 16 May 2004, Hooman Mehr wrote: The lunar Hijri calendar used in Iran is also an official calendar and is calculated independent from other Hijri calendars used in other islamic countries. It is an important calendar, since it determines half of the holidays on our calendar. We also

RE: Iranian Calendar

2004-05-16 Thread Omid K. Rad
Title: Message On Sun, 16 May 2004, C Bobroff wrote: On Sun, 16 May 2004, Hooman Mehr wrote: The lunar Hijri calendar used in Iran is also an official calendar and is calculated independent from other Hijri calendars used in other islamic countries. It is an important calendar, since it

RE: Iranian Calendar

2004-05-16 Thread C Bobroff
On Sun, 16 May 2004, Omid K. Rad wrote: Iranian Calendar is okay IMHO, but I like the Persian Calendar better for the name of the calendar system, since it covers more countries. In Iran we use the Iranian subtype of the Persian calendar, and in Afghanistan the Jalali subtype is used. I don't

RE: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
On Sun, 16 May 2004, C Bobroff wrote: On Sun, 16 May 2004, Omid K. Rad wrote: Iranian Calendar is okay IMHO, but I like the Persian Calendar better for the name of the calendar system, since it covers more countries. In Iran we use the Iranian subtype of the Persian calendar

Re: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
On Sat, 15 May 2004, Roozbeh Pournader wrote: On Sat, 2004-05-15 at 14:36, Behdad Esfahbod wrote: Just trying to close an item in the long open agenda of the list. So we've reached a consensus on using Iranian Calendar for the term referring to the solar calendar in action in Tehran, right

Re: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
On Sat, 15 May 2004, Hamed Malek wrote: On Sat, 2004-05-15 at 14:36, Behdad Esfahbod wrote: Hi, Just trying to close an item in the long open agenda of the list. So we've reached a consensus on using Iranian Calendar for the term referring to the solar calendar in action in Tehran

Re: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
On Sat, 15 May 2004, C Bobroff wrote: Can you please be sure to mention in the documentation somewhere also about the Shaahanshaahi calendar and how to convert and what's its official name was and abbreviations, if any? That will be nice if that system also makes its way into online

RE: Iranian Calendar

2004-05-16 Thread Behdad Esfahbod
Well, this calendar is used in Iran, is computed with Iranian rules. Afghan calendar is completely different. Something no body said is the Tajik people. I've heard they use the same calendar, is it right? On Sun, 16 May 2004, C Bobroff wrote: On Sun, 16 May 2004, Behdad Esfahbod wrote:

RE: Iranian Calendar

2004-05-16 Thread C Bobroff
On Sun, 16 May 2004, Behdad Esfahbod wrote: Something no body said is the Tajik people. I've heard they use the same calendar, is it right? Hang on a few days. I'll ask. -Connie ___ PersianComputing mailing list [EMAIL PROTECTED]

RE: Iranian Calendar

2004-05-16 Thread C Bobroff
On Sun, 16 May 2004, Omid K. Rad wrote: http://emr.cs.iit.edu/home/reingold/calendar-book/second-edition/CIIT.ht ml Thanks. I took a look. Perhaps the Islamic calendars should provide the time as well as the date and also say which time zone/region the calendar is referring to. I guess this

Re: Iranian Calendar

2004-05-16 Thread Hooman Mehr
Hi Behdad, Very good. Agreed to Iranian Calendar and Iranian Islamic Calendar. Hooman On May 17, 2004, at 12:01 AM, Behdad Esfahbod wrote: Hi Hooman, Thanks for the question. I go with Iranian Islamic Calendar. I think Primary/Secondary and Solar/Lunar are both very bad names. And Islamic makes

Re: Iranian Calendar

2004-05-15 Thread C Bobroff
On Sat, 15 May 2004, Behdad Esfahbod wrote: So we've reached a consensus on using Iranian Calendar for the term referring to the solar calendar in action in Tehran, right? Iranian Calendar does sound like the best choice. Can you please be sure to mention in the documentation somewhere also