Compare two OFDateTimes at second resolution: true if they represent the same wall-clock second (sub-second jitter is ignored). Used by DC=START Step 2 (AcquisitionTime equals SeriesTime in seconds).
| 229 | // the same wall-clock second (sub-second jitter is ignored). Used by |
| 230 | // DC=START Step 2 (AcquisitionTime equals SeriesTime in seconds). |
| 231 | bool EqualAtSecondResolution(const OFDateTime& a, const OFDateTime& b) |
| 232 | { |
| 233 | return std::fabs(DurationInSeconds(a, b)) < 1.0; |
| 234 | } |
| 235 | |
| 236 | // Closed-form average count-rate time per IBSI-SUV recommendation |
| 237 | // (suv_text.txt:820-826): |
no test coverage detected