@date-io/core
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,5 @@ export interface IUtils<TDate> { | ||
yearFormat: string; | ||
yearMonthFormat: string; | ||
dateTime12hFormat: string; | ||
@@ -20,3 +23,3 @@ dateTime24hFormat: string; | ||
isValid(value: any): boolean; | ||
getDiff(value: TDate, comparing: TDate): number; | ||
getDiff(value: TDate, comparing: TDate | string): number; | ||
isEqual(value: any, comparing: any): boolean; | ||
@@ -54,5 +57,8 @@ isSameDay(value: TDate, comparing: TDate): boolean; | ||
getMonth(value: TDate): number; | ||
setMonth(value: TDate, count: number): TDate; | ||
getNextMonth(value: TDate): TDate; | ||
getPreviousMonth(value: TDate): TDate; | ||
getMonthArray(value: TDate): TDate[]; | ||
getYear(value: TDate): number; | ||
@@ -72,2 +78,3 @@ setYear(value: TDate, count: number): TDate; | ||
getDateTimePickerHeaderText(date: TDate): string; | ||
getMonthText(date: TDate): string; | ||
getDayText(date: TDate): string; | ||
@@ -74,0 +81,0 @@ getHourText(date: TDate, ampm: boolean): string; |
{ | ||
"name": "@date-io/core", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Abstraction over common javascript date management libraries", | ||
@@ -33,5 +33,6 @@ "scripts": { | ||
"date-fns": "^1.29.0", | ||
"rollup": "^0.66.6" | ||
"rollup": "^0.66.6", | ||
"typescript": "^3.2.4" | ||
}, | ||
"gitHead": "85bac554cf41ec50e135e2123f1d1c6691bcaa7f" | ||
"gitHead": "db6ddb0b74fefc66aa681335c5880cdc656412b7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5119
87
4