Function meealgi::time::jul_to_julc [] [src]

pub fn jul_to_julc(jd: f64) -> f64

Calculate the Julian century from a Julian Day.

Examples

let jd = ndt_to_jul(&chrono::NaiveDate::from_ymd(2017, 08, 29).and_hms(12, 00, 00));
let jc = jul_to_julc(jd);