Add last date to header output

This commit is contained in:
Phil Olynyk 2020-04-13 11:34:01 -04:00
parent 9d511fc91d
commit d38a9e3536

View File

@ -116,9 +116,10 @@ int main(int argc, char *argv[]) {
QDate date = str.edfHdr.startdate_orig.date(); // each STR.edf record starts at 12 noon QDate date = str.edfHdr.startdate_orig.date(); // each STR.edf record starts at 12 noon
int numDays = str.GetNumDataRecords();
qDebug() << str.filename << " starts at " << date << " for " << str.GetNumDataRecords() qDebug() << str.filename << " starts at " << date << " for " << numDays
<< " days, with " << str.GetNumSignals() << " signals"; << " days, ending at " << date.addDays(numDays) << " with " << str.GetNumSignals() << " signals";
if (args.size() == 2) { if (args.size() == 2) {
exit(0); exit(0);