Commit graph

1433 commits

Author SHA1 Message Date
Paul Beckingham
b79355dfb2 Tests: Added tests for exclusion ranges generated within a 24-hour period 2016-05-13 17:25:54 -04:00
Paul Beckingham
24c593bd55 data: Fixed comment 2016-05-13 17:25:02 -04:00
Paul Beckingham
a4728b6e54 Exclusion: All test ranges are backdated to midnight to be inclusive 2016-05-13 17:24:13 -04:00
Paul Beckingham
bf463bcd25 CmdReportSummary: Replaced getTrackedIntervals with getTracked 2016-05-13 17:23:05 -04:00
Paul Beckingham
af8461ade0 CmdReportDay: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:54 -04:00
Paul Beckingham
89b4c389bc CmdReport: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:41 -04:00
Paul Beckingham
8f7dec1ee9 CmdExport: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:27 -04:00
Paul Beckingham
6bb14b538c CmdClear: Replaced getTrackedIntervals with getTracked 2016-05-13 17:22:15 -04:00
Paul Beckingham
7a9cc4d50f data: Replaced getTrackedIntervals with getTracked - build broken 2016-05-13 17:21:55 -04:00
Paul Beckingham
3e97944850 libshared: Updated to 50ddca67cd4ecf05ad18fa6fd38a9aff0057ac1b 2016-05-13 17:15:45 -04:00
Paul Beckingham
85c7db132f Tests: More compact date form used, for consistency 2016-05-12 17:47:41 -04:00
Paul Beckingham
aa86ffb164 Tests: Factored flatten tests into a function, for consistency and conciseness 2016-05-12 17:33:49 -04:00
Paul Beckingham
fb5fa50e7e data: Directly manipulates filter.range 2016-05-12 17:30:55 -04:00
Paul Beckingham
a5b78cb366 data: Added old getExclusions functionality inside getAllExclusions 2016-05-12 17:30:17 -04:00
Paul Beckingham
752ff533a9 CmdContinue: Used new Range methds 2016-05-12 17:28:39 -04:00
Paul Beckingham
b1b093c975 CmdStart: Removed useless comment 2016-05-12 17:28:07 -04:00
Paul Beckingham
1d84152185 data: Removed obsolete getExclusions 2016-05-12 17:27:05 -04:00
Paul Beckingham
10fb92e97f Range: Added ::open and ::close to manipulate ranges in common ways 2016-05-12 17:26:01 -04:00
Paul Beckingham
e1e1a30a98 Range: Renamed meethods by prepending 'is_' 2016-05-12 08:32:40 -04:00
Paul Beckingham
b626f0bec4 Tests: Added track of an interval that encloses an exclusion 2016-05-11 08:33:05 -04:00
Paul Beckingham
9c3000a72f Tests: Code formatting 2016-05-11 00:05:59 -04:00
Paul Beckingham
03a9f9bf07 Tests: Added flatten test 2016-05-11 00:04:04 -04:00
Paul Beckingham
23e9492d16 data: Improved range subtraction in getTrackedIntervals 2016-05-11 00:03:19 -04:00
Paul Beckingham
7f4a70d29e Exclusion: Properly anchor < and > at midnight 2016-05-11 00:00:27 -04:00
Paul Beckingham
95b09b4c60 data: Fixed flatten to only consider enclosed exclusions 2016-05-10 21:38:35 -04:00
Paul Beckingham
d13fc3b5e4 CmdReportSummary: Migrated to Range::open for readability 2016-05-10 20:48:57 -04:00
Paul Beckingham
dc73007fd1 CmdReportDay: Migrated to Range::open for readability 2016-05-10 20:48:23 -04:00
Paul Beckingham
e9eb896577 CmdDefault: Simplified code 2016-05-10 20:46:24 -04:00
Paul Beckingham
46ab996018 CmdStart: Syntax error 2016-05-10 20:45:04 -04:00
Paul Beckingham
df27564231 CmdStop: Simplified code 2016-05-10 20:43:38 -04:00
Paul Beckingham
b8eb23ceef CmdCancel: Simplified code 2016-05-10 20:42:08 -04:00
Paul Beckingham
990117a4c9 CmdContinue: Simplified code 2016-05-10 20:39:23 -04:00
Paul Beckingham
023d4ba1bc CmdStart: Switched to Range::open 2016-05-10 20:36:51 -04:00
Paul Beckingham
a18efd463d Tests: Added ::open tests 2016-05-10 20:34:03 -04:00
Paul Beckingham
f101962008 Range: Added ::open 2016-05-10 20:33:50 -04:00
Paul Beckingham
a24be8c4cc Tests: Added start tests 2016-05-10 20:05:03 -04:00
Paul Beckingham
bf45ea6ed3 Tests: Added start tests 2016-05-10 20:04:47 -04:00
Paul Beckingham
cb4afb8d24 Tests: Corrected comments 2016-05-10 20:03:28 -04:00
Paul Beckingham
5952652e67 data: Fixed bug in flatten which yielded multiple intervals 2016-05-10 20:00:33 -04:00
Paul Beckingham
0d0bb19b35 CmdTrack: Removed unused vector 2016-05-10 19:59:16 -04:00
Paul Beckingham
86ff9189bd data: Renamed 'collapse' to 'flatten', for accuracy 2016-05-10 19:57:45 -04:00
Paul Beckingham
bd5121e2c8 Rules: Fixed bug where all values were tokenized, thereby introducing spaces 2016-05-10 19:54:27 -04:00
Paul Beckingham
d7ad32b6d3 Rules: Removed unused method 2016-05-10 19:51:54 -04:00
Paul Beckingham
9608a0db17 Tests: Added ::encloses 2016-05-09 17:13:23 -04:00
Paul Beckingham
a2e21d14a0 Range: Implemented ::encloses 2016-05-09 17:13:01 -04:00
Paul Beckingham
2770103f7d helper: Removed obsolete getExcludedRanges 2016-05-09 00:03:47 -04:00
Paul Beckingham
50c208cc7e Tests: subtractRanges tests 2016-05-08 23:28:56 -04:00
Paul Beckingham
6db87ab158 Tests: Added Range::total tests for open ranges 2016-05-07 16:52:27 -04:00
Paul Beckingham
5d112a0af3 Tests: Added another subtractRanges test 2016-05-07 00:15:36 -04:00
Paul Beckingham
64f0f3666b Tests: Added subtractRanges test 2016-05-07 00:15:11 -04:00