public static class Apptentive.DateTime extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Apptentive.DateTime>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_TYPE |
static java.lang.String |
SEC |
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
DateTime(double dateTime) |
DateTime(org.json.JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Apptentive.DateTime other) |
double |
getDateTime() |
void |
setDateTime(double dateTime) |
org.json.JSONObject |
toJSONObject() |
java.lang.String |
toString() |
public static final java.lang.String KEY_TYPE
public static final java.lang.String TYPE
public static final java.lang.String SEC
public DateTime(org.json.JSONObject json)
throws org.json.JSONException
org.json.JSONExceptionpublic DateTime(double dateTime)
public void setDateTime(double dateTime)
public double getDateTime()
public org.json.JSONObject toJSONObject()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Apptentive.DateTime other)
compareTo in interface java.lang.Comparable<Apptentive.DateTime>