()
| 584 | } |
| 585 | |
| 586 | public get dayOfWeek(): number { |
| 587 | const date = new Date(this.#year, this.#month - 1, this.#day); |
| 588 | const dow = date.getDay(); |
| 589 | return dow === 0 ? 7 : dow; |
| 590 | } |
| 591 | |
| 592 | public get quarter(): number { |
| 593 | return Math.ceil(this.#month / 3); |
nothing calls this directly
no outgoing calls
no test coverage detected