Searched refs:secondsToAdd (Results 1 – 2 of 2) sorted by relevance
172 private Timestamp plus(long secondsToAdd, long nanosToAdd) { in plus() argument173 if ((secondsToAdd | nanosToAdd) == 0) { in plus()176 long epochSec = TimeUtils.checkedAdd(getSeconds(), secondsToAdd); in plus()
813 int secondsToAdd = 0; in MergeTimestamp()831 secondsToAdd = sign * totalMinutes * 60; in MergeTimestamp()834 if (secondsToAdd < 0 && nanosToAdd > 0) in MergeTimestamp()836 secondsToAdd++; in MergeTimestamp()839 if (secondsToAdd != 0 || nanosToAdd != 0) in MergeTimestamp()841 timestamp += new Duration { Nanos = nanosToAdd, Seconds = secondsToAdd }; in MergeTimestamp()