Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for thursday (0.16 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/go/printer/testdata/declarations.input

    func _() {
    	type day struct { n int; short, long string }
    	var (
    		Sunday = day{ 0, "SUN", "Sunday" }
    		Monday = day{ 1, "MON", "Monday" }
    		Tuesday = day{ 2, "TUE", "Tuesday" }
    		Wednesday = day{ 3, "WED", "Wednesday" }
    		Thursday = day{ 4, "THU", "Thursday" }
    		Friday = day{ 5, "FRI", "Friday" }
    		Saturday = day{ 6, "SAT", "Saturday" }
    	)
    }
    
    
    // formatting of multi-line variable declarations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  4. src/go/printer/testdata/declarations.golden

    func _() {
    	type day struct {
    		n		int
    		short, long	string
    	}
    	var (
    		Sunday		= day{0, "SUN", "Sunday"}
    		Monday		= day{1, "MON", "Monday"}
    		Tuesday		= day{2, "TUE", "Tuesday"}
    		Wednesday	= day{3, "WED", "Wednesday"}
    		Thursday	= day{4, "THU", "Thursday"}
    		Friday		= day{5, "FRI", "Friday"}
    		Saturday	= day{6, "SAT", "Saturday"}
    	)
    }
    
    // formatting of multi-line variable declarations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/time.gox

    const StampMilli = "Jan _2 15:04:05.000";
    const StampNano = "Jan _2 15:04:05.000000000";
    const Sunday <type 19> = 0 ;
    const Thursday <type 19> = 4 ;
    func Tick (d <type 1>) <type 54 chan <- <type 3>>;
    type <type 46>;
    type <type 3>;
    type <type 33>;
    const Tuesday <type 19> = 2 ;
    var UTC <type 15>;
    func Unix (sec <type -4>, nsec <type -4>) <type 3>;
    const UnixDate = "Mon Jan _2 15:04:05 MST 2006";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top