com.hubspot.chrome.devtools.client.core.network.MonotonicTime Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Monotonically increasing time in seconds since an arbitrary point in the past.
*/
public class MonotonicTime {
private Number value;
@JsonCreator
public MonotonicTime(Number value) {
this.value = value;
}
@JsonValue
public Number getValue() {
return value;
}
@Override
public String toString() {
return getValue().toString();
}
}