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 day of the week of the new date
Optional
options: SetDayOptions<ResultDate>An object with options.
The new date with the day of the week set
The
Date
type, the function operates on. Gets inferred from passed arguments. Allows to use extensions likeUTCDate
.