(timeValue int64, timeFactor int32)
| 95 | } |
| 96 | |
| 97 | func convertToTimestamp(timeValue int64, timeFactor int32) time.Time { |
| 98 | millis := getMilliSecond(timeValue, timeFactor) |
| 99 | nanos := getNanoSecond(timeValue, timeFactor) |
| 100 | return time.Unix(millis/1e3, (millis%1e3)*1e6).Add(time.Duration(nanos) * time.Nanosecond) |
| 101 | } |
| 102 | |
| 103 | func parseLongToDateWithPrecision(timestamp int64, zone *time.Location, precision string) string { |
| 104 | var divisor int64 |
no test coverage detected
searching dependent graphs…