It creates and returns a `Range` object whose minimum and maximum stamps are respectively the lowest of and the greatest of the stamps among those stored by two `Range` objects.
| `$range1` and `$range2` | `Range` object from which to retrieve the minimum and maximum stamps to build the resulting `Range` object. See **Note 1**. | Optional | |
| `$trimFunction` | `CODE` reference for trimming decimals, to be applied on the resulting `Range` object. See **Note 2**. | Optional | |
**Note 1:** If `undef` takes the place of both `$range1` and `$range2` arguments, then `getWhole` will return `undef`, on the other hand, if `undef` takes the place of just one of them, the stamps of the other one will be used to build the resulting `Range` object.
**Note 2:** The `$trimFunction` argument is used to build the resulting `Range` object only when none of `$range1` and `$range2` are `undef`.