typescript
Advanced tools
Comparing version 1.7.0-dev.20150902 to 1.7.0-dev.20150903
@@ -107,2 +107,3 @@ /*! ***************************************************************************** | ||
hour12?: boolean; | ||
timeZone?: string; | ||
} | ||
@@ -177,2 +178,8 @@ | ||
/** | ||
* Converts a date and time to a string by using the current or specified locale. | ||
* @param locales An 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. | ||
* @param options An object that contains one or more properties that specify comparison options. | ||
*/ | ||
toLocaleString(locales?: string[], options?: Intl.DateTimeFormatOptions): string; | ||
/** | ||
* Converts a date to a string by using the current or specified locale. | ||
@@ -182,5 +189,19 @@ * @param locales An 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. | ||
*/ | ||
toLocaleString(locales?: string[], options?: Intl.DateTimeFormatOptions): string; | ||
toLocaleDateString(locales?: string[], options?: Intl.DateTimeFormatOptions): string; | ||
/** | ||
* Converts a time to a string by using the current or specified locale. | ||
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used. | ||
* @param options An object that contains one or more properties that specify comparison options. | ||
*/ | ||
toLocaleTimeString(locale?: string[], options?: Intl.DateTimeFormatOptions): string; | ||
/** | ||
* Converts a date and time to a string by using the current or specified locale. | ||
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used. | ||
* @param options An object that contains one or more properties that specify comparison options. | ||
*/ | ||
toLocaleString(locale?: string, options?: Intl.DateTimeFormatOptions): string; | ||
/** | ||
* Converts a date to a string by using the current or specified locale. | ||
@@ -190,3 +211,10 @@ * @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used. | ||
*/ | ||
toLocaleString(locale?: string, options?: Intl.DateTimeFormatOptions): string; | ||
toLocaleDateString(locale?: string, options?: Intl.DateTimeFormatOptions): string; | ||
/** | ||
* Converts a time to a string by using the current or specified locale. | ||
* @param locale Locale tag. If you omit this parameter, the default locale of the JavaScript runtime is used. | ||
* @param options An object that contains one or more properties that specify comparison options. | ||
*/ | ||
toLocaleTimeString(locale?: string, options?: Intl.DateTimeFormatOptions): string; | ||
} | ||
@@ -193,0 +221,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "http://typescriptlang.org/", | ||
"version": "1.7.0-dev.20150902", | ||
"version": "1.7.0-dev.20150903", | ||
"license": "Apache-2.0", | ||
@@ -8,0 +8,0 @@ "description": "TypeScript is a language for application scale JavaScript development", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
12104079
233399