Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.338 jd2cal


[SOFA] Returns the Gregorian calendar dates corresponding to the specified Chronological Julian Day Numbers jd. The result has the same type as jd but not less than long, and has the same dimensions as jd but with one extra dimension of size 3 prefixed, for the year, month, and day, respectively. Unexpected results may be given if CJDNs outside of the supported range are specified. Julian day numbers before -68569.5 or after 1e9 yield zeros for the year, month, and day. CJDNs between 536802342 and 1000000000 inclusive yield nonzero yet erroneous results on systems with 32-bit ints.