(property: string)
| 266 | } |
| 267 | |
| 268 | public get(property: string): unknown { |
| 269 | switch (property) { |
| 270 | case "hour": |
| 271 | return this.hour; |
| 272 | case "minute": |
| 273 | return this.minute; |
| 274 | case "second": |
| 275 | return this.second; |
| 276 | case "millisecond": |
| 277 | return this.millisecond; |
| 278 | case "microsecond": |
| 279 | return this.microsecond; |
| 280 | case "nanosecond": |
| 281 | return this.nanosecond; |
| 282 | default: |
| 283 | return null; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Convert to ISO string (HH:MM:SS.nnnnnnnnn). |
nothing calls this directly
no outgoing calls
no test coverage detected