MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / ExtractDatetimeNum

Function ExtractDatetimeNum

tidbparser/dependency/types/time.go:1383–1428  ·  view source on GitHub ↗

ExtractDatetimeNum extracts time value number from datetime unit and format.

(t *Time, unit string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

DayMethod · 0.80
WeekMethod · 0.80
GoTimeMethod · 0.80
MonthMethod · 0.80
YearMethod · 0.80
ClockMethod · 0.80
MicrosecondMethod · 0.80
ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…