public static boolean overlaps(Instant startOne, Instant endOne, Instant startTwo, Instant endTwo) {
    """
	Check is time periods overlap
	@param startOne start time of first period / null for full
	@param endOne end tme of first period / null for full
	@param startTwo start time of second period / null for full
	@param endTwo end time of second period / null for full
	@return true if periods overlap, false if they don't
	@throws IllegalArgumentException in case start time is after end time of first/second period
    """

		return InstantTimeUtils.overlaps(startOne, endOne, startTwo, endTwo);
	}
public static boolean overlaps(Instant startOne, Instant endOne, Instant startTwo, Instant endTwo) {

		return InstantTimeUtils.overlaps(startOne, endOne, startTwo, endTwo);
	}
public static boolean overlaps ( Instant startOne , Instant endOne , Instant startTwo , Instant endTwo ) { return InstantTimeUtils . overlaps ( startOne , endOne , startTwo , endTwo ) ; }
Check is time periods overlap
@param startOne start time of first period / null for full
@param endOne end tme of first period / null for full
@param startTwo start time of second period / null for full
@param endTwo end time of second period / null for full
@return true if periods overlap, false if they don't
@throws IllegalArgumentException in case start time is after end time of first/second period
Check is time periods overlap