Hi, Iâm going to find the regulation that is used in Iran to determine the first week of the year. To decide on the first week of the year weâve got three rules (don't tire out yourself with these, just read on): 1. FirstDay Indicates that the first week of the year starts on the first day of the year and ends before the following designated first day of the week. 2. FirstFourDayWeek Indicates that the first week of the year is the first week with four or more days before the designated first day of the week. 3. FirstFullWeek Indicates that the first week of the year begins on the first occurrence of the designated first day of the week on or after the first day of the year. Assuming that we are applying the above rules on the Persian (Hejri Shamsi/Jalaali/Khorshidi) calendar, weâll have: First day of the year is 1st of Farvardin First day of the week is Saturday I simplify the rules for the Persian calendar: 1. FirstDay Indicates that the first week of the year starts on the 1st of Farvardin and ends before the following Saturday. 2. FirstFourDayWeek Indicates that the first week of the year is the first week with four or more days before Saturday. 3. FirstFullWeek Indicates that the first week of the year begins on the first occurrence of Saturday on or after the 1st of Farvardin. The rules are earier to understand when bringing them on a chart. This shows how each of the rules specifies the first week of the year when the first day of the year is fallen on each of the days of the week! 1st of Farvardin FirstDay FirstFourDayWeek FirstFullWeek Sat 1 1 1 Sun 1 1 2 Mon 1 1 2 Tue 1 1 2 Wed 1 2 2 Thu 1 2 2 Fri 1 2 2 In the above table, 1 indicates that the first week of the year is the same as the week in which the first day of the year (1st of Farvardin) exists. If the first week of the year is shifted to the next week, then it is indicated by the number 2.
Now, find the "Orange Seller"!!!?? :P Which rule is used to determine the first week of year in Iran? (Or which one is more used?) tnx, Omid _______________________________________________ PersianComputing mailing list [EMAIL PROTECTED] http://lists.sharif.edu/mailman/listinfo/persiancomputing