Timestamp
Parameters
seconds since the Unix epoch, between -62135596800 and 253402300799 inclusive
fraction of a second in nanoseconds, between 0 and 999999999 inclusive
Deprecated (with error)
the java.util.Date and java.time.Instant constructors are JVM-only; use Timestamp(instant) with a kotlin.time.Instant, or Timestamp(seconds, nanoseconds)
Android/JVM only: the Timestamp(Date) and Timestamp(Instant) constructors; use Timestamp(kotlin.time.Instant) from common code.
Parameters
seconds since the Unix epoch, between -62135596800 and 253402300799 inclusive
fraction of a second in nanoseconds, between 0 and 999999999 inclusive
Deprecated (with error)
the java.util.Date and java.time.Instant constructors are JVM-only; use Timestamp(instant) with a kotlin.time.Instant, or Timestamp(seconds, nanoseconds)
Android/JVM only: the Timestamp(Date) and Timestamp(Instant) constructors; use Timestamp(kotlin.time.Instant) from common code.
Parameters
seconds since the Unix epoch, between -62135596800 and 253402300799 inclusive
fraction of a second in nanoseconds, between 0 and 999999999 inclusive
Deprecated (with error)
the java.util.Date and java.time.Instant constructors are JVM-only; use Timestamp(instant) with a kotlin.time.Instant, or Timestamp(seconds, nanoseconds)
Android/JVM only: the Timestamp(Date) and Timestamp(Instant) constructors; use Timestamp(kotlin.time.Instant) from common code.