Set the valid range of this calendar to [firstDate .. lastDate].
Synopsis
Description
Set the range of this calendar using the specified firstDate and lastDate as, respectively, the first date and the last date of the calendar. Any holiday that is outside the new range and its holiday codes are removed. See {Iterator Invalidation} for information regarding which iterators are affected by the use of this method. The behavior is undefined unless firstDate <= lastDate.
Parameters
Name |
Description |
firstDate |
earliest date in the new valid range |
lastDate |
latest date in the new valid range |
Created with MrDocs