package Ġcom . be eper . sms . commands Ċ Ċ import Ġjava . math . BigDecimal Ċ Ċ class ĠTime Millis ( timestamp : ĠBigDecimal ): ĠTimestamp ( timestamp ) Ġ{ ĊĠĠĠ Ġfun Ġto Seconds (): ĠTime Seconds Ġ= ĠTime Seconds ( timestamp . to Seconds ()) ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġfun ĠBigDecimal . to Seconds (): ĠBigDecimal Ġ= Ġdivide ( 1 0 0 0 . to BigDecimal ()) ĊĊĠĠĠĠĠĠĠ Ġfun ĠLong . to Millis () Ġ= ĠTime Millis ( this . to BigDecimal ()) ĊĠĠĠ Ġ} Ċ }