VCAL
Second Edition Command Line using
If VCAL is started
without arguments, it will open dialog window for user interface.
When VCAL is
started with command line arguments, it will not show any window and will runs
just for processing arguments and then stops.
COMMAND LINE
ARGUMENTS
Possible argument
types are:
Calculation
of first day in Gaurabda year
Calculation
of all sankrantis in common year
Calculation
of vaisnava calendar for given period of time
Calculation
of naksatra times for given period of time
Calculation
of date for given naksatra
Calculation
of tithis for given day
Calculation
of date for given tithi
vcal2se firstday <latitude> <longitude> <year> <filename>
longitude - observators longitude on the earth
latitude - observators latitude
year - calculated year
filename - filename for XML output
EXAMPLES
vcal2se
firstday 47N23 21E15 2004 out1.xml
Into file OUT1.XML
will write first day of Gaurabda year in the Gregorian epoch 2004.
vcal2se sankranti <latitude> <longitude> <timezone>
<year> <filename>
longitude - observators longitude on the earth
latitude - observators latitude
timezone - time zone
year - calculated year
filename - filename for XML output
EXAMPLES
vcal2se
sankranti 48N14 13E04 2:00 2006 out2.xml
Into file OUT2.xml
will write list of sankrantis for whole Gaurabda year begining in 2006.
vcal2se calendar <lat> <long> <tzone>
<year> <month> <day> <count> <filename>
<dst>
long - observators longitude on the earth
lat - observators latitude
year - calculated year
filename - filename for XML output
tzone - time zone
count - count of calculated days
dst - optional flag. accepted values are: /dst:aus, /dst:eur, /dst:us
EXAMPLES:
vcal2se
calendar 12N78 75E10 5.5 2007 2 1 365 out3.xml
Into file OUT3.XML
will write calculated calendar for 365 days begining from 1st February 2007 for
timezone 5 hours 30 minutes (= 5.5 hrs)
vcal2se
calendar 42N78 25E10 1.0 2007 2 1 365 out4.xml /dst:eur
Into file OUT4.XML
will write calculated calendar for 365 days begining from 1st February 2007 for
timezone 1 hour (= 1.0 hrs) with daylight saving time system for Europe.
Calculation of
naksatra times for given period of time
vcal2se naksatra <lat> <long> <tzone> <year>
<month> <day> <daycount> <fileout>
long - observators longitude on the earth
lat - observators latitude
tzone - time zone
year - range 1600..3999
month - range 1..12
day - range 1..31
daycount - range 1..???
fileout - filename for XML output
output: list of
days with calculated naksatra timings
Calculation of
tithis for given day
vcal2se tithi <lat> <long> <tzone> <year> <month> <day>
<fileout>
long - observators longitude on the earth
lat - observators latitude
tzone - time zone
year - range 1600..3999
month - range 1..12
day - range 1..31
fileout - filename for XML output
output: calculated
tithis which are touching given day
Calculation of date
for given tithi
vcal2se gtithi <lat> <long> <tzone>
<gaurabdayear> <masa> <paksa> <tithi> <fileout>
long - observators longitude on the earth
lat - observators latitude
tzone - time zone
gaurabdayear - year of Gaurabda Era - range 0..2500
masa - range 1..12 or name e.g. Madhava,
Govinda, visnu, hrsikesa, etc.
paksa - range 0..1, or {k, K, krsna, Gaura, g, G,
gaura}
tithi - range 1..15 or name e.g. pancami,
Ekadasi, caturti, etc.
fileout - filename for XML output
output: calculated
timings for given tithi
Calculation
of date for given naksatra
vcal2se
gnaksatra <lat> <lon> <tzone> <gaurabdayear> <masa>
<fileout>
long - observators longitude on the earth
lat - observators latitude
tzone - time zone
gaurabdayear - year of Gaurabda Era - range 0..2500
masa - range 1..12 or name e.g. Madhava,
Govinda, visnu, hrsikesa, etc.
fileout - filename for XML output
output: list od
days with calculated naksatra timing for given Masa
NOTES
longitude can be given in these forms
47E80 equal 47 deg 80 arcmin East
40.25 equal 40 deg 15 arcmin East
-16.3333 equal 16 deg 20 arcmin West
latitude can be given in these forms
15N30 equal 15 deg 30 arcmin North
-46.50 equal 46 deg 30 arcmin South
timezone can be given in these forms
5:30 equal 5 hours 30 mins
2.5 equal 2 hours 30 mins
-7.75 equal -7 hours 45 mins
(separator : means
time in HH:MM format,
separator . means
time in floating point format)