]> Cypherpunks repositories - gostls13.git/commit
time: correct unrepresentable Unix time comment
authorShenghou Ma <minux@golang.org>
Wed, 20 May 2015 01:24:31 +0000 (21:24 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 18 Jun 2015 18:21:59 +0000 (18:21 +0000)
commit526b5017133f193b8f82912936288f1ea767ffca
treef8331ee0b12ed7a64869f3050da0f9ef7ddc7588
parent1e0760354c8a929d9d84575106ae264fa6395132
time: correct unrepresentable Unix time comment

It's easy for someone who wants a time bigger than any
valid time to reach for time.Unix(1<<63-1, 0), so it
makes sense to explicit say such value is not valid.

Fixes #10906 (again).

Change-Id: If71e32472ae40d86c30e629b982406040a73c4c7
Reviewed-on: https://go-review.googlesource.com/10266
Reviewed-by: Russ Cox <rsc@golang.org>
src/time/time.go