(v)
| 46 | } |
| 47 | |
| 48 | set seconds(v) { |
| 49 | let buf = new ArrayBuffer(4*1); |
| 50 | let bytes = new Uint8Array(buf); |
| 51 | bytes[0] = v & 0xff; |
| 52 | bytes[1] = (v & 0xff00) >> 8; |
| 53 | bytes[2] = (v & 0xff0000) >> 16; |
| 54 | bytes[3] = (v & 0xff000000) >> 24; |
| 55 | super.writeBlock(RV3028_UNIX, buf); |
| 56 | this.enabled = true; |
| 57 | return this.unixTime; |
| 58 | } |
| 59 | |
| 60 | get seconds() { |
| 61 | let curTime = this._get_seconds(); |
nothing calls this directly
no test coverage detected