MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / NewDTimeTZ

Function NewDTimeTZ

pkg/sql/sem/tree/datum.go:2028–2030  ·  view source on GitHub ↗

NewDTimeTZ creates a DTimeTZ from a timetz.TimeTZ.

(t timetz.TimeTZ)

Source from the content-addressed store, hash-verified

2026
2027// NewDTimeTZ creates a DTimeTZ from a timetz.TimeTZ.
2028func NewDTimeTZ(t timetz.TimeTZ) *DTimeTZ {
2029 return &DTimeTZ{t}
2030}
2031
2032// NewDTimeTZFromTime creates a DTimeTZ from time.Time.
2033func NewDTimeTZFromTime(t time.Time) *DTimeTZ {

Callers 2

ParseDTimeTZFunction · 0.85
RoundMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…