Prev implements the Datum interface.
(ctx *EvalContext)
| 2071 | |
| 2072 | // Prev implements the Datum interface. |
| 2073 | func (d *DTimeTZ) Prev(ctx *EvalContext) (Datum, bool) { |
| 2074 | if d.IsMin(ctx) { |
| 2075 | return nil, false |
| 2076 | } |
| 2077 | return NewDTimeTZFromOffset(d.TimeOfDay-1, d.OffsetSecs), true |
| 2078 | } |
| 2079 | |
| 2080 | // Next implements the Datum interface. |
| 2081 | func (d *DTimeTZ) Next(ctx *EvalContext) (Datum, bool) { |
nothing calls this directly
no test coverage detected