pub fn date2j(year: i32, month: i32, day: i32) -> i32Expand description
date2j: the Julian day of a date in the proleptic Gregorian calendar. The year before 1 is 0.
The arithmetic wraps as the C code does on a value far out of range. The callers check the range before they use the result.