@formkit/tempo
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -423,2 +423,37 @@ /** | ||
export { type DateInput, type FilledPart, type Format, type FormatOptions, type FormatPattern, type FormatStyle, type FormatStyleObj, type FormatToken, type NamedFormatOption, type NamedFormats, type ParseOptions, type Part, addDay, addHour, addMinute, addMonth, addSecond, addYear, ap, applyOffset, date, dayEnd, dayOfYear, dayStart, format, formatStr, fourDigitYear, hourEnd, hourStart, iso8601, minuteEnd, minuteStart, monthDays, monthEnd, monthStart, nearestDay, offset, parse, parseParts, parts, range, removeOffset, sameDay, tzDate, weekEnd, weekStart, yearDays }; | ||
/** | ||
* Is the first date before the second one? | ||
* | ||
* @param inputDate - The date that should be before the other one to return true | ||
* @param dateToCompare - The date to compare with | ||
* | ||
* @returns The first date is before the second date. | ||
*/ | ||
declare function isBefore(inputDate: DateInput, dateToCompare: DateInput): boolean; | ||
/** | ||
* @name isAfter | ||
* @category Common Helpers | ||
* @summary Is the first date after the second one? | ||
* | ||
* @description | ||
* Is the first date after the second one? | ||
* | ||
* @param inputDate - The date that should be after the other one to return true | ||
* @param dateToCompare - The date to compare with | ||
* | ||
* @returns The first date is after the second date. | ||
*/ | ||
declare function isAfter(inputDate: DateInput, dateToCompare: DateInput): boolean; | ||
/** | ||
* Are the given dates equal? | ||
* | ||
* @param dateLeft - The first date to compare | ||
* @param dateRight - The second date to compare | ||
* | ||
* @returns The dates are equal. | ||
*/ | ||
declare function isEqual(dateLeft: DateInput, dateRight: DateInput): boolean; | ||
export { type DateInput, type FilledPart, type Format, type FormatOptions, type FormatPattern, type FormatStyle, type FormatStyleObj, type FormatToken, type NamedFormatOption, type NamedFormats, type ParseOptions, type Part, addDay, addHour, addMinute, addMonth, addSecond, addYear, ap, applyOffset, date, dayEnd, dayOfYear, dayStart, format, formatStr, fourDigitYear, hourEnd, hourStart, isAfter, isBefore, isEqual, iso8601, minuteEnd, minuteStart, monthDays, monthEnd, monthStart, nearestDay, offset, parse, parseParts, parts, range, removeOffset, sameDay, tzDate, weekEnd, weekStart, yearDays }; |
{ | ||
"name": "@formkit/tempo", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "The easiest way to work with dates in JavaScript and TypeScript.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
282794
2468