fetch_quarter

Function fetch_quarter 

Source
fn fetch_quarter(source_quarter: u8, source: &u64) -> u64
Expand description

Determine which quarter of source gets permuted into target_quarter (numbered from zero), without regard to activity. Return the value of that quarter, shifted down into the lowest quarter (Q1, aka. quarter 0 when using u8 to indicate quarters).