public class JSDate extends Object implements IJSObject, INativeObject<Date>
| Constructor and Description |
|---|
JSDate(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 JSDate |
parse(com.google.gwt.json.client.JSONValue json,
com.google.gwt.i18n.client.DateTimeFormat fmt) |
static JSDate |
parse(String v,
com.google.gwt.i18n.client.DateTimeFormat fmt) |
String |
toString() |
public static final String TYPE
public JSDate(Date date, com.google.gwt.i18n.client.DateTimeFormat jsonFormat)
public static JSDate 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()
getValue in interface INativeObject<Date>public com.google.gwt.json.client.JSONValue getJSONValue()
getJSONValue in interface IJSObjectCopyright © 2018. All rights reserved.