()
| 87 | } |
| 88 | |
| 89 | getTimezoneOffset() { |
| 90 | const offset = -tzOffset(this.timeZone, this); |
| 91 | // Remove the seconds offset using `Math.floor` for negative UTC time zones |
| 92 | // and `Math.ceil` for positive UTC time zones. |
| 93 | return offset > 0 ? Math.floor(offset) : Math.ceil(offset); |
| 94 | } |
| 95 | |
| 96 | //#endregion |
| 97 |
no test coverage detected