IsMax implements the Datum interface.
(_ *EvalContext)
| 2435 | |
| 2436 | // IsMax implements the Datum interface. |
| 2437 | func (d *DTimestampTZ) IsMax(_ *EvalContext) bool { |
| 2438 | // Adding 1 overflows to a smaller value |
| 2439 | tNext := d.Time.Add(time.Microsecond) |
| 2440 | return d.After(tNext) |
| 2441 | } |
| 2442 | |
| 2443 | // IsMin implements the Datum interface. |
| 2444 | func (d *DTimestampTZ) IsMin(_ *EvalContext) bool { |