public class Timestamp extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Timestamp.TimestampJsonDeserializer |
static class |
Timestamp.TimestampJsonSerializer |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another) |
static Timestamp |
fromCurrentTime() |
static Timestamp |
fromDate(Date d)
Create and return a new Timestamp from the java.util.Date instance.
|
static Timestamp |
fromMillis(long millis) |
static Timestamp |
fromObject(Object o) |
static Timestamp |
fromString(String s) |
long |
millis() |
Date |
toDate() |
String |
toString() |
public static Timestamp fromCurrentTime()
public static Timestamp fromMillis(long millis)
public static Timestamp fromDate(Date d)
d - java.util.Date instancepublic Date toDate()
public long millis()
Copyright © 2016–2021 Verizon Media. All rights reserved.