pub struct VedicCalendar {Show 18 fields
pub ayanamsa: &'static str,
pub sunrise: String,
pub sunset: String,
pub next_sunrise: String,
pub vara: Vara,
pub tithi: Anga,
pub paksha: &'static str,
pub nakshatra: Anga,
pub pada: u8,
pub yoga: Anga,
pub karana: Anga,
pub masa: Masa,
pub ritu: &'static str,
pub ayana: &'static str,
pub samvatsara_number: u8,
pub samvatsara: &'static str,
pub shaka_year: i32,
pub vikram_year: i32,
}Expand description
The panchanga of a moment and place: vedic_calendar.
Fields§
§ayanamsa: &'static strThe ayanamsa of the sidereal angles: “lahiri”.
sunrise: StringThe sunrise that begins the Vedic day, the sunset and the next sunrise, ISO 8601 UTC. Where the Sun does not rise or set, half-day defaults stand in.
sunset: StringSunset of the Vedic day.
next_sunrise: StringThe sunrise that ends the Vedic day.
vara: VaraThe weekday of the Vedic day.
tithi: AngaThe lunar day: each 12° of the Moon’s elongation from the Sun.
paksha: &'static str“shukla” (waxing, tithis 1-15) or “krishna” (waning, 16-30).
nakshatra: AngaThe Moon’s nakshatra.
pada: u8The quarter of the nakshatra the Moon is in, 1 to 4.
yoga: AngaThe sum of the Sun’s and the Moon’s sidereal longitudes, in 27 parts.
karana: AngaHalf a tithi.
masa: MasaThe lunar month.
ritu: &'static strThe season.
ayana: &'static str“uttarayana” (the Sun in sidereal Capricorn to Gemini) or “dakshinayana”.
samvatsara_number: u8The year of the sixty-year cycle, 1 (Prabhava) to 60 (Akshaya), as reckoned in southern India (with the Shaka era).
samvatsara: &'static strIts code.
shaka_year: i32Year of the Shaka era.
vikram_year: i32Year of the Vikram era.