time.Time.Year (method)
21 uses
time (current package)
format.go#L531: buf = appendInt(buf, t.Year(), 0)
time.go#L487: func (t Time) Year() int {
time.go#L1283: if y := t.Year(); y < 0 || y >= 10000 {
time.go#L1312: if y := t.Year(); y < 0 || y >= 10000 {
crypto/x509
parser.go#L195: if t.Year() >= 2050 {
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/robfig/cron/v3
spec.go#L88: yearLimit := t.Year() + 5
spec.go#L91: if t.Year() > yearLimit {
spec.go#L102: t = time.Date(t.Year(), t.Month(), 1, 0, 0, 0, 0, loc)
spec.go#L120: t = time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, loc)
spec.go#L141: t = time.Date(t.Year(), t.Month(), t.Day(), t.Hour(), 0, 0, 0, loc)
go.pact.im/x/flaky
schedule.go#L78: midnight := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, now.Location())
net/http
cookie.go#L324: return t.Year() >= 1601
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L111: if t.Year() < 0 || t.Year() > 9999 {
asn1.go#L125: if t.Year() < 1950 || t.Year() >= 2050 {
asn1.go#L516: if res.Year() >= 2050 {