TimeFromUnixNano returns the Time equivalent to the Unix Time t provided in nanoseconds.
(t int64)
| 63 | // TimeFromUnixNano returns the Time equivalent to the Unix Time |
| 64 | // t provided in nanoseconds. |
| 65 | func TimeFromUnixNano(t int64) Time { |
| 66 | return Time(t / nanosPerTick) |
| 67 | } |
| 68 | |
| 69 | // Equal reports whether two Times represent the same instant. |
| 70 | func (t Time) Equal(o Time) bool { |
searching dependent graphs…