MustMakeDTimestampTZ wraps MakeDTimestampTZ but panics if there is an error. This is intended for testing applications only.
(t time.Time, precision time.Duration)
| 2910 | // MustMakeDTimestampTZ wraps MakeDTimestampTZ but panics if there is an error. |
| 2911 | // This is intended for testing applications only. |
| 2912 | func MustMakeDTimestampTZ(t time.Time, precision time.Duration) *DTimestampTZ { |
| 2913 | ret, err := MakeDTimestampTZ(t, precision) |
| 2914 | if err != nil { |
| 2915 | panic(err) |
| 2916 | } |
| 2917 | return ret |
| 2918 | } |
| 2919 | |
| 2920 | // MakeDTimestampTZFromDate creates a DTimestampTZ from a DDate. |
| 2921 | // This will be equivalent to the midnight of the given zone. |
no test coverage detected
searching dependent graphs…