summaryrefslogtreecommitdiff
path: root/libgo/go/time/export_android_test.go
blob: fa6a058a73be264775b824237223a00777a57d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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]
	}
}