(property: string)
| 419 | } |
| 420 | |
| 421 | public get(property: string): unknown { |
| 422 | switch (property) { |
| 423 | case "hour": |
| 424 | return this.hour; |
| 425 | case "minute": |
| 426 | return this.minute; |
| 427 | case "second": |
| 428 | return this.second; |
| 429 | case "millisecond": |
| 430 | return this.millisecond; |
| 431 | case "microsecond": |
| 432 | return this.microsecond; |
| 433 | case "nanosecond": |
| 434 | return this.nanosecond; |
| 435 | case "offset": |
| 436 | return this.offset; |
| 437 | case "offsetMinutes": |
| 438 | return this.offsetMinutes; |
| 439 | default: |
| 440 | return null; |
| 441 | } |
| 442 | } |
| 443 | |
| 444 | /** |
| 445 | * Format timezone offset as +HH:MM or -HH:MM. |
nothing calls this directly
no outgoing calls
no test coverage detected