time.Time.Year (method)
17 uses
time (current package)
time.go#L813: func (t Time) Year() int {
encoding/asn1
asn1.go#L352: if ret.Year() >= 2050 {
marshal.go#L364: year := t.Year()
marshal.go#L391: year := t.Year()
marshal.go#L406: 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#L77: midnight := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, now.Location())
net/http
cookie.go#L382: 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#L538: if res.Year() >= 2050 {