logical(bool) function isWithinInterval(time, intervals, includeBoundary)
real(double), intent(in) :: time
type(IntervalT), intent(in) :: intervals(:)
logical(bool), intent(in), optional :: includeBoundary
end function isWithinInterval
The argument `time' is tested to see if it falls within any of the intervals. If optional argument `includeBoundary' is included and set to TRUE, interval boundaries are considered: that is, for example, if time=intervals(i)
NOTE! This function requires the intervals to be well-formed (see section 17.1).