Searched refs:secondInNanos (Results 1 – 1 of 1) sorted by relevance
59 const secondInNanos = int64(time.Second / time.Nanosecond) const224 if ns <= -secondInNanos || ns >= secondInNanos {225 return fmt.Errorf("ns out of range (%v, %v)", -secondInNanos, secondInNanos)255 if ns < 0 || ns >= secondInNanos {256 return fmt.Errorf("ns out of range [0, %v)", secondInNanos)