MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / getMilliSecond

Function getMilliSecond

client/utils.go:89–91  ·  view source on GitHub ↗
(timeValue int64, timeFactor int32)

Source from the content-addressed store, hash-verified

87}
88
89func getMilliSecond(timeValue int64, timeFactor int32) int64 {
90 return (timeValue / int64(timeFactor)) * 1_000
91}
92
93func getNanoSecond(timeValue int64, timeFactor int32) int {
94 return int((timeValue % int64(timeFactor)) * (1_000_000_000 / int64(timeFactor)))

Callers 1

convertToTimestampFunction · 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…