Companion

object Companion

Functions

Link copied to clipboard
fun fromMillis(timestampInMillis: Long): SmpTimestamp

Creates a timestamp from a millisecond-based Unix epoch timestamp.

Link copied to clipboard
fun fromSeconds(timestampInSeconds: Long): SmpTimestamp

Creates a timestamp directly from a second-based Unix epoch timestamp.

Link copied to clipboard

Creates a timestamp representing the current system time.