Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 15 lines 263 B view raw
1export class TestDateProvider { 2 private date: Date; 3 4 constructor() { 5 this.date = new Date(); 6 } 7 8 public getDate(): Date { 9 return this.date; 10 } 11 12 public advanceTimeByMs(ms: number): void { 13 this.date = new Date(this.date.getTime() + ms); 14 } 15}