github.com/goproxy0/go@v0.0.0-20171111080102-49cc0c489d2c/src/time/export_windows_test.go (about) 1 // Copyright 2013 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package time 6 7 func ForceAusFromTZIForTesting() { 8 ResetLocalOnceForTest() 9 localOnce.Do(func() { initLocalFromTZI(&aus) }) 10 } 11 12 func ForceUSPacificFromTZIForTesting() { 13 ResetLocalOnceForTest() 14 localOnce.Do(func() { initLocalFromTZI(&usPacific) }) 15 } 16 17 func ToEnglishName(stdname, dstname string) (string, error) { 18 return toEnglishName(stdname, dstname) 19 }