I'm glad to announce the release of khayam. Khayam offers you a wide range of calendar services that will hopefully increase your productivity (or lack of)! I hope that you'll enjoy khayam in its new shape and form.
Also, please note that there is no warranty whatsoever that khayam will give you the correct dates. So please do not blame him for mixing up those important dates (birthdays, anniversaries, first kiss, first this & first that)! If you do forget those dates, you deserve hell and khayam won't come to your rescue :-)
I have tried to be as accurate as I can, and I believe I have been successful in doing that. Actually, it was a challenge to attempt the conversion of Jalali and Gregorian dates. Also, it was a challenge to test the program. One of my first tests was based on a calendar that I had received from the Interests Section in Washington. What do you know? There was an error in that calendar!
Anyway, it took me a while to devise the algorithm and to fully debug it, and now it works, or so I think :-)
I would like to thank Hossein Bagher Zadeh for testing the program and for being a very good advisor. Hossein also was nice enough to write an introduction for the program.
1 1 1 1 1 1 11 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 11 1 111 111 111111 1 1 1 1 1 1 11 1 1 1 1 1 1 1 111111 1 111111 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1111 11 1 11 11111 | | 1111 1 1 111 | | 111 1 11 1111 ( ! ) Release 1.6 - esfand 22 1374 111111 11111111111111111 \ / March 12 1996 111111 111111 111111 --- 1 | |--0 Copyright (c) 1996 1 1 1 |___| NetNative 1 11111 ! ! native@netnative.com 1 1 1 ! ! P.O.Box 391403 1 / \ Mountain View, Ca. 94039-1403 1 ~~~~~ 1
khayam [[-h]/[-i]/[[-j/g DATE]/[-jy [-p]/-gy] -ge] [-o out_file] khayam -h - Outputs help message. khayam -i - Outputs introduction to khayam. khayam -ge - Uses Gerdsooz encoding for Jalali month names. khayam -jy YEAR - Outputs Jalali calendar for year YEAR. (with -p option, Gerdsooz's Persian font headers are used.) khayam -jy 1372 khayam -p -jy 1372 khayam -ge -jy 1372 khayam -gy YEAR - Outputs Gregorian calendar for year YEAR: khayam -gy 1993 khayam -j DATE - Reads Jalali Date & Outputs the corresponding Gregorian Date: khayam -j 29 12 1371 outputs -> 20 3 1993 (Day Month Year) khayam -j asfnd 29 1371 outputs -> Mar 20 1993 (Month Day Year) khayam -j 29 asfnd 1371 outputs -> 20 Mar 1993 (Day Month Year) khayam -g DATE - Reads Gregorian Date & Outputs the corresponding Jalali Date: khayam -g 21 3 1993 outputs -> 1 1 1372 (Day Month Year) khayam -g Mar 21 1993 outputs -> frvrdyn 1 1372 (Month Day Year) khayam -ge -g 21 Mar 1993 outputs -> 1 farvardin 1372 (Day Month Year) Months: 1 through 12, or from the following list. First 3 letters are ok. Jalali: frvrdyn, ardybhSt, Krdad, tyr, mrdad, Shryvr, mhr, Aban, AZr, dy, bhmn, asfnd OR farvardin, ordibehesht, khordad, tir, mordad, shahrivar, mehr, Aban, Azr, day, bahman, esfand Gregorian: January, February, March, April, May, June, July, August, September, October, November, December