Function astro::time::decimal_year [] [src]

pub fn decimal_year(date: &Date) -> f64

Computes decimal year for a Date