1
0
mirror of https://github.com/golang/go synced 2024-10-04 03:21:22 -06:00
go/src/pkg/time
Adam Langley 4ca6e588e4 time: handle int64 overflow in ParseDuration.
Previously, passing a long duration to ParseDuration could result in
random, even negative, values.

LGTM=r
R=golang-codereviews, bradfitz, r
CC=golang-codereviews
https://golang.org/cl/72120043
2014-03-10 12:33:45 -04:00
..
example_test.go time: improve the explanation of the working of Format and Parse 2013-04-22 11:36:17 -07:00
export_test.go time: correct path to time zone zip file on Unix 2013-10-29 17:11:51 -04:00
export_windows_test.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
format_test.go time: break parse and formatting tests into a separate source file 2014-01-16 14:30:01 -08:00
format.go time: handle int64 overflow in ParseDuration. 2014-03-10 12:33:45 -04:00
genzabbrs.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
internal_test.go runtime: use monotonic clock for timers (linux/386, linux/amd64) 2014-02-24 10:57:46 -05:00
Makefile time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
sleep_test.go time: use RunParallel in benchmarks 2014-02-24 20:47:17 +04:00
sleep.go runtime: use monotonic clock for timers (linux/386, linux/amd64) 2014-02-24 10:57:46 -05:00
sys_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
sys_unix.go all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
sys_windows.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
tick_test.go time: add tests for Tick, NewTicker with negative duration 2014-01-06 10:32:07 -08:00
tick.go runtime: use monotonic clock for timers (linux/386, linux/amd64) 2014-02-24 10:57:46 -05:00
time_test.go time: handle int64 overflow in ParseDuration. 2014-03-10 12:33:45 -04:00
time.go time: make Time implement encoding interfaces 2013-08-14 00:34:00 -04:00
zoneinfo_abbrs_windows.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
zoneinfo_plan9.go time: use names for beginning and end of zone transition times 2014-01-31 17:22:10 -08:00
zoneinfo_read.go time: use names for beginning and end of zone transition times 2014-01-31 17:22:10 -08:00
zoneinfo_test.go time: correctly handle timezone before first transition time 2014-01-31 14:40:13 -08:00
zoneinfo_unix.go all: merge NaCl branch (part 1) 2014-02-25 09:47:42 -05:00
zoneinfo_windows_test.go time: provide timezone abbreviations on windows 2013-06-06 16:30:25 +10:00
zoneinfo_windows.go time: use names for beginning and end of zone transition times 2014-01-31 17:22:10 -08:00
zoneinfo.go time: use names for beginning and end of zone transition times 2014-01-31 17:22:10 -08:00