Next implements the Datum interface.
(ctx *EvalContext)
| 2079 | |
| 2080 | // Next implements the Datum interface. |
| 2081 | func (d *DTimeTZ) Next(ctx *EvalContext) (Datum, bool) { |
| 2082 | if d.IsMax(ctx) { |
| 2083 | return nil, false |
| 2084 | } |
| 2085 | return NewDTimeTZFromOffset(d.TimeOfDay+1, d.OffsetSecs), true |
| 2086 | } |
| 2087 | |
| 2088 | // IsMax implements the Datum interface. |
| 2089 | func (d *DTimeTZ) IsMax(_ *EvalContext) bool { |
nothing calls this directly
no test coverage detected