fenextjs-date
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -20,2 +20,3 @@ export interface FenextjsDateFormatOptions extends Intl.DateTimeFormatOptions { | ||
constructor(options?: FenextjsDateConstructor<F>); | ||
setOnCallback(callback: (date: FenextjsDate<F>) => void): void; | ||
addTime(time: number): void; | ||
@@ -22,0 +23,0 @@ addMilliseconds(milliseconds: number): void; |
@@ -26,2 +26,5 @@ "use strict"; | ||
} | ||
setOnCallback(callback) { | ||
this.onCallback = callback; | ||
} | ||
addTime(time) { | ||
@@ -28,0 +31,0 @@ this.setTime(this.getTime() + time); |
{ | ||
"name": "fenextjs-date", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
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
11402
156