Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for thursday (0.28 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        // RFC 850, obsoleted by RFC 1036 with any TZ.
        assertThat("Thursday, 01-Jan-1970 00:00:00 GMT-01:00".toHttpDateOrNull()!!.time)
          .isEqualTo(3600000L)
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/time/format_test.go

    	name, offset := time.Zone()
    	if test.hasTZ && offset != -28800 {
    		t.Errorf("%s: bad tz offset: %s %d not %d", test.name, name, offset, -28800)
    	}
    	if test.hasWD && time.Weekday() != Thursday {
    		t.Errorf("%s: bad weekday: %s not %s", test.name, time.Weekday(), Thursday)
    	}
    }
    
    func TestFormatAndParse(t *testing.T) {
    	const fmt = "Mon MST " + RFC3339 // all fields
    	f := func(sec int64) bool {
    		t1 := Unix(sec/2, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/time/format.go

    					return layout[0:i], std, layout[j:]
    				}
    			}
    		}
    	}
    	return layout, 0, ""
    }
    
    var longDayNames = []string{
    	"Sunday",
    	"Monday",
    	"Tuesday",
    	"Wednesday",
    	"Thursday",
    	"Friday",
    	"Saturday",
    }
    
    var shortDayNames = []string{
    	"Sun",
    	"Mon",
    	"Tue",
    	"Wed",
    	"Thu",
    	"Fri",
    	"Sat",
    }
    
    var shortMonthNames = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    Together with the <a href="#Iota"><code>iota</code> constant generator</a>
    this mechanism permits light-weight declaration of sequential values:
    </p>
    
    <pre>
    const (
    	Sunday = iota
    	Monday
    	Tuesday
    	Wednesday
    	Thursday
    	Friday
    	Partyday
    	numberOfDays  // this constant is not exported
    )
    </pre>
    
    
    <h3 id="Iota">Iota</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/utils.go

    		mostRecentTime = t
    	}
    
    	// An object might miss several starts. For example, if
    	// controller gets wedged on friday at 5:01pm when everyone has
    	// gone home, and someone comes in on tuesday AM and discovers
    	// the problem and restarts the controller, then all the hourly
    	// jobs, more than 80 of them for one hourly cronJob, should
    	// all start running with no further intervention (if the cronJob
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. doc/go_spec.html

    Together with the <a href="#Iota"><code>iota</code> constant generator</a>
    this mechanism permits light-weight declaration of sequential values:
    </p>
    
    <pre>
    const (
    	Sunday = iota
    	Monday
    	Tuesday
    	Wednesday
    	Thursday
    	Friday
    	Partyday
    	numberOfDays  // this constant is not exported
    )
    </pre>
    
    
    <h3 id="Iota">Iota</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"StampMilli", Const, 0},
    		{"StampNano", Const, 0},
    		{"Sunday", Const, 0},
    		{"Thursday", Const, 0},
    		{"Tick", Func, 0},
    		{"Ticker", Type, 0},
    		{"Ticker.C", Field, 0},
    		{"Time", Type, 0},
    		{"TimeOnly", Const, 20},
    		{"Timer", Type, 0},
    		{"Timer.C", Field, 0},
    		{"Tuesday", Const, 0},
    		{"UTC", Var, 0},
    		{"Unix", Func, 0},
    		{"UnixDate", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. src/internal/trace/traceviewer/static/trace_viewer_full.html

    )+t)},function(n){return n.getDate()-1}),tc.days=tc.day.range,tc.days.utc=tc.day.utc.range,tc.dayOfYear=function(n){var t=tc.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=tc[n]=Rt(function(n){return(n=tc.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=tc.year(n).getDay();return...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top