[#BloombergLP-bsls-TimeInterval-isInDurationRange] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::isInDurationRange :relfileprefix: ../../../ :mrdocs: Return `true` if the value of this time interval is within the valid range of the parameterized `DURATION_TYPE`, and `false` otherwise. Note that this function does not participate in overload resolution unless `DURATION_TYPE` is an instantiation of `std::chrono::duration`. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class DURATION_TYPE> bool isInDurationRange(int* = 0) const requires TimeInterval_IsDuration<DURATION_TYPE>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#