Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-27 | Add "Until" iterator type | Matthias Beyer | |
2017-09-27 | Add WithoutFilter iterator | Matthias Beyer | |
2017-09-27 | Fix test: Do not iterate over years and do take only 12 instances | Matthias Beyer | |
2017-09-27 | Hand-write month-adjusting in add adjusting algorithm | Matthias Beyer | |
Because we do not have a `>=` comparison operator here, but a `>`. | |||
2017-09-27 | Fix compile-flag for testing with filters feature | Matthias Beyer | |
2017-09-27 | Merge branch 'fixes' | Matthias Beyer | |
2017-09-27 | Do not write month adjusting with macro, but hand-craft | Matthias Beyer | |
This fixes a bug: The month gets adjusted here, which invalidates the result of the get_num_of_days_in_month() call,... so we must call it again and again while adjusting here. | |||
2017-09-27 | Add tests to add more than one larger unit in the smaller unit | Matthias Beyer | |
2017-09-27 | Add test debug output | Matthias Beyer | |
2017-09-26 | Fix feature-gate-caused compiler errors | Matthias Beyer | |
2017-09-26 | Add script to also include filters in the test | Matthias Beyer | |
2017-09-26 | Make Iter auto-calculating, eliminate CalculatingIter | Matthias Beyer | |
It turns out that using a cheap iterator which only wraps objects makes the stack overflow with a very basic query: today() .yearly(1) .unwrap() .every(::indicator::Day::Monday) .every(::indicator::Month::January) .collect::<Vec<_>>() So here we cgo and optimize the Iter type to automatically calculate all the things right away. This makes it a bit more expensive to call, of course, but is better than overflowing. | |||
2017-09-26 | Merge branch 'more-iter' | Matthias Beyer | |
2017-09-26 | Implement filter interface for matchers | Matthias Beyer | |
2017-09-26 | Add filter iterator | Matthias Beyer | |
2017-09-26 | Add Matcher trait for indicators | Matthias Beyer | |
2017-09-26 | Add IntoCalculatingIter trait for calling calculate() on all iterators | Matthias Beyer | |
2017-09-25 | Merge branch 'iter' | Matthias Beyer | |
2017-09-25 | Add more tests | Matthias Beyer | |
2017-09-25 | Fix weird addition bug in iterator | Matthias Beyer | |
The problem was the matching: We matched, in the addition branches, for a pair which we then reversed. This caused a strange bug when adding a moment and a minute. The subtraction matching was wrong as well, as it also reversed the order of the arguments. | |||
2017-09-19 | Add extensions for building iterators conveniently | Matthias Beyer | |
2017-09-19 | Let the TimeType be PartialEq, Eq, PartialOrd, Ord | Matthias Beyer | |
2017-09-19 | Add tests to test TT::is_in() | Matthias Beyer | |
2017-09-19 | Add tests for testing TT::is_a() | Matthias Beyer | |
2017-09-16 | Add types to check whether TT::Moment is weekday / in month | Matthias Beyer | |
2017-09-16 | Add additional comment to TimeType::end_of_* functions | Matthias Beyer | |
2017-09-16 | Add TimeType::today() | Matthias Beyer | |
2017-09-16 | travis: Disable rustc 1.15 builds | Matthias Beyer | |
2017-09-16 | Merge branch 'end-of-day-hour-minute' | Matthias Beyer | |
2017-09-16 | Add test for end-of-minute | Matthias Beyer | |
2017-09-16 | Add tests for end-of-hour | Matthias Beyer | |
2017-09-16 | Add tests to test end-of-day | Matthias Beyer | |
2017-09-16 | Add end of {day, hour, minute} | Matthias Beyer | |
2017-09-16 | Merge branch 'end-of-month' | Matthias Beyer | |
2017-09-16 | Add test for adjusting over months | Matthias Beyer | |
2017-09-16 | Add test for get_num_of_days_in_month() | Matthias Beyer | |
2017-09-16 | Use get_num_of_days_in_month() for adjusting | Matthias Beyer | |
2017-09-16 | Add tests for end-of-month | Matthias Beyer | |
2017-09-16 | Remove printlns | Matthias Beyer | |
2017-09-16 | Move utility functions to util package | Matthias Beyer | |
2017-09-16 | Add end-of-month type/calc | Matthias Beyer | |
Adds util module | |||
2017-09-15 | Merge branch 'end-of-year' | Matthias Beyer | |
2017-09-15 | Add tests for TT::end_of_year() | Matthias Beyer | |
2017-09-15 | Add EndOfYear variant to TimeType | Matthias Beyer | |
2017-09-14 | Add tests to test adding incorrect instances to moments | Matthias Beyer | |
2017-09-14 | Add tests to test addition of more fancy values to moment | Matthias Beyer | |
2017-09-12 | Add test to subtract 12 months from a moment | Matthias Beyer | |
2017-09-12 | Fix subtraction: Calculate first, then subtract | Matthias Beyer | |
2017-09-12 | Fix in tests: There is no day/month "0" - the minimum value is 1 | Matthias Beyer | |
2017-09-12 | Make error messages in sub-adjustment tests more verbose | Matthias Beyer | |