Day 5bits
()
| 18 | |
| 19 | // Day 5bits |
| 20 | func (t *Timer) Day() (d int) { |
| 21 | d = int((t.En1Month4Day5Week3Hour5Min6 & 0x07c000) >> 14) |
| 22 | if d == 0b11111 { |
| 23 | d = -1 |
| 24 | } |
| 25 | return |
| 26 | } |
| 27 | |
| 28 | // Week 3bits |
| 29 | func (t *Timer) Week() (w time.Weekday) { |
no outgoing calls
no test coverage detected