It calculates the Julian day.
Execution
When using Windows95, open DOS Prompt and type:
java misao.app.JD
If JRE(Java Runtime Environment) is installed, the directory where the package is unpacked must be set by an option -cp (the example is in case the package is unpacked at C:\).
java -cp C:\ misao.app.JD
Then the following messages are output, so input the date and time.
Date and time in UT:
ex. 1998 Jan. 31 01:23:45
acceptable style: 1998 Jan 31 01:23:45
1998 1 31 1 23 45
Date and time in UT:
Then the Julian day is output.
|