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

Function getNanoSecond

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

Source from the content-addressed store, hash-verified

91}
92
93func getNanoSecond(timeValue int64, timeFactor int32) int {
94 return int((timeValue % int64(timeFactor)) * (1_000_000_000 / int64(timeFactor)))
95}
96
97func convertToTimestamp(timeValue int64, timeFactor int32) time.Time {
98 millis := getMilliSecond(timeValue, 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…