Home | History | Annotate | Download | only in time

Lines Matching full:weekday

302 // A Weekday specifies a day of the week (Sunday = 0, ...).
303 type Weekday int
306 Sunday Weekday = iota
326 func (d Weekday) String() string { return days[d] }
503 // Weekday returns the day of the week specified by t.
504 func (t Time) Weekday() Weekday {
508 // absWeekday is like Weekday but operates on an absolute time.
509 func absWeekday(abs uint64) Weekday {
512 return Weekday(int(sec) / secondsPerDay)
521 wday := int(t.Weekday()+6) % 7 // weekday but Monday = 0.