@ExportedBean public final class ClockDifference extends Object
Modifier and Type | Field and Description |
---|---|
long |
diff
The difference in milliseconds.
|
static ClockDifference |
ZERO |
Constructor and Description |
---|
ClockDifference(long value) |
Modifier and Type | Method and Description |
---|---|
long |
abs()
Gets the absolute value of
diff . |
boolean |
isDangerous()
Returns true if the difference is big enough to be considered dangerous.
|
String |
toHtml() |
static String |
toHtml(ClockDifference d)
Gets the clock difference in HTML string.
|
static String |
toHtml(Node d) |
String |
toString()
Gets the clock difference in HTML string.
|
@Exported public final long diff
public static final ClockDifference ZERO
public boolean isDangerous()
public long abs()
diff
.public String toString()
public String toHtml()
public static String toHtml(ClockDifference d)
ClockDifference
.Copyright © 2004–2022. All rights reserved.