libgo: Update Go library to master revision 15489/921e53d4863c.

From-SVN: r195560
This commit is contained in:
Ian Lance Taylor 2013-01-29 20:52:43 +00:00
parent 91bfca5909
commit d6f2922e91
290 changed files with 61242 additions and 49576 deletions

View file

@ -9,7 +9,7 @@ import "errors"
// These are predefined layouts for use in Time.Format.
// The standard time used in the layouts is:
// Mon Jan 2 15:04:05 MST 2006
// which is Unix time 1136243045. Since MST is GMT-0700,
// which is Unix time 1136239445. Since MST is GMT-0700,
// the standard time can be thought of as
// 01/02 03:04:05PM '06 -0700
// To define your own format, write down what the standard time would look
@ -637,7 +637,8 @@ func skip(value, prefix string) (string, error) {
//
// Elements omitted from the value are assumed to be zero or, when
// zero is impossible, one, so parsing "3:04pm" returns the time
// corresponding to Jan 1, year 0, 15:04:00 UTC.
// corresponding to Jan 1, year 0, 15:04:00 UTC (note that because the year is
// 0, this time is before the zero Time).
// Years must be in the range 0000..9999. The day of the week is checked
// for syntax but it is otherwise ignored.
func Parse(layout, value string) (Time, error) {