MCPcopy Create free account
hub / github.com/brimdata/super / AsTime

Method AsTime

value.go:423–428  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

421}
422
423func (v *Value) AsTime() nano.Ts {
424 if v != nil && TypeUnder(v.Type()) == TypeTime {
425 return DecodeTime(v.Bytes())
426 }
427 return 0
428}
429
430func (v *Value) MissingAsNull() Value {
431 if v.IsMissing() {

Callers 4

CallMethod · 0.80
CallMethod · 0.80
TestReaderCRLFFunction · 0.80
TestLegacyZeekValidFunction · 0.80

Calls 4

TypeMethod · 0.95
BytesMethod · 0.95
TypeUnderFunction · 0.85
DecodeTimeFunction · 0.85

Tested by 2

TestReaderCRLFFunction · 0.64
TestLegacyZeekValidFunction · 0.64