webMethods and Intelligent Business Operations 10.2 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of List and Range Functions | boolean inRange(Date[][] listOfRanges, Date[] exclusions)
 
boolean inRange(Date[][] listOfRanges, Date[] exclusions)
Indicates whether or not this date is within the specified list of ranges. The checking is inclusive, meaning that the lower and upper bound of the range will be tested for the date. A separate list of exclusions can be provided to indicate that even though the date is within the list of ranges, it should not be accepted if found within the exclusions list.
Input Parameters
listOfRanges
Date List The list of ranges to check against. This is a two-dimensional date array with the outer dimension containing the list of ranges and the inner dimension containing the upper and lower bounds of each range. The outer dimension can contain 1 - n elements, while the inner dimension must always contain exactly two elements.
exclusions
Date An array of items to be excluded from the range check.
Return Value
Boolean Returns true if this date exists within the specified list of ranges, false otherwise.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release