public class JSTimestamp extends Object implements IJSObject
| Constructor and Description |
|---|
JSTimestamp(Date date,
com.google.gwt.i18n.client.DateTimeFormat jsonFormat) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IJSObject other) |
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,
com.google.gwt.i18n.client.DateTimeFormat fmt) |
static JSTimestamp |
parse(String v,
com.google.gwt.i18n.client.DateTimeFormat fmt) |
String |
toString() |
public static final String TYPE
public JSTimestamp(Date date, com.google.gwt.i18n.client.DateTimeFormat jsonFormat)
public static JSTimestamp parse(String v, com.google.gwt.i18n.client.DateTimeFormat fmt)
public static JSTimestamp parse(com.google.gwt.json.client.JSONValue json, com.google.gwt.i18n.client.DateTimeFormat 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 IJSObjectCopyright © 2018. All rights reserved.