Expand description
Library for calculating Rokuyo (Six Days)
Rokuyo is a calendar system from China that is widely used in Japan. It consists of six types: Sensho, Tomobiki, Senbu, Butsumetsu, Taian, and Shakku, calculated from the lunar month and day.
§Example
use taian::{calculate_rokuyo, Rokuyo};
use chrono::NaiveDate;
let date = NaiveDate::from_ymd_opt(2026, 2, 17).unwrap();
if let Some(rokuyo) = calculate_rokuyo(date) {
println!("Rokuyo: {}", rokuyo);
}Enums§
- Rokuyo
- Types of Rokuyo
Functions§
- calculate_
rokuyo - Calculate the Rokuyo for the specified date