smarttime/dist/smarttime.classes.timestamp.d.ts
2017-08-16 14:29:12 +02:00

23 lines
491 B
TypeScript

/**
* TimeStamp
* smart timestamp
*/
export declare class TimeStamp {
/**
* The standard JavaScript Date
*/
date: Date;
/**
* The time as linux time
* good for comparison
*/
linuxtime: number;
constructor(creatorArg?: number | TimeStamp);
/**
* Is the current instance older than the argument
* @param TimeStampArg
*/
isOlderThan(TimeStampArg: TimeStamp): boolean;
isYoungerThan(TimeStampArg: TimeStamp): boolean;
}