()
| 1960 | } |
| 1961 | |
| 1962 | override toString() { |
| 1963 | const hours = /h/.test(this.token) |
| 1964 | ? this.date.getHours() % 12 || 12 |
| 1965 | : this.date.getHours() |
| 1966 | return this.token.length > 1 |
| 1967 | ? `${hours}`.padStart(2, "0") |
| 1968 | : `${hours}` |
| 1969 | } |
| 1970 | } |
| 1971 | |
| 1972 | class Day extends DatePart { |
nothing calls this directly
no outgoing calls
no test coverage detected