(timeValue int64, timeFactor int32)
| 91 | } |
| 92 | |
| 93 | func getNanoSecond(timeValue int64, timeFactor int32) int { |
| 94 | return int((timeValue % int64(timeFactor)) * (1_000_000_000 / int64(timeFactor))) |
| 95 | } |
| 96 | |
| 97 | func convertToTimestamp(timeValue int64, timeFactor int32) time.Time { |
| 98 | millis := getMilliSecond(timeValue, timeFactor) |
no outgoing calls
no test coverage detected
searching dependent graphs…