Round returns a new DTimestamp to the specified precision.
(precision time.Duration)
| 1033 | |
| 1034 | // Round returns a new DTimestamp to the specified precision. |
| 1035 | func (d *DTimestamp) Round(precision time.Duration) (*DTimestamp, error) { |
| 1036 | return MakeDTimestamp(d.Time, precision) |
| 1037 | } |
| 1038 | |
| 1039 | // ResolvedType implements the TypedExpr interface. |
| 1040 | func (*DTimestamp) ResolvedType() *types.T { |
nothing calls this directly
no test coverage detected