- Categories:
PERIOD_ MEETS¶
Returns TRUE if two PERIOD values are adjacent in either order.
- See also:
Syntax¶
Arguments¶
period1The first PERIOD value.
period2The second PERIOD value. Must have the same element type as
period1.
Returns¶
BOOLEAN.
Usage notes¶
- TRUE when
PERIOD_END(period1) = PERIOD_BEGIN(period2)orPERIOD_END(period2) = PERIOD_BEGIN(period1). - Equivalent to
PERIOD_IMMEDIATELY_PRECEDES(period1, period2) OR PERIOD_IMMEDIATELY_SUCCEEDS(period1, period2).
Examples¶
This example shows two adjacent periods that meet at 2024-04-01, and a pair that share a begin
bound and so don’t meet: