Extends
BaseOptions
Properties
calendar
ts
calendar: CalendarLike;Temporal calendar
Inherited from
ts
t.Internal.BaseOptions.calendarcatch
ts
catch: boolean;catch or throw Errors
Inherited from
ts
t.Internal.BaseOptions.catchdebug
ts
debug: DebugLevel;additional console.log for tracking
Inherited from
ts
t.Internal.BaseOptions.debugdiscovery
ts
discovery: string | symbol | Discovery;globalThis Discovery Symbol
Inherited from
ts
t.Internal.BaseOptions.discoveryintl?
ts
optional intl?: IntlOptions;internationalization configuration (relativeTime, etc.)
Inherited from
ts
t.Internal.BaseOptions.intllicense?
ts
optional license?: string;license key for premium features
Inherited from
ts
t.Internal.BaseOptions.licenselocale
ts
locale: string | string[];locale (e.g. en-AU)
Inherited from
ts
t.Internal.BaseOptions.localemode?
ts
optional mode?: "auto" | "strict" | "defer";initialization strategy ('auto'|'strict'|'defer')
Inherited from
ts
t.Internal.BaseOptions.modemonthDay
ts
monthDay: boolean | MonthDay;regional date-parsing configuration
Inherited from
ts
t.Internal.BaseOptions.monthDaypivot
ts
pivot: number;pivot year for two-digit years
Inherited from
ts
t.Internal.BaseOptions.pivotplanner?
ts
optional planner?: PlannerOptions;parse planner configuration (layoutOrder, etc.)
Inherited from
ts
t.Internal.BaseOptions.plannerplugins
ts
plugins: TempoPlugin | TermPlugin | (TempoPlugin | TermPlugin)[];plugins to be automatically extended
Inherited from
ts
t.Internal.BaseOptions.pluginsregistry?
ts
optional registry?: {
events?: | Extend<{
christmas: "25 Dec";
christmas ?eve: "24 Dec";
fortnight: (this) => AliasContext;
new.?years? ?eve: "31 Dec";
new.?years?(?: ?day)?: "01 Jan";
now: (this) => AliasContext;
ny: "01 Jan";
nye: "31 Dec";
today: (this) => ZonedDateTime;
tomorrow: (this) => AliasContext;
xmas: "25 Dec";
xmas ?eve: "24 Dec";
yesterday: (this) => AliasContext;
}, string, string | Function>
| RegistryOption<Logic>;
formats?: Property<any>;
ignores?: Ignore;
layouts?: | Extend<{
[key: symbol]: string;
}, symbol, string>
| RegistryOption<Pattern>;
locales?: Record<string, Record<string, string | Function>>;
modifiers?: Record<string, string | string[]>;
periods?: | Extend<{
after[ -]?noon: "3:00pm";
evening: "18:00";
half[ -]?hour: (this) => string;
mid[ -]?day: "12:00";
mid[ -]?morning: "10:00";
mid[ -]?night: "24:00";
morning: "8:00";
night: "20:00";
noon: "12:00";
}, string, string | Function>
| RegistryOption<Logic>;
snippets?: | Extend<{
[key: symbol]: RegExp;
}, symbol, RegExp>
| RegistryOption<Pattern>;
tokens?: Record<string, TokenEvaluator>;
};custom data augmentation registries
events?
ts
optional events?:
| Extend<{
christmas: "25 Dec";
christmas ?eve: "24 Dec";
fortnight: (this) => AliasContext;
new.?years? ?eve: "31 Dec";
new.?years?(?: ?day)?: "01 Jan";
now: (this) => AliasContext;
ny: "01 Jan";
nye: "31 Dec";
today: (this) => ZonedDateTime;
tomorrow: (this) => AliasContext;
xmas: "25 Dec";
xmas ?eve: "24 Dec";
yesterday: (this) => AliasContext;
}, string, string | Function>
| RegistryOption<Logic>;formats?
ts
optional formats?: Property<any>;ignores?
ts
optional ignores?: Ignore;layouts?
ts
optional layouts?:
| Extend<{
[key: symbol]: string;
}, symbol, string>
| RegistryOption<Pattern>;locales?
ts
optional locales?: Record<string, Record<string, string | Function>>;modifiers?
ts
optional modifiers?: Record<string, string | string[]>;periods?
ts
optional periods?:
| Extend<{
after[ -]?noon: "3:00pm";
evening: "18:00";
half[ -]?hour: (this) => string;
mid[ -]?day: "12:00";
mid[ -]?morning: "10:00";
mid[ -]?night: "24:00";
morning: "8:00";
night: "20:00";
noon: "12:00";
}, string, string | Function>
| RegistryOption<Logic>;snippets?
ts
optional snippets?:
| Extend<{
[key: symbol]: RegExp;
}, symbol, RegExp>
| RegistryOption<Pattern>;tokens?
ts
optional tokens?: Record<string, TokenEvaluator>;Inherited from
ts
t.Internal.BaseOptions.registrysilent
ts
silent: boolean;suppress console output during catch
Inherited from
ts
t.Internal.BaseOptions.silentsphere
ts
sphere: string | undefined;hemisphere for term.qtr or term.szn
Inherited from
ts
t.Internal.BaseOptions.spherestore
ts
store: string;localStorage key
Inherited from
ts
t.Internal.BaseOptions.storetimeStamp?
ts
optional timeStamp?: TimeStamp;Precision to measure timestamps (ms | us)
Inherited from
ts
t.Internal.BaseOptions.timeStamptimeZone
ts
timeZone: TimeZoneLike;Temporal timeZone
Inherited from
ts
t.Internal.BaseOptions.timeZonevalue
ts
value: DateTime;supplied value to parse
Inherited from
ts
t.Internal.BaseOptions.value