NewDTimeTZFromTime creates a DTimeTZ from time.Time.
(t time.Time)
| 2031 | |
| 2032 | // NewDTimeTZFromTime creates a DTimeTZ from time.Time. |
| 2033 | func NewDTimeTZFromTime(t time.Time) *DTimeTZ { |
| 2034 | return &DTimeTZ{timetz.MakeTimeTZFromTime(t)} |
| 2035 | } |
| 2036 | |
| 2037 | // NewDTimeTZFromOffset creates a DTimeTZ from a TimeOfDay and offset. |
| 2038 | func NewDTimeTZFromOffset(t timeofday.TimeOfDay, offsetSecs int32) *DTimeTZ { |
no test coverage detected
searching dependent graphs…