public class CSLDate extends Object implements JsonObject
| Constructor and Description |
|---|
CSLDate() |
CSLDate(int[][] dateParts,
String season,
Boolean circa,
String literal,
String raw) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CSLDate |
fromJson(Map<String,Object> obj)
Converts a JSON object to a CSLDate object.
|
Boolean |
getCirca() |
int[][] |
getDateParts() |
String |
getLiteral() |
String |
getRaw() |
String |
getSeason() |
int |
hashCode() |
Object |
toJson(JsonBuilder builder)
Converts this object to a JSON object
|
public int[][] getDateParts()
public String getSeason()
public Boolean getCirca()
public String getLiteral()
public String getRaw()
public Object toJson(JsonBuilder builder)
JsonObjecttoJson in interface JsonObjectbuilder - a builder that can be used to perform the conversionpublic static CSLDate fromJson(Map<String,Object> obj)
obj - the JSON object to convert