package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

Difference returns the interval between t1 and t2, which may be negative.
FromInt constructs a TimeOfDay from an int64, representing microseconds since midnight.
FromTime constructs a TimeOfDay from a time.Time, ignoring the date and time zone.
FromTimeAllow2400 assumes 24:00 time is possible from the given input, otherwise falling back to FromTime.
New creates a TimeOfDay representing the specified time.
Random generates a random TimeOfDay.

# Constants

Max is the maximum TimeOfDay value (1 second before midnight).
Min is the minimum TimeOfDay value (midnight).
Time2400 is a special value to represent the 24:00 input time.

# Type aliases

TimeOfDay represents a time of day (no date), stored as microseconds since midnight.