compareTime function
Compares two time values and returns the result.
If timeA
is considered before timeB
, the result
will be TimeComparisonResult.before, etc.
Implementation
TimeComparisonResult compareTime(GpsTime timeA, GpsTime timeB) {
return compareIntRepresentationTime(
timeA.secondsSinceEpoch, timeB.secondsSinceEpoch);
}