Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 854775808s (0.1 sec)

  1. src/time/time_test.go

    	{"4m5s", 4*Minute + 5*Second},
    	{"4m5.001s", 4*Minute + 5001*Millisecond},
    	{"5h6m7.001s", 5*Hour + 6*Minute + 7001*Millisecond},
    	{"8m0.000000001s", 8*Minute + 1*Nanosecond},
    	{"2562047h47m16.854775807s", 1<<63 - 1},
    	{"-2562047h47m16.854775808s", -1 << 63},
    }
    
    func TestDurationString(t *testing.T) {
    	for _, tt := range durationTests {
    		if str := tt.d.String(); str != tt.str {
    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