Searched refs:durationSeconds (Results 1 – 2 of 2) sorted by relevance
142 long durationSeconds = getSeconds() - timestamp.getSeconds(); in subtractTimestamp() local144 if (durationSeconds < 0 && durationNanos > 0) { in subtractTimestamp()145 durationSeconds += 1; in subtractTimestamp()147 } else if (durationSeconds > 0 && durationNanos < 0) { in subtractTimestamp()148 durationSeconds -= 1; in subtractTimestamp()151 return Duration.create(durationSeconds, durationNanos); in subtractTimestamp()
36 config.durationSeconds = 10;