package Ġy an dex . cloud . toolkit . util Ċ Ċ import Ġcom . google . protobuf . Timestamp Ċ import Ġjava . time . Instant Ċ import Ġjava . util .* Ċ Ċ fun ĠTimestamp . as Instant (): ĠInstant Ġ= ĠInstant . of Epoch Second ( seconds , Ġnan os . to Long ()) Ċ fun ĠTimestamp . as Date (): ĠDate Ġ= ĠDate . from ( as Instant ())