MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / UnixNextMinute

Method UnixNextMinute

internal/utils/fasttime/time_fast.go:72–74  ·  view source on GitHub ↗

UnixNextMinute 获取下一分钟开始的时间戳

()

Source from the content-addressed store, hash-verified

70
71// UnixNextMinute 获取下一分钟开始的时间戳
72func (this *FastTime) UnixNextMinute() int64 {
73 return this.UnixCell(60)
74}
75
76// UnixMilli 获取时间戳,精确到毫秒
77func (this *FastTime) UnixMilli() int64 {

Callers 1

TestFastTime_UnixFloorFunction · 0.80

Calls 1

UnixCellMethod · 0.95

Tested by 1

TestFastTime_UnixFloorFunction · 0.64