Returns (reference - injection) in seconds (the shared util reports ms).
| 95 | |
| 96 | // Returns (reference - injection) in seconds (the shared util reports ms). |
| 97 | double DurationInSeconds(const OFDateTime& injection, const OFDateTime& reference) |
| 98 | { |
| 99 | return mitk::ComputeMiliSecDuration(injection, reference) / 1000.0; |
| 100 | } |
| 101 | |
| 102 | // Resolve the radiopharmaceutical injection time into an absolute OFDateTime. |
| 103 | // Returns (parsed time, derivedFromTimeOnlyTag). The bool tells the caller |
no test coverage detected