MobilityDB 1.1

◆ tnumberinst_restrict_span()

TInstant * tnumberinst_restrict_span ( const TInstant inst,
const Span span,
bool  atfunc 
)

Restrict a temporal number instant to (the complement of) a span of base values.

Parameters
[in]instTemporal number
[in]spanSpan of base values
[in]atfuncTrue if the restriction is at, false for minus
Returns
Resulting temporal number
SQL Function:
atSpan(), minusSpan()