...

Source file src/time/export_windows_test.go

Documentation: time

     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  }
    20  

View as plain text