Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTimeIsDST (0.3 sec)

  1. src/time/time_test.go

    			for j := 0; j < tries; j++ {
    				timer.Reset(Hour + Duration(i*j))
    			}
    		}(i)
    		go func(i int) {
    			defer wg.Done()
    			timer.Stop()
    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestTimeIsDST(t *testing.T) {
    	undo := DisablePlatformSources()
    	defer undo()
    
    	tzWithDST, err := LoadLocation("Australia/Sydney")
    	if err != nil {
    		t.Fatalf("could not load tz 'Australia/Sydney': %v", err)
    	}
    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