export class TimeManager { private static instance : TimeManager = null ; public static getInstance ( ) { if ( this . instance == null ) { this . instance = new TimeManager ( ) ; } return this . instance ; } constructor ( ) { } getCurrentTime ( ) { let timeDate = new Date ( ) ; return timeDate . getTime ( ) ; } }