MCPcopy
hub / github.com/FloatTech/ZeroBot-Plugin / Week

Method Week

plugin/manager/timer/wrap.go:29–35  ·  view source on GitHub ↗

Week 3bits

()

Source from the content-addressed store, hash-verified

27
28// Week 3bits
29func (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
38func (t *Timer) Hour() (h int) {

Callers 3

nextWakeTimeMethod · 0.95
GetTimerInfoMethod · 0.95
RegisterTimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected