()
| 21 | } |
| 22 | |
| 23 | getCurrentTime() { |
| 24 | const time = new Date(); |
| 25 | return `${this.checkDateFormat(time.getHours())}:${this.checkDateFormat(time.getMinutes())}:${this.checkDateFormat(time.getSeconds())}`; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | module.exports = TimeFormat; |
no test coverage detected