time::internal_macros

Macro cascade

source
macro_rules! cascade {
    (@ordinal ordinal) => { ... };
    (@year year) => { ... };
    ($from:ident in $min:literal.. $max:expr => $to:tt) => { ... };
    ($ordinal:ident => $year:ident) => { ... };
}
Expand description

Cascade an out-of-bounds value.