MCPcopy Create free account
hub / github.com/zalando/skipper / parseRFCnz

Function parseRFCnz

predicates/interval/interval.go:132–141  ·  view source on GitHub ↗
(arg interface{}, t *time.Time, loc *time.Location)

Source from the content-addressed store, hash-verified

130}
131
132func parseRFCnz(arg interface{}, t *time.Time, loc *time.Location) bool {
133 if s, ok := arg.(string); ok {
134 tt, err := time.ParseInLocation(rfc3339nz, s, loc)
135 if err == nil {
136 *t = tt
137 return true
138 }
139 }
140 return false
141}
142
143func parseLocation(arg interface{}, loc **time.Location) bool {
144 if s, ok := arg.(string); ok {

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…