public class Timestamp extends Object implements Serializable
Date represents a specific instant in time, with millisecond precision.| Modifier and Type | Method and Description |
|---|---|
java.time.Instant |
asInstant() |
static Timestamp |
create(long value) |
boolean |
equals(Object other) |
long |
getTime() |
int |
hashCode() |
static Timestamp |
now()
Returns a new timestamp with the current time.
|
Timestamp |
plus(long value,
TimeUnit unit) |
Binary |
toBinary() |
public java.time.Instant asInstant()
public long getTime()
public Binary toBinary()
public static Timestamp create(long value)
public static Timestamp now()
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.