Week 3bits
()
| 27 | |
| 28 | // Week 3bits |
| 29 | func (t *Timer) Week() (w time.Weekday) { |
| 30 | w = time.Weekday((t.En1Month4Day5Week3Hour5Min6 & 0x003800) >> 11) |
| 31 | if w == 0b111 { |
| 32 | w = -1 |
| 33 | } |
| 34 | return |
| 35 | } |
| 36 | |
| 37 | // Hour 5bits |
| 38 | func (t *Timer) Hour() (h int) { |
no outgoing calls
no test coverage detected