package
2.1.0-alpha.20180416+incompatible
Repository: https://github.com/coyle/cockroach.git
Documentation: pkg.go.dev
# Functions
Add returns the time t+d.
AddMicros adds the microsecond delta to the provided time value.
Decode reverses the three integers returned from Encode and produces an equal Duration to the original.
DiffMicros computes the microsecond difference between two time values.
Truncate returns a new duration obtained from the first argument by discarding the portions at finer resolution than that given by the second argument.
# Variables
ErrEncodeOverflow is returned by Encode when the sortNanos returned would have overflowed or underflowed.