time.Time.Year (method)

15 uses

	time (current package)
		time.go#L481: func (t Time) Year() int {
		time.go#L1241: 	if y := t.Year(); y < 0 || y >= 10000 {
		time.go#L1270: 	if y := t.Year(); y < 0 || y >= 10000 {

	archive/zip
		struct.go#L243: 	fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)

	encoding/asn1
		asn1.go#L357: 	if ret.Year() >= 2050 {
		marshal.go#L367: 	year := t.Year()
		marshal.go#L394: 	year := t.Year()
		marshal.go#L409: 	year := t.Year()

	github.com/jackc/pgtype
		date.go#L183: 		tUnix := time.Date(src.Time.Year(), src.Time.Month(), src.Time.Day(), 0, 0, 0, 0, time.UTC).Unix()
		timestamp.go#L42: 		*dst = Timestamp{Time: time.Date(value.Year(), value.Month(), value.Day(), value.Hour(), value.Minute(), value.Second(), value.Nanosecond(), time.UTC), Status: Present}

	github.com/lib/pq
		encode.go#L482: 	if t.Year() <= 0 {
		encode.go#L484: 		t = t.AddDate((-t.Year())*2+1, 0, 0)

	net/http
		cookie.go#L293: 	return t.Year() >= 1601

	vendor/golang.org/x/crypto/cryptobyte
		asn1.go#L111: 	if t.Year() < 0 || t.Year() > 9999 {