Lines Matching full:weekday
112 // A Weekday specifies a day of the week (Sunday = 0, ...).
113 type Weekday int
116 Sunday Weekday = iota
136 func (d Weekday) String() string { return days[d] }
313 // Weekday returns the day of the week specified by t.
314 func (t Time) Weekday() Weekday {
318 // absWeekday is like Weekday but operates on an absolute time.
319 func absWeekday(abs uint64) Weekday {
322 return Weekday(int(sec) / secondsPerDay)
331 wday := int(t.Weekday()+6) % 7 // weekday but Monday = 0.