pt_overlaps
ptrb edited this page May 29, 2013
·
1 revision
pt_overlaps( PostTIME , PostTIME ) : boolean
Checks out if two objects share at least one simultaneous period in time.
SELECT pt_overlaps('2013-2-12/2013-2-28','2013-2-12T8');
-- result
f
SELECT pt_overlaps('2013-2-12/2013-2-28','2013-2-12T8/2013-2-12T9');
-- result
t
| CAL | TCS | ORD ---|---|---|--- TM_Instant | ✔ | ✔ | ✗ TM_Period | ✔ | ✔ | ✗ MultiInstant | ✔ | ✔ | ✗ MultiPeriod | ✔ | ✔ | ✗ RegularMultiInstant | ✔ | ✔ | - RegularMultiPerid | ✔ | ✔ | - ✔ : Processable
✗ : Call will cause an error
∼ : Callable without error, but returns only a pseudo result
pt_simultaneous_excluded_end_instants