MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Time

Method Time

server/world/level/level.go:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39type UnixMilliTimestamp int64
40
41func (stamp UnixMilliTimestamp) Time() time.Time {
42 return time.UnixMilli(int64(stamp))
43}
44
45func Now() UnixMilliTimestamp {
46 return UnixMilliTimestamp(time.Now().UnixMilli())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected