Locale
Static Method Summary
| Static Public Methods | ||
| public static |
create(locale: *, numberingSystem: *, outputCalendar: *): * |
|
| public static |
fromObject(objectPattern: {"locale": *, "numberingSystem": *, "outputCalendar": *}): * |
|
| public static |
fromOpts(opts: *): * |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(locale: *, numbering: *, outputCalendar: *) |
|
Member Summary
| Public Members | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
clone(alts: *): * |
|
| public |
dtFormatter(dt: *, intlOpts: {}): undefined[] |
|
| public |
equals(other: *): * |
|
| public |
eras(length: *): * |
|
| public |
extract(dt: *, intlOpts: *, field: *): * |
|
| public |
knownEnglish(): * |
|
| public |
meridiems(): * |
|
| public |
|
|
| public |
numberFormatter(opts: {}, intlOpts: {}): * |
|
| public |
|
|
Static Public Methods
public static create(locale: *, numberingSystem: *, outputCalendar: *): * source
Params:
| Name | Type | Attribute | Description |
| locale | * | ||
| numberingSystem | * | ||
| outputCalendar | * |
Return:
| * |
public static fromObject(objectPattern: {"locale": *, "numberingSystem": *, "outputCalendar": *}): * source
Params:
| Name | Type | Attribute | Description |
| objectPattern | {"locale": *, "numberingSystem": *, "outputCalendar": *} |
|
Return:
| * |
Public Constructors
public constructor(locale: *, numbering: *, outputCalendar: *) source
Params:
| Name | Type | Attribute | Description |
| locale | * | ||
| numbering | * | ||
| outputCalendar | * |
Public Members
public meridiemCache: * source
Public Methods
public dtFormatter(dt: *, intlOpts: {}): undefined[] source
Params:
| Name | Type | Attribute | Description |
| dt | * | ||
| intlOpts | {} |
|
public extract(dt: *, intlOpts: *, field: *): * source
Params:
| Name | Type | Attribute | Description |
| dt | * | ||
| intlOpts | * | ||
| field | * |
Return:
| * |
public months(length: *, format: boolean): * source
Params:
| Name | Type | Attribute | Description |
| length | * | ||
| format | boolean |
|
Return:
| * |
public numberFormatter(opts: {}, intlOpts: {}): * source
Params:
| Name | Type | Attribute | Description |
| opts | {} |
|
|
| intlOpts | {} |
|
Return:
| * |