Weekday representation with RFC 5545 nth occurrence support. Note: Numeric weekday values use 0 = MO (Monday) through 6 = SU (Sunday) per RFC 5545 / ISO 8601, distinct from JavaScript's Date.prototype.getDay() (where 0 is Sunday).
Date.prototype.getDay()
Optional
Readonly
Returns an instance representing the nth occurrence of this weekday (e.g. 1st Friday of month or -1 for last Friday).
Weekday representation with RFC 5545 nth occurrence support. Note: Numeric weekday values use 0 = MO (Monday) through 6 = SU (Sunday) per RFC 5545 / ISO 8601, distinct from JavaScript's
Date.prototype.getDay()(where 0 is Sunday).