Skip to content

A rust library to calculate Equinoxes and Solstices for any year between 1900-2100.

License

Notifications You must be signed in to change notification settings

johanthoren/solar-calendar-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solar-calendar-events

crates.io Documentation MIT or Apache-2.0

A Rust library designed to calculate equinoxes and solstices for a given year within the range 1900-2100. The accuracy is within a few minutes.

Example

let march_equinox_2003 = MarchEquinox::new(2003);
println!("{:#?}", march_equinox_2003);
// Ok(
    // MarchEquinox {
        // julian_day: 2452719.536962585,
        // date_time: 2003-03-21T00:53:13Z,
    // },
// )

License

This project is licensed under either of

About

A rust library to calculate Equinoxes and Solstices for any year between 1900-2100.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages