We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occurs_between?
The comment says "inclusive" but it actually excludes the start time when duration is zero:
schedule = IceCube::Schedule.new(Time.utc(2013, 1, 1)) t1, t2 = Time.utc(2013, 2, 10), Time.utc(2013, 2, 11) schedule.add_recurrence_time t1 schedule.occurring_between?(t1, t2) # => false schedule.duration = 1 schedule.occurring_between?(t1, t2) # => true
The text was updated successfully, but these errors were encountered:
9b7977d
Fix occurring_between? to capture start of range
0a15739
Fixes ice-cube-ruby#147
avit
No branches or pull requests
The comment says "inclusive" but it actually excludes the start time when duration is zero:
The text was updated successfully, but these errors were encountered: