pub fn truncate_epochs(epochs: &mut Vec<Epoch>, offset: i64)
Clamp negative cuts to zero; a cut beyond the log preserves it.