TimeStamp


class TimeStamp : Parcelable


Denotes an android test error. Has details of the error including stack trace, type, and message.

Summary

Constants

const Parcelable.Creator<TimeStamp!>!

Public constructors

TimeStamp(source: Parcel)

Creates a TimeStamp from android Parcel.

TimeStamp(seconds: Long, nanos: Int)

Constructor to create a TimeStamp.

Public functions

Int
java-static TimeStamp!
now()
Unit
writeToParcel(parcel: Parcel!, i: Int)

Public properties

Int

Timestamp nanoseconds - must be non negative even if seconds is negative.

Long

Represents sends of UTC time since the Unix epoch.

Constants

CREATOR

const val CREATORParcelable.Creator<TimeStamp!>!

Public constructors

TimeStamp

TimeStamp(source: Parcel)

Creates a TimeStamp from android Parcel.

Parameters
source: Parcel

the android Parcel.

TimeStamp

TimeStamp(seconds: Long, nanos: Int)

Constructor to create a TimeStamp.

Public functions

describeContents

fun describeContents(): Int

now

java-static fun now(): TimeStamp!

writeToParcel

fun writeToParcel(parcel: Parcel!, i: Int): Unit

Public properties

nanos

val nanosInt

Timestamp nanoseconds - must be non negative even if seconds is negative.

seconds

val secondsLong

Represents sends of UTC time since the Unix epoch.