- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ForceAusFromTZIForTesting (0.39 sec)
-
src/time/export_windows_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package time func ForceAusFromTZIForTesting() { ResetLocalOnceForTest() localOnce.Do(func() { initLocalFromTZI(&aus) }) } func ForceUSPacificFromTZIForTesting() { ResetLocalOnceForTest() localOnce.Do(func() { initLocalFromTZI(&usPacific) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 14:14:45 UTC 2017 - 514 bytes - Viewed (0) -
src/time/zoneinfo_windows_test.go
func TestUSPacificZoneAbbr(t *testing.T) { ForceUSPacificFromTZIForTesting() // reset the Once to trigger the race defer ForceUSPacificForTesting() testZoneAbbr(t) } func TestAusZoneAbbr(t *testing.T) { ForceAusFromTZIForTesting() defer ForceUSPacificForTesting() testZoneAbbr(t) } func TestToEnglishName(t *testing.T) { const want = "Central Europe Standard Time"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 07:20:34 UTC 2023 - 1.8K bytes - Viewed (0)