public final class BigDatetime
extends java.lang.Object
Schema.DataType.BIGDATETIME| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
asTimestamp()
This function returns a Date object with the same precision as the Schema.DataType.TIMESTAMP
data type, i.e.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
long |
microseconds()
Returns the underlying long value, i.e.
|
java.lang.String |
toString() |
static BigDatetime |
valueOf(java.util.Date date) |
static BigDatetime |
valueOf(long microSeconds) |
static BigDatetime |
valueOf(java.lang.String stringValue)
Parses a string representing a big date time in the standard ESP format which
is "yyyy-MM-ddTHH:mm:ss.UUUUUU" where the letter 'U' stands for microseconds.
|
public static BigDatetime valueOf(long microSeconds)
public static BigDatetime valueOf(java.util.Date date)
public static BigDatetime valueOf(java.lang.String stringValue) throws java.text.ParseException
stringValue - java.text.ParseExceptionpublic long microseconds()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.util.Date asTimestamp()