go/src/time
Joe Tsai b78108d5dc time: document in UnixNano when the value is valid
It is unlikely that the value of UnixNano overflow in most
use cases. However, the max date of 2262 is also within the range
where it may be of concern to some users. Rather than have each
person recompute when this overflows to validate if its okay for
their use case, we just document it as within the years 1678 and
2262, for user's convenience.

Fixes #16977

Change-Id: I4988738c147f4a6d30f8b8735c3941b75113bb16
Reviewed-on: https://go-review.googlesource.com/28478
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-09-14 21:07:35 +00:00
..
example_test.go time: improve Truncate and Round documentation 2016-09-12 22:07:17 +00:00
export_android_test.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
export_test.go
export_windows_test.go time: fix registry zone info lookup on Windows 2015-05-12 14:28:40 +00:00
format.go time: fix optional fractional seconds range err 2016-08-23 15:58:08 +00:00
format_test.go time: fix optional fractional seconds range err 2016-08-23 15:58:08 +00:00
genzabbrs.go time: genzabbrs.go skips Feb when checking months 2016-06-09 15:31:08 +00:00
internal_test.go
sleep.go time: warn about correct use of a Timer's Stop/Reset methods 2016-06-06 21:15:35 +00:00
sleep_test.go time: deflake TestAfterQueuing 2015-05-06 19:26:27 +00:00
sys_plan9.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
sys_unix.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
sys_windows.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
tick.go all: single space after period. 2016-03-02 00:13:47 +00:00
tick_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
time.go time: document in UnixNano when the value is valid 2016-09-14 21:07:35 +00:00
time_test.go all: fix "result not used" vet warnings 2016-08-16 14:15:10 +00:00
zoneinfo.go time: always use $GOROOT/lib/time/zoneinfo.zip with genzabbrs.go 2016-08-28 02:51:07 +00:00
zoneinfo_abbrs_windows.go time: always use $GOROOT/lib/time/zoneinfo.zip with genzabbrs.go 2016-08-28 02:51:07 +00:00
zoneinfo_android.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
zoneinfo_android_test.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
zoneinfo_ios.go
zoneinfo_plan9.go
zoneinfo_read.go time: don't depend on the io package 2016-05-09 20:31:47 +00:00
zoneinfo_test.go time: set Local.name on windows 2016-05-14 17:30:16 +00:00
zoneinfo_unix.go time: load time zones from the system tzdata file on Android 2016-08-23 06:15:35 +00:00
zoneinfo_windows.go time: always use $GOROOT/lib/time/zoneinfo.zip with genzabbrs.go 2016-08-28 02:51:07 +00:00
zoneinfo_windows_test.go time: handle localized time zone names 2015-08-26 04:40:59 +00:00