| 1 | import type { Spacetime, ParsableDate, TimezoneSet } from './types.js' |
| 2 | |
| 3 | export interface SpacetimeConstructorOptions { |
| 4 | /** javascript dates use millisecond-epochs, instead of second-epochs, like some other languages. This is a common bug, and by default spacetime warns if you set an epoch within January 1970. to disable set to true */ |
| 5 | silent?: boolean |
| 6 | |
| 7 | /** the day number, between 0-6, that the week starts on. (Sunday is 0) */ |
| 8 | weekStart?: number |
| 9 | |
| 10 | /** pass true to change parsing behaviour to dd/mm/yyyy. By default American interpretation will be used. */ |
| 11 | dmy?: boolean |
| 12 | } |
| 13 | |
| 14 | export interface SpacetimeConstructor { |
| 15 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected