Weekday | Documentation
Description: Documentation for Documentation

# Interface Weekday

A Weekday specifies a day of the week (Sunday = 0, ...).

#### Hierarchy

- Number
  - Weekday

- Defined in types.d.ts:835
- Defined in types.d.ts:836

#####
Index

### Methods

String
toExponential
toFixed
toLocaleString
toPrecision
toString
valueOf

## Methods

### String

- String(): string

- String returns the English name of the day ("Sunday", "Monday", ...).

  #### Returns string

  - Defined in types.d.ts:840

### toExponential

- toExponential(fractionDigits?): string

- Returns a string containing a number represented in exponential notation.

  #### Parameters

  - ##### `Optional` fractionDigits: number

    Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

  #### Returns string

  Inherited from Number.toExponential

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:576

### toFixed

- toFixed(fractionDigits?): string

- Returns a string representing a number in fixed-point notation.

  #### Parameters

  - ##### `Optional` fractionDigits: number

    Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

  #### Returns string

  Inherited from Number.toFixed

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:570

### toLocaleString

- toLocaleString(locales?, options?): string

- Converts a number to a string by using the current or specified locale.

  #### Parameters

  - ##### `Optional` locales: string | string[]

    A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.

  - ##### `Optional` options: NumberFormatOptions

    An object that contains one or more properties that specify comparison options.

  #### Returns string

  Inherited from Number.toLocaleString

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:4522

### toPrecision

- toPrecision(precision?): string

- Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

  #### Parameters

  - ##### `Optional` precision: number

    Number of significant digits. Must be in the range 1 - 21, inclusive.

  #### Returns string

  Inherited from Number.toPrecision

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:582

### toString

- toString(radix?): string

- Returns a string representation of an object.

  #### Parameters

  - ##### `Optional` radix: number

    Specifies a radix for converting numeric values to strings. This value is only used for numbers.

  #### Returns string

  Inherited from Number.toString

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:564

### valueOf

- valueOf(): number

- Returns the primitive value of the specified object.

  #### Returns number

  Inherited from Number.valueOf

  - Defined in node_modules/typescript/lib/lib.es5.d.ts:585

Generated using TypeDoc