fromSeconds

fun fromSeconds(timestampInSeconds: Long): SmpTimestamp

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

Return

A new SmpTimestamp instance.

Parameters

timestampInSeconds

The timestamp in seconds.