UnixFloor 取整
(seconds int)
| 60 | |
| 61 | // UnixFloor 取整 |
| 62 | func (this *FastTime) UnixFloor(seconds int) int64 { |
| 63 | return this.unixTime / int64(seconds) * int64(seconds) |
| 64 | } |
| 65 | |
| 66 | // UnixCell 取整并加1 |
| 67 | func (this *FastTime) UnixCell(seconds int) int64 { |
no outgoing calls