UnixCell 取整并加1
(seconds int)
| 65 | |
| 66 | // UnixCell 取整并加1 |
| 67 | func (this *FastTime) UnixCell(seconds int) int64 { |
| 68 | return this.unixTime/int64(seconds)*int64(seconds) + int64(seconds) |
| 69 | } |
| 70 | |
| 71 | // UnixNextMinute 获取下一分钟开始的时间戳 |
| 72 | func (this *FastTime) UnixNextMinute() int64 { |
no outgoing calls