timeutil

package
v0.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// !! note that time.Unix(1<<63-1, 999999999) will result an overflow and break the Before/After logic
	// ref: https://github.com/golang/go/issues/39477
	MaxTime = time.Unix(1<<62, 999999999)
)

Functions

func Earliest

func Earliest(skipZeros bool, ts ...time.Time) time.Time

func Latest

func Latest(ts ...time.Time) time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL