Guidewire Interview Question

Detecting if periods of time intersect.

Interview Answer

Anonymous

Jun 15, 2011

ANSWER: If end time of one is greater than the start time of the other AND vice-versa then "YES" else "NO" Example.. Does Policy covers loss? i.e. Does Policy Coverage Period (PCP) intersect with Loss Period (LP)? STS = Start-Time-Stamp; ETS = End-Time-Stamp If PCPETS >= LPSTS and LPETS >= PCPSTS then "YES" Else "NO".