macro_rules! tzeis_degrees_basedon_doc {
($degrees:expr, $minutes:expr) => {
concat!(
"Returns *tzeis* (dusk) calculated when the sun is ",
stringify!($degrees),
"° below the western geometric horizon after sunset. This
calculation is based on the position of the sun ",
stringify!($minutes),
" minutes after sunset in Jerusalem around the equinox / equilux,
which calculates to ",
stringify!($degrees),
"° below geometric zenith."
)
};
}
macro_rules! tzeis_degrees_doc {
($degrees:expr) => {
concat!(
"Returns *tzeis* (dusk) calculated when the sun is ",
stringify!($degrees),
"° below the western geometric horizon after sunset."
)
};
}
macro_rules! tzeis_minutes_basedon_doc {
($minutes:expr, $mil_len:expr) => {
concat!(
"Returns *tzeis* (dusk) calculated as ",
stringify!($minutes),
" minutes after sunset. This time is based on the time to walk the
distance of 4 *mil* at ",
stringify!($mil_len),
" minutes per *mil*.",
)
};
}
macro_rules! tzeis_minutes_zmanis_basedon_doc {
($minutes:expr, $mil_len:expr, $fraction:expr) => {
concat!(
"Returns *tzeis hakochavim* (dusk) calculated as ",
stringify!($minutes),
" minutes of [the GRA's *shaos
zmaniyos*](crate::complex_zmanim_calendar::ComplexZmanimCalendar::shaah_zmanis_gra),
or ",
$fraction,
" of the day after sunset. This time is based on the time to walk the
distance of 4 *mil* at ",
stringify!($mil_len),
" minutes per *mil*."
)
};
}