`isInPeriod(start: Date)(end: Date)(instant: Date): boolean` Sort start & end, apply closed start & open ending.
isInPeriod(start: Date)(end: Date)(instant: Date): booleanSort start & end, apply closed start & open ending.