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()
819 int secondsToAdd = 0; in MergeTimestamp()837 secondsToAdd = sign * totalMinutes * 60; in MergeTimestamp()840 if (secondsToAdd < 0 && nanosToAdd > 0) in MergeTimestamp()842 secondsToAdd++; in MergeTimestamp()845 if (secondsToAdd != 0 || nanosToAdd != 0) in MergeTimestamp()847 timestamp += new Duration { Nanos = nanosToAdd, Seconds = secondsToAdd }; in MergeTimestamp()