diff options
author | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-10-16 23:05:03 +0200 |
---|---|---|
committer | Fredrik Meringdal <fmeringdal@hotmail.com> | 2020-10-16 23:05:03 +0200 |
commit | 4bb8cfd0cda78574c1be2d7c137bfbf937bfe8cc (patch) | |
tree | f5a1f5a94e5a4690f00f01b612efc372b9bc4a79 | |
parent | 0d7e3c3a74c470ec34c4923277817c968c7ff19b (diff) | |
download | rust_rrule-4bb8cfd0cda78574c1be2d7c137bfbf937bfe8cc.zip |
removed some logs
-rw-r--r-- | src/monthinfo.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/monthinfo.rs b/src/monthinfo.rs index a22cf8c..d17da48 100644 --- a/src/monthinfo.rs +++ b/src/monthinfo.rs @@ -49,9 +49,6 @@ pub fn rebuild_month( // care about cross-year weekly periods. result.nwdaymask = vec![0; yearlen]; - println!("{:?}", options.bynweekday); - println!("{:?}", ranges); - for j in 0..ranges.len() { let rang = ranges[j]; let first = rang.0; @@ -63,12 +60,9 @@ pub fn rebuild_month( let n = options.bynweekday[k][1]; if n < 0 { i = last + (n + 1) * 7; - println!("n: {}, last: {}", n, last); - println!("i 1 is {}", i); i -= pymod(wdaymask[i as usize] as isize - wday, 7); } else { i = first + (n - 1) * 7; - println!("i 2 is {}", i); i += pymod(7 - wdaymask[i as usize] as isize + wday, 7); } if first <= i && i <= last { |