time.Time.Year (method)
11 uses
time (current package)
time.go#L510: func (t Time) Year() int {
encoding/asn1
asn1.go#L360: if ret.Year() >= 2050 {
marshal.go#L367: year := t.Year()
marshal.go#L394: year := t.Year()
marshal.go#L409: year := t.Year()
net/http
cookie.go#L326: 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 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |