[][src]Function sunrise_libtimezone::utils::get_leap_days

pub fn get_leap_days(y: i64) -> i64

Get the total count of leap days since year 1.

For BC years, the amount of days will be negative.

Note:

Year 0 by convention doesn't exist.