MakeDTime creates a DTime from a TimeOfDay.
(t timeofday.TimeOfDay)
| 2280 | |
| 2281 | // MakeDTime creates a DTime from a TimeOfDay. |
| 2282 | func MakeDTime(t timeofday.TimeOfDay) *DTime { |
| 2283 | d := DTime(t) |
| 2284 | return &d |
| 2285 | } |
| 2286 | |
| 2287 | // AsDTime attempts to retrieve a DTime from an Expr, returning a DTimestamp and |
| 2288 | // a flag signifying whether the assertion was successful. The function should |
no test coverage detected
searching dependent graphs…