blob: cc9d6dd321cf853fa4980c4db92cbff9b723eb45 [file] [log] [blame]
Alex Brainman07ea2432013-06-06 16:30:25 +10001// 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
5package time
6
Florian Uekermann7340d132017-09-18 19:22:29 +02007func ForceAusFromTZIForTesting() {
Alex Brainman07ea2432013-06-06 16:30:25 +10008 ResetLocalOnceForTest()
Florian Uekermann7340d132017-09-18 19:22:29 +02009 localOnce.Do(func() { initLocalFromTZI(&aus) })
10}
11
12func ForceUSPacificFromTZIForTesting() {
13 ResetLocalOnceForTest()
14 localOnce.Do(func() { initLocalFromTZI(&usPacific) })
Alex Brainman07ea2432013-06-06 16:30:25 +100015}
Patrick Mezard51021cc2015-05-12 08:19:00 +020016
17func ToEnglishName(stdname, dstname string) (string, error) {
18 return toEnglishName(stdname, dstname)
19}