- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for thursday (0.23 sec)
-
src/time/time.go
// the offset to Thursday abs := t.abs() d := Thursday - absWeekday(abs) // handle Sunday if d == 4 { d = -3 } // find the Thursday of the calendar week abs += uint64(d) * secondsPerDay year, _, _, yday := absDate(abs, false) return year, yday/7 + 1 } // Clock returns the hour, minute, and second within the day specified by t.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/time/time_test.go
t.Errorf("zero month = %q; want %q", got, want) } } // Issue 24692: Out of range weekday panics func TestWeekdayString(t *testing.T) { if got, want := Tuesday.String(), "Tuesday"; got != want { t.Errorf("Tuesday weekday = %q; want %q", got, want) } if got, want := Weekday(14).String(), "%!Weekday(14)"; got != want { t.Errorf("14th weekday = %q; want %q", got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/time/format.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0)