2014-04-11 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libgo / go / time / export_test.go
blob6cd535f6b197a76fdf55dd3d96c883451ae10459
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.
5 package time
7 import (
8 "sync"
11 func ResetLocalOnceForTest() {
12 localOnce = sync.Once{}
13 localLoc = Location{}
16 func ForceUSPacificForTesting() {
17 ResetLocalOnceForTest()
18 localOnce.Do(initTestingZone)
21 var (
22 ForceZipFileForTesting = forceZipFileForTesting
23 ParseTimeZone = parseTimeZone