Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 830103483285477580700h (0.11 sec)

  1. src/time/time_test.go

    	{"-2562047h47m16.854775808s", -1 << 63 * Nanosecond},
    	// huge string; issue 15011.
    	{"0.100000000000000000000h", 6 * Minute},
    	// This value tests the first overflow check in leadingFraction.
    	{"0.830103483285477580700h", 49*Minute + 48*Second + 372539827*Nanosecond},
    }
    
    func TestParseDuration(t *testing.T) {
    	for _, tc := range parseDurationTests {
    		d, err := ParseDuration(tc.in)
    		if err != nil || d != tc.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)
Back to top