(time)
| 775 | } |
| 776 | |
| 777 | parseTimeData(time) { |
| 778 | const SECOND = 1000 |
| 779 | const MINUTE = 60 * SECOND |
| 780 | const HOUR = 60 * MINUTE |
| 781 | const DAY = 24 * HOUR |
| 782 | const days = Math.floor(time / DAY) |
| 783 | const hours = Math.floor((time % DAY) / HOUR) |
| 784 | const minutes = Math.floor((time % HOUR) / MINUTE) |
| 785 | const seconds = Math.floor((time % MINUTE) / SECOND) |
| 786 | const milliseconds = Math.floor(time % SECOND) |
| 787 | return { |
| 788 | days, |
| 789 | hours, |
| 790 | minutes, |
| 791 | seconds, |
| 792 | milliseconds |
| 793 | } |
| 794 | } |
| 795 | |
| 796 | parseFormat(format, timeData) { |
| 797 | let { |
nothing calls this directly
no outgoing calls
no test coverage detected