fix(core): update and change scope

This commit is contained in:
2018-06-10 14:00:18 +02:00
parent 69fee8f8a2
commit 874349ba32
21 changed files with 493 additions and 648 deletions

View File

@ -0,0 +1 @@
import * as plugins from './smarttime.plugins';

View File

@ -74,7 +74,7 @@ export class TimeStamp {
}
public isYoungerThanMilliSeconds(millisecondArg: number) {
const nowTimeStamp = new TimeStamp()
const nowTimeStamp = new TimeStamp();
const compareEpochTime = nowTimeStamp.epochtime - millisecondArg;
const compareTimeStamp = new TimeStamp(compareEpochTime);
return this.isYoungerThanOtherTimeStamp(compareTimeStamp);