MCPcopy Index your code
hub / github.com/araddon/dateparse / parse

Method parse

parseany.go:2155–2173  ·  view source on GitHub ↗

func (p *parser) remove(i, length int) { if len(p.format) > i+length { //append(a[:i], a[j:]...) p.format = append(p.format[0:i], p.format[i+length:]...) } if len(p.datestr) > i+length { //append(a[:i], a[j:]...) p.datestr = fmt.Sprintf("%s%s", p.datestr[0:i], p.datestr[i+length:]) } }

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

ParseAnyFunction · 0.80
ParseInFunction · 0.80
ParseLocalFunction · 0.80
MustParseFunction · 0.80
ParseFormatFunction · 0.80
ParseStrictFunction · 0.80
parseTimeFunction · 0.80

Calls 1

setFullMonthMethod · 0.95

Tested by

no test coverage detected