summaryrefslogtreecommitdiffstats
path: root/src/timetype.rs
AgeCommit message (Expand)Author
2024-02-09Bump edition to 2021 and introduce rustfmtPro
2024-02-09CleanupPro
2024-02-09Bump env_loggerPro
2020-03-05Remove unused importMatthias Beyer
2020-03-05Replace try!() with ? operatorMatthias Beyer
2020-03-05Replace failure with thiserrorMatthias Beyer
2018-11-07Move code to failure as error handling libraryMatthias Beyer
2018-05-28Replace wrong variable in error output of sub_from_momentMalte Brandy
2017-11-24Use NaiveDate::from_ymd_opt() / ::and_hms_opt() functions for error safetyMatthias Beyer
2017-11-24Add out of bounds check and error propagation for NaiveDate::from_ymd() callsMatthias Beyer
2017-11-19Split parser into modulesMatthias Beyer
2017-11-11Replace unimplemented!() matcher with actual patternMatthias Beyer
2017-11-11Merge pull request #3 from matthiasbeyer/parserMatthias Beyer
2017-11-11Merge branch 'minor'Matthias Beyer
2017-11-11Fix Bug: Called subtraction fn instead of addition fnMatthias Beyer
2017-11-11Fix Bug: Called subtraction fn instead of addition fnMatthias Beyer
2017-11-11Add TimeType::parse()Matthias Beyer
2017-10-09Add another testcase for adding months over year-bordersMatthias Beyer
2017-10-09Add another testcase for adding months over year-bordersMatthias Beyer
2017-09-29Remove result moduleMatthias Beyer
2017-09-27Remove unused variablesMatthias Beyer
2017-09-27Remove unused importsMatthias Beyer
2017-09-27Add tests to add more than one larger unit in the smaller unitMatthias Beyer
2017-09-27Add test debug outputMatthias Beyer
2017-09-25Fix weird addition bug in iteratorMatthias Beyer
2017-09-19Let the TimeType be PartialEq, Eq, PartialOrd, OrdMatthias Beyer
2017-09-19Add tests to test TT::is_in()Matthias Beyer
2017-09-19Add tests for testing TT::is_a()Matthias Beyer
2017-09-16Add types to check whether TT::Moment is weekday / in monthMatthias Beyer
2017-09-16Add additional comment to TimeType::end_of_* functionsMatthias Beyer
2017-09-16Add TimeType::today()Matthias Beyer
2017-09-16Add test for end-of-minuteMatthias Beyer
2017-09-16Add tests for end-of-hourMatthias Beyer
2017-09-16Add tests to test end-of-dayMatthias Beyer
2017-09-16Add end of {day, hour, minute}Matthias Beyer
2017-09-16Add test for adjusting over monthsMatthias Beyer
2017-09-16Use get_num_of_days_in_month() for adjustingMatthias Beyer
2017-09-16Add tests for end-of-monthMatthias Beyer
2017-09-16Move utility functions to util packageMatthias Beyer
2017-09-16Add end-of-month type/calcMatthias Beyer
2017-09-15Add tests for TT::end_of_year()Matthias Beyer
2017-09-15Add EndOfYear variant to TimeTypeMatthias Beyer
2017-09-14Add tests to test adding incorrect instances to momentsMatthias Beyer
2017-09-14Add tests to test addition of more fancy values to momentMatthias Beyer
2017-09-12Add test to subtract 12 months from a momentMatthias Beyer
2017-09-12Fix subtraction: Calculate first, then subtractMatthias Beyer
2017-09-12Fix in tests: There is no day/month "0" - the minimum value is 1Matthias Beyer
2017-09-12Make error messages in sub-adjustment tests more verboseMatthias Beyer
2017-09-12Make error messages in add-adjustment tests more verboseMatthias Beyer
2017-09-12Rewrite sub adjustmentMatthias Beyer