func (t *Timestamp) SetTimestamp(b interfaces.Timestamp) { if b == nil { t.SetTimeMilli(0) } t.SetTimeMilli(b.GetTimeMilli()) }
func (e *DirBlockInfo) SetTimestamp(timestamp interfaces.Timestamp) { e.Timestamp = timestamp.GetTimeMilli() }