2013-06-06 00:30:25 -06:00
|
|
|
// 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
|
|
|
|
|
2017-09-18 11:22:29 -06:00
|
|
|
func ForceAusFromTZIForTesting() {
|
2013-06-06 00:30:25 -06:00
|
|
|
ResetLocalOnceForTest()
|
2017-09-18 11:22:29 -06:00
|
|
|
localOnce.Do(func() { initLocalFromTZI(&aus) })
|
|
|
|
}
|
|
|
|
|
|
|
|
func ForceUSPacificFromTZIForTesting() {
|
|
|
|
ResetLocalOnceForTest()
|
|
|
|
localOnce.Do(func() { initLocalFromTZI(&usPacific) })
|
2013-06-06 00:30:25 -06:00
|
|
|
}
|
2015-05-12 00:19:00 -06:00
|
|
|
|
|
|
|
func ToEnglishName(stdname, dstname string) (string, error) {
|
|
|
|
return toEnglishName(stdname, dstname)
|
|
|
|
}
|