type time.Location
31 uses
time (current package)
format.go#L1022: func ParseInLocation(layout, value string, loc *Location) (Time, error) {
format.go#L1032: func parse(layout, value string, defaultLocation, local *Location) (Time, error) {
format.go#L1048: z *Location
format_rfc3339.go#L82: func parseRFC3339[bytes []byte | string](s bytes, local *Location) (Time, bool) {
time.go#L149: loc *Location
time.go#L206: func (t *Time) setLoc(loc *Location) {
time.go#L1144: func (t Time) In(loc *Location) Time {
time.go#L1153: func (t Time) Location() *Location {
time.go#L1467: func Date(year int, month Month, day, hour, min, sec, nsec int, loc *Location) Time {
zoneinfo.go#L19: type Location struct {
zoneinfo.go#L67: var UTC *Location = &utcLoc
zoneinfo.go#L72: var utcLoc = Location{name: "UTC"}
zoneinfo.go#L80: var Local *Location = &localLoc
zoneinfo.go#L84: var localLoc Location
zoneinfo.go#L87: func (l *Location) get() *Location {
zoneinfo.go#L99: func (l *Location) String() string {
zoneinfo.go#L103: var unnamedFixedZones []*Location
zoneinfo.go#L108: func FixedZone(name string, offset int) *Location {
zoneinfo.go#L116: unnamedFixedZones = make([]*Location, hoursBeforeUTC+1+hoursAfterUTC)
zoneinfo.go#L126: func fixedZone(name string, offset int) *Location {
zoneinfo.go#L127: l := &Location{
zoneinfo.go#L145: func (l *Location) lookup(sec int64) (name string, offset int, start, end int64, isDST bool) {
zoneinfo.go#L229: func (l *Location) lookupFirstZone() int {
zoneinfo.go#L257: func (l *Location) firstZoneUsed() bool {
zoneinfo.go#L608: func (l *Location) lookupName(name string, unix int64) (offset int, ok bool) {
zoneinfo.go#L662: func LoadLocation(name string) (*Location, error) {
zoneinfo_read.go#L116: func LoadLocationFromTZData(name string, data []byte) (*Location, error) {
zoneinfo_read.go#L317: l := &Location{zone: zones, tx: tx, name: name, extend: extend}
zoneinfo_read.go#L529: func loadLocation(name string, sources []string) (z *Location, firstErr error) {
go.uber.org/zap/zapcore
field.go#L152: enc.AddTime(f.Key, time.Unix(0, f.Integer).In(f.Interface.(*time.Location)))
|
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. |