com.android.ddmlib.logcat
Class LogCatTimestamp
java.lang.Object
com.android.ddmlib.logcat.LogCatTimestamp
public final class LogCatTimestamp
- extends java.lang.Object
Data class for timestamp information which gets reported by logcat.
Constructor Summary |
LogCatTimestamp(int month,
int day,
int hour,
int minute,
int second,
int milli)
Construct an immutable timestamp object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZERO
public static final LogCatTimestamp ZERO
LogCatTimestamp
public LogCatTimestamp(int month,
int day,
int hour,
int minute,
int second,
int milli)
- Construct an immutable timestamp object.
fromString
public static LogCatTimestamp fromString(@NonNull
java.lang.String timeString)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
isBefore
public boolean isBefore(@NonNull
LogCatTimestamp other)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object