package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MakeTimeTZ creates a TimeTZ from a TimeOfDay and offset.
MakeTimeTZFromLocation creates a TimeTZ from a TimeOfDay and time.Location.
MakeTimeTZFromTime creates a TimeTZ from a time.Time.
MakeTimeTZFromTimeAllow2400 creates a TimeTZ from a time.Time, but factors in that Time2400 may be possible.
Now returns the TimeTZ of the current location.
ParseTimeTZ parses and returns the TimeTZ represented by the provided string, or an error if parsing is unsuccessful.
# Variables
MaxTimeTZOffsetSecs is the maximum offset TimeTZ allows in seconds.
MinTimeTZOffsetSecs is the minimum offset TimeTZ allows in seconds.