Round returns a new DTimestamp to the specified precision.
(precision time.Duration)
| 2671 | |
| 2672 | // Round returns a new DTimestamp to the specified precision. |
| 2673 | func (d *DTimestamp) Round(precision time.Duration) (*DTimestamp, error) { |
| 2674 | return MakeDTimestamp(d.Time, precision) |
| 2675 | } |
| 2676 | |
| 2677 | // ResolvedType implements the TypedExpr interface. |
| 2678 | func (*DTimestamp) ResolvedType() *types.T { |
nothing calls this directly
no test coverage detected