* Defines a pattern for extracting time units from a string.
| 28 | * Defines a pattern for extracting time units from a string. |
| 29 | */ |
| 30 | interface UnitPattern { |
| 31 | /** |
| 32 | * The unit of time manipulation (e.g., 'days', 'hours'). |
| 33 | */ |
| 34 | unit: ManipulateType; |
| 35 | /** |
| 36 | * Regular expression to match value and unit in the input string. |
| 37 | */ |
| 38 | regExp: RegExp; |
| 39 | } |
| 40 | |
| 41 | // === Pre-compiled Regular Expressions === |
| 42 |
nothing calls this directly
no outgoing calls
no test coverage detected