pub fn days_in_year(year: u64) -> u64
Takes in a year (e.g. 2019) and returns the number of days in that year.
3fn main() { 4 let now = PostEpochTime::now().unwrap(); 5 println!("The current year is {}, which has {} days", now.year(), days_in_year(now.year())); 6}