@telerik/kendo-intl
Advanced tools
Comparing version 1.4.4-dev.201810182014 to 1.4.4-dev.201810220633
@@ -84,59 +84,2 @@ import { DateFormatNameOptions } from './cldr'; | ||
/** A Date-like object that provides read-only access to the date parts. */ | ||
export interface ImmutableDate { | ||
/** Gets the time value in milliseconds. */ | ||
getTime(): number; | ||
/** Gets the year, using local time. */ | ||
getFullYear(): number; | ||
/** Gets the year using Universal Coordinated Time (UTC). */ | ||
getUTCFullYear(): number; | ||
/** Gets the month, using local time. */ | ||
getMonth(): number; | ||
/** Gets the month of a Date object using Universal Coordinated Time (UTC). */ | ||
getUTCMonth(): number; | ||
/** Gets the day-of-the-month, using local time. */ | ||
getDate(): number; | ||
/** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */ | ||
getUTCDate(): number; | ||
/** Gets the day of the week, using local time. */ | ||
getDay(): number; | ||
/** Gets the day of the week using Universal Coordinated Time (UTC). */ | ||
getUTCDay(): number; | ||
/** Gets the hours in a date, using local time. */ | ||
getHours(): number; | ||
/** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */ | ||
getUTCHours(): number; | ||
/** Gets the minutes of a Date object, using local time. */ | ||
getMinutes(): number; | ||
/** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */ | ||
getUTCMinutes(): number; | ||
/** Gets the seconds of a Date object, using local time. */ | ||
getSeconds(): number; | ||
/** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */ | ||
getUTCSeconds(): number; | ||
/** Gets the milliseconds of a Date, using local time. */ | ||
getMilliseconds(): number; | ||
/** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */ | ||
getUTCMilliseconds(): number; | ||
/** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */ | ||
getTimezoneOffset(): number; | ||
} | ||
/** | ||
@@ -150,3 +93,3 @@ * Converts a `Date` object to a string based on the specified format and locale. | ||
*/ | ||
export function formatDate(value: Date | ImmutableDate, format: string|DateFormatOptions, locale?: string): string; | ||
export function formatDate(value: Date, format: string|DateFormatOptions, locale?: string): string; | ||
@@ -153,0 +96,0 @@ /** |
@@ -6,3 +6,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "1.4.4-dev.201810182014", | ||
"version": "1.4.4-dev.201810220633", | ||
"main": "dist/npm/main.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/es/main.js", |
607315
8786