public class JSTimestamp extends Object implements IJSObject
| Constructor and Description |
|---|
JSTimestamp(Date date,
String jsonFormat) |
JSTimestamp(long timeMills,
String jsonFormat) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IJSObject other) |
String |
getDisplayValue() |
com.google.gwt.json.client.JSONValue |
getJSONValue() |
String |
getType() |
Date |
getValue() |
boolean |
isEquals(IJSObject other) |
static JSTimestamp |
parse(com.google.gwt.json.client.JSONValue json,
String fmt) |
static JSTimestamp |
parse(String v,
String fmt) |
String |
toString() |
public static final String TYPE
public JSTimestamp(long timeMills,
String jsonFormat)
public static JSTimestamp parse(String v, String fmt)
public static JSTimestamp parse(com.google.gwt.json.client.JSONValue json, String fmt)
public int compareTo(IJSObject other)
compareTo in interface Comparable<IJSObject>public Date getValue()
public com.google.gwt.json.client.JSONValue getJSONValue()
getJSONValue in interface IJSObjectpublic String getDisplayValue()
getDisplayValue in interface IJSObjectCopyright © 2018. All rights reserved.