Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ANSIC (0.03 sec)

  1. src/time/format_test.go

    	// Amount of white space should not matter.
    	{"ANSIC", ANSIC, "Thu Feb 4 21:00:57 2010", false, true, 1, 0},
    	{"ANSIC", ANSIC, "Thu      Feb     4     21:00:57     2010", false, true, 1, 0},
    	// Case should not matter
    	{"ANSIC", ANSIC, "THU FEB 4 21:00:57 2010", false, true, 1, 0},
    	{"ANSIC", ANSIC, "thu feb 4 21:00:57 2010", false, true, 1, 0},
    	// Fractional seconds.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. src/time/format.go

    // creating a custom layout string.
    //
    // To define your own format, write down what the reference time would look like
    // formatted your way; see the values of constants like [ANSIC], [StampMicro] or
    // [Kitchen] for examples. The model is to demonstrate what the reference time
    // looks like so that the Format and Parse methods can apply the same
    // transformation to a general time value.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. src/time/time_test.go

    }
    
    func BenchmarkMarshalText(b *testing.B) {
    	t := Now()
    	for i := 0; i < b.N; i++ {
    		t.MarshalText()
    	}
    }
    
    func BenchmarkParse(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Parse(ANSIC, "Mon Jan  2 15:04:05 2006")
    	}
    }
    
    const testdataRFC3339UTC = "2020-08-22T11:27:43.123456789Z"
    
    func BenchmarkParseRFC3339UTC(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top