Preparing backend integration
This commit is contained in:
12
front/src/models/TimeStamp.ts
Normal file
12
front/src/models/TimeStamp.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export class TimeStamp {
|
||||
|
||||
private readonly value : number;
|
||||
|
||||
public constructor(date : Date) {
|
||||
this.value = date.getTime();
|
||||
}
|
||||
|
||||
public getValue() : number{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user