TimeStamp


public final class TimeStamp implements Parcelable


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

Summary

Constants

static final Parcelable.Creator<TimeStamp>

Public fields

final @NonNull Integer

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

final @NonNull Long

Represents sends of UTC time since the Unix epoch.

Public constructors

Creates a TimeStamp from android Parcel.

TimeStamp(@NonNull Long seconds, @NonNull Integer nanos)

Constructor to create a TimeStamp.

Public methods

int
static TimeStamp
now()
void
writeToParcel(Parcel parcel, int i)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Constants

CREATOR

public static final Parcelable.Creator<TimeStampCREATOR

Public fields

nanos

public final @NonNull Integer nanos

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

seconds

public final @NonNull Long seconds

Represents sends of UTC time since the Unix epoch.

Public constructors

TimeStamp

public TimeStamp(@NonNull Parcel source)

Creates a TimeStamp from android Parcel.

Parameters
@NonNull Parcel source

the android Parcel.

TimeStamp

public TimeStamp(@NonNull Long seconds, @NonNull Integer nanos)

Constructor to create a TimeStamp.

Public methods

describeContents

public int describeContents()

now

public static TimeStamp now()

writeToParcel

public void writeToParcel(Parcel parcel, int i)