()
| 67 | //#region private |
| 68 | |
| 69 | tzComponents() { |
| 70 | const offset = this.getTimezoneOffset(); |
| 71 | const sign = offset > 0 ? "-" : "+"; |
| 72 | const hours = String(Math.floor(Math.abs(offset) / 60)).padStart(2, "0"); |
| 73 | const minutes = String(Math.abs(offset) % 60).padStart(2, "0"); |
| 74 | return [sign, hours, minutes]; |
| 75 | } |
| 76 | |
| 77 | //#endregion |
| 78 |
no test coverage detected