Retro68/gcc/libgo/go/time/export_android_test.go

13 lines
301 B
Go
Raw Normal View History

// Copyright 2016 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
func ForceAndroidTzdataForTest(tzdata bool) {
tzdataPaths = origTzdataPaths
if tzdata {
tzdataPaths = tzdataPaths[:1]
}
}