PARAMETERS

DESCRIPTION

Given

returned

*ny int year AD
*nd int day in year (1 = January 1st)

*j int status

-1 = OK, but outside range 1900/3/1-2100/2/28
0 = OK, and within above range
2 = bad month (day not computed)
3 = bad day (year,day both computed)
j=0 means that the date is within the range where the Gregorian
rule concerning century leap years can be neglected.
P.T.Wallace Starlink 31 October 1993