Versions in this module Expand all Collapse all v0 v0.25.2 Jun 5, 2025 v0.23.2 Feb 12, 2024 Changes in this version + var MaxTimeTZOffsetSecs = int32((15*time.Hour + 59*time.Minute) / time.Second) + var MinTimeTZOffsetSecs = -1 * MaxTimeTZOffsetSecs + type TimeTZ struct + OffsetSecs int32 + func MakeTimeTZ(t timeofday.TimeOfDay, offsetSecs int32) TimeTZ + func MakeTimeTZFromLocation(t timeofday.TimeOfDay, loc *time.Location) TimeTZ + func MakeTimeTZFromTime(t time.Time) TimeTZ + func MakeTimeTZFromTimeAllow2400(t time.Time) TimeTZ + func Now() TimeTZ + func ParseTimeTZ(now time.Time, dateStyle pgdate.DateStyle, s string, precision time.Duration) (_ TimeTZ, dependsOnContext bool, _ error) + func (t *TimeTZ) After(other TimeTZ) bool + func (t *TimeTZ) AppendFormat(buf []byte) []byte + func (t *TimeTZ) Before(other TimeTZ) bool + func (t *TimeTZ) Equal(other TimeTZ) bool + func (t *TimeTZ) Round(precision time.Duration) TimeTZ + func (t *TimeTZ) String() string + func (t *TimeTZ) ToDuration() time.Duration + func (t *TimeTZ) ToTime() time.Time