MCPcopy Index your code
hub / github.com/FloatTech/ZeroBot-Plugin / SetWeek

Method SetWeek

plugin/manager/timer/wrap.go:75–77  ·  view source on GitHub ↗

SetWeek ...

(w time.Weekday)

Source from the content-addressed store, hash-verified

73
74// SetWeek ...
75func (t *Timer) SetWeek(w time.Weekday) {
76 t.En1Month4Day5Week3Hour5Min6 = ((int32(w) << 11) & 0x003800) | (t.En1Month4Day5Week3Hour5Min6 & 0xffc7ff)
77}
78
79// SetHour ...
80func (t *Timer) SetHour(h int) {

Callers 2

TestNextWakeTimeFunction · 0.95
GetFilledTimerFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNextWakeTimeFunction · 0.76