(_showSeconds)
| 826 | }, |
| 827 | |
| 828 | getCurrentTime(_showSeconds) { |
| 829 | if (_showSeconds == undefined) { |
| 830 | _showSeconds = false; |
| 831 | } |
| 832 | const NOW = new Date(); |
| 833 | let time = this.pad2(NOW.getHours()) + ":" + this.pad2(NOW.getMinutes()); |
| 834 | if (_showSeconds) { |
| 835 | time += ":" + this.pad2(NOW.getSeconds()); |
| 836 | } |
| 837 | return time; |
| 838 | }, |
| 839 | |
| 840 | writeTime(_x, _y, _showSeconds) { |
| 841 | if (_showSeconds == undefined) { |
nothing calls this directly
no outgoing calls
no test coverage detected