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