Commit graph

46 commits

Author SHA1 Message Date
Paul Beckingham
c0086ec150 Datafile: sort lines in ascending order before writes 2016-07-04 10:48:57 -04:00
Paul Beckingham
c35f40781c Datafile: Improved debug message wording 2016-06-10 22:02:13 -04:00
Paul Beckingham
11315e4f56 Datafile: Added debug output 2016-05-26 23:32:23 -04:00
Paul Beckingham
d601a77c42 Datafile: Added assert to ::deleteInterval to confirm redundancy 2016-04-29 18:22:36 -04:00
Paul Beckingham
32e066a388 Datafile: Added assert to ::addInterval to confirm redundancy 2016-04-29 18:22:25 -04:00
Paul Beckingham
db3c3fb14c Datafile: Removed exclusions 2016-04-27 18:05:37 -04:00
Paul Beckingham
24bb8ade7a libshared: Accomodated new argument order for Datetime 2016-04-24 08:37:48 -04:00
Paul Beckingham
49715320ef Cleanup: Replaced "\n" with '\n' 2016-04-23 13:30:54 -04:00
Paul Beckingham
63a6255412 Interval: Now has pubic ::range, which has public ::start, ::end 2016-04-23 10:35:06 -04:00
Paul Beckingham
4176bf23d4 Range: Renamed Daterange to Range 2016-04-23 08:52:16 -04:00
Paul Beckingham
b1b8f018a6 Datafile: Clarified responsibilities in comment. More work needed 2016-04-23 08:32:19 -04:00
Paul Beckingham
779e0ce239 Datafile: Exclusions inserted when not found in data 2016-04-17 10:10:57 -04:00
Paul Beckingham
13da904da0 Datafile: Converted from a Datetime pair to a Daterange 2016-04-17 09:35:45 -04:00
Paul Beckingham
61499bd974 Datafile: Added exclusions into _lines, ready to commit 2016-04-17 09:03:56 -04:00
Paul Beckingham
9e2ed873ae Datafile: Removed bool result from ::deleteInterval 2016-04-17 09:02:04 -04:00
Paul Beckingham
365b1eb2ff Datafile: Removed bool result from ::addInterval 2016-04-17 08:52:37 -04:00
Paul Beckingham
3764c60f90 Datafile: Fixed range rejection 2016-04-17 08:45:30 -04:00
Paul Beckingham
981ef3126d Consider intervals with trivial end dates 2016-04-11 17:13:14 -04:00
Paul Beckingham
9e4162ecd4 Datafile: Typo 2016-04-11 17:12:48 -04:00
Paul Beckingham
91f6600909 Datafile: Refactored data I/O 2016-04-11 08:23:30 -04:00
Paul Beckingham
01301dc647 Datafile: Added full ::dump details 2016-04-10 16:57:48 -04:00
Paul Beckingham
a65f4c3fd2 Datafile: Exclusions now provided at a vector 2016-04-10 16:56:31 -04:00
Paul Beckingham
0796e0c522 Datafile: Fixed Datetime::daysInMonth call with args in the wrong order 2016-04-06 21:29:51 -04:00
Paul Beckingham
1a0cc1a049 Datafile: Interval identity is based on start time 2016-04-05 00:37:22 -04:00
Paul Beckingham
b41b56c00c Datafile: Removed compiler warning 2016-04-03 12:45:38 -04:00
Paul Beckingham
6fc25a3de1 Datafile: Removed unused ::getAllIntervalsSince 2016-03-22 00:22:47 -04:00
Paul Beckingham
10d5ad2816 Datafile: Proagates errors when unable to write to file 2016-03-22 00:10:23 -04:00
Paul Beckingham
9a513ea1b2 Datafile: Handles modified intervals 2016-03-22 00:09:59 -04:00
Paul Beckingham
3e16f52621 Datafile: Implemented ::getIntervalsSince 2016-03-21 23:46:58 -04:00
Paul Beckingham
3b26979096 Datafile: Added \n to intervals 2016-03-21 19:32:19 -04:00
Paul Beckingham
69d80bc2bb Datafile: Implemented ::commit 2016-03-21 18:54:32 -04:00
Paul Beckingham
13e5736cd6 Datafile: Implemented ::getLatestInterval 2016-03-21 18:54:01 -04:00
Paul Beckingham
03e21073fb Datafile: Implemented ::getAllIntervals 2016-03-21 18:52:59 -04:00
Paul Beckingham
f2b4cc5873 Datafile: Added ::load_intervals 2016-03-21 18:52:21 -04:00
Paul Beckingham
15090cba95 Datafile: Added ::load_lines 2016-03-20 18:44:02 -04:00
Paul Beckingham
2cc9bc8551 Datafile: Captures added/modified data 2016-03-20 18:40:24 -04:00
Paul Beckingham
c1ccf45ccd Datafile: _name --> _file 2016-03-20 18:23:43 -04:00
Paul Beckingham
889ccaaf73 Datafile: Added stubbed ::getAllIntervals[Since] methods 2016-03-20 18:11:28 -04:00
Paul Beckingham
d0da2c9ac6 Datafile: Extracts YYYY and MM from it's file 2016-03-20 17:41:57 -04:00
Paul Beckingham
a199c2e161 Data{base,file}: Made ::getLatestInterval non-const 2016-03-20 17:20:05 -04:00
Paul Beckingham
2d0051d696 Datafile: Added ::commit, dependent on _dirty flag 2016-03-20 17:05:42 -04:00
Paul Beckingham
221cf863b2 Datafile: Added ::getLatestInterval 2016-03-20 11:31:28 -04:00
Paul Beckingham
b3e315e08b Datafile: Added data injection methods 2016-03-20 11:11:55 -04:00
Paul Beckingham
21f2b138b0 Cleanup: formatting and diagnostics 2016-03-19 17:12:03 -04:00
Paul Beckingham
eebc2afaaf Datafile: Added name accessor 2016-03-19 08:53:40 -04:00
Paul Beckingham
86b11ea54e Datafile: ∧dded object for managing data
- Will perform lazy reads/writes.
2016-03-19 08:45:19 -04:00