summaryrefslogtreecommitdiff
path: root/src/iter.rs
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-15 21:37:05 +0200
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-15 21:37:05 +0200
commit669c070bc736fc6904169319f20743f628642a2c (patch)
tree9cdace6c1907fff6dcf8fd0d372dc0f08d534caa /src/iter.rs
parent3575783180b9faa54e6973f2dadaa4a8bd5a66eb (diff)
downloadrust_rrule-669c070bc736fc6904169319f20743f628642a2c.zip
yearly works
Diffstat (limited to 'src/iter.rs')
-rw-r--r--src/iter.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iter.rs b/src/iter.rs
index fe10479..401207e 100644
--- a/src/iter.rs
+++ b/src/iter.rs
@@ -108,6 +108,7 @@ pub fn iter(iter_result: &mut IterResult, options: &mut ParsedOptions) -> Vec<Da
};
loop {
+ println!("Main loop");
let (dayset, start, end) = ii.getdayset(
&options.freq,
counter_date.year() as isize,
@@ -146,6 +147,7 @@ pub fn iter(iter_result: &mut IterResult, options: &mut ParsedOptions) -> Vec<Da
}
}
} else {
+ println!("start: {}, end: {}", start, end);
for j in start..end {
let current_day = dayset[j];
if current_day.is_none() {