DateSequenceExpand Method |
Expands a list of date templates into a sequence of dates between two bounds.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntaxpublic static DateSequence Expand(
int fromYear,
int toYear,
DateVector holidays
)
Parameters
- fromYear Int32
- First year of the interval.
- toYear Int32
- Last year of the interval.
- holidays DateVector
- A vector of template dates.
Return Value
DateSequenceThe expanded sequence of holidays.
Remarks
Years from the template dates are ignored.
This method is useful for creating business day calendars.
See Also