NewDTimeTZFromOffset creates a DTimeTZ from a TimeOfDay and offset.
(t timeofday.TimeOfDay, offsetSecs int32)
| 2036 | |
| 2037 | // NewDTimeTZFromOffset creates a DTimeTZ from a TimeOfDay and offset. |
| 2038 | func NewDTimeTZFromOffset(t timeofday.TimeOfDay, offsetSecs int32) *DTimeTZ { |
| 2039 | return &DTimeTZ{timetz.MakeTimeTZ(t, offsetSecs)} |
| 2040 | } |
| 2041 | |
| 2042 | // NewDTimeTZFromLocation creates a DTimeTZ from a TimeOfDay and time.Location. |
| 2043 | func NewDTimeTZFromLocation(t timeofday.TimeOfDay, loc *time.Location) *DTimeTZ { |
no test coverage detected
searching dependent graphs…