(value: string)
| 329 | } |
| 330 | |
| 331 | function readTwoDigitYear(value: string): number { |
| 332 | const n = Number(value) |
| 333 | return n >= 70 ? 1900 + n : 2000 + n |
| 334 | } |
| 335 | |
| 336 | function matchDateNotePattern(pattern: string, text: string): DateNotePatternMatch | null { |
| 337 | const captures: Array<{ token: DateNotePatternToken; index: number }> = [] |
no outgoing calls
no test coverage detected