getChronologicalOrigin()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Chronological granularity a generic one is derived from (month_in_year → month), if any.
getChronologicalOrigin: (g: string | undefined) => DateAttributeGranularity | undefined
Parameters
Parameter | Type | Description |
|---|---|---|
g | string | undefined |
Returns
DateAttributeGranularity | undefined