# solar-calendar-events [![crates.io](https://img.shields.io/crates/v/solar-calendar-events.svg)](https://crates.io/crates/solar-calendar-events) [![Documentation](https://docs.rs/solar-calendar-events/badge.svg)](https://docs.rs/solar-calendar-events) [![MIT or Apache-2.0](https://img.shields.io/crates/l/solar-calendar-events.svg)](./LICENSE) 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 ``` rust 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 * [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) * [MIT License](https://opensource.org/licenses/MIT) at your option.