The result Date type, it is the type returned from the context function if it is passed, or inferred from the arguments.
The date to be changed
The month index to set (0-11)
Optionaloptions: SetMonthOptions<ResultDate>The options
The new date with the month set
The
Datetype, the function operates on. Gets inferred from passed arguments. Allows to use extensions likeUTCDate.