本文整理了Java中facebook4j.internal.util.z_F4JInternalParseUtil.getISO8601Datetime()
方法的一些代码示例,展示了z_F4JInternalParseUtil.getISO8601Datetime()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。z_F4JInternalParseUtil.getISO8601Datetime()
方法的具体详情如下:
包路径:facebook4j.internal.util.z_F4JInternalParseUtil
类名称:z_F4JInternalParseUtil
方法名:getISO8601Datetime
暂无
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
title = getRawString("title", json);
description = getRawString("description", json);
from = new CategoryJSONImpl(json.getJSONObject("from"));
startTime = getISO8601Datetime("start_time", json);
endTime = getISO8601Datetime("end_time", json);
createdTime = getISO8601Datetime("created_time" ,json);
updatedTime = getISO8601Datetime("updated_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone);
}
}
代码示例来源:origin: org.facebook4j/facebook4j-core
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
title = getRawString("title", json);
description = getRawString("description", json);
from = new CategoryJSONImpl(json.getJSONObject("from"));
startTime = getISO8601Datetime("start_time", json);
endTime = getISO8601Datetime("end_time", json);
createdTime = getISO8601Datetime("created_time" ,json);
updatedTime = getISO8601Datetime("updated_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone);
}
}
代码示例来源:origin: apache/servicemix-bundles
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
title = getRawString("title", json);
description = getRawString("description", json);
from = new CategoryJSONImpl(json.getJSONObject("from"));
startTime = getISO8601Datetime("start_time", json);
endTime = getISO8601Datetime("end_time", json);
createdTime = getISO8601Datetime("created_time" ,json);
updatedTime = getISO8601Datetime("updated_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone);
}
}
代码示例来源:origin: org.facebook4j/facebook4j-core
ValueJSONImpl(JSONObject json) throws FacebookException {
if (null == getRawString("value", json)) {
value = null;
} else {
value = new ValueEntryJSONImpl(json);
}
endTime = getISO8601Datetime("end_time", json);
}
代码示例来源:origin: roundrop/facebook4j
ValueJSONImpl(JSONObject json) throws FacebookException {
if (null == getRawString("value", json)) {
value = null;
} else {
value = new ValueEntryJSONImpl(json);
}
endTime = getISO8601Datetime("end_time", json);
}
代码示例来源:origin: apache/servicemix-bundles
ValueJSONImpl(JSONObject json) throws FacebookException {
if (null == getRawString("value", json)) {
value = null;
} else {
value = new ValueEntryJSONImpl(json);
}
endTime = getISO8601Datetime("end_time", json);
}
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
id = getRawString("id", json);
name = getRawString("name", json);
category = getRawString("category", json);
createdTime = getISO8601Datetime("created_time", json);
}
代码示例来源:origin: org.facebook4j/facebook4j-core
private void init(JSONObject json) throws FacebookException {
id = getRawString("id", json);
name = getRawString("name", json);
category = getRawString("category", json);
createdTime = getISO8601Datetime("created_time", json);
}
代码示例来源:origin: apache/servicemix-bundles
private void init(JSONObject json) throws FacebookException {
id = getRawString("id", json);
name = getRawString("name", json);
category = getRawString("category", json);
createdTime = getISO8601Datetime("created_time", json);
}
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
createdTime = getISO8601Datetime("created_time", json);
if (isJSONObject("place", json)) {
JSONObject placeJSONObject = json.getJSONObject("place");
place = new PlaceJSONImpl(placeJSONObject);
}
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: apache/servicemix-bundles
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
createdTime = getISO8601Datetime("created_time", json);
if (isJSONObject("place", json)) {
JSONObject placeJSONObject = json.getJSONObject("place");
place = new PlaceJSONImpl(placeJSONObject);
}
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: org.facebook4j/facebook4j-core
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
createdTime = getISO8601Datetime("created_time", json);
if (isJSONObject("place", json)) {
JSONObject placeJSONObject = json.getJSONObject("place");
place = new PlaceJSONImpl(placeJSONObject);
}
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
if (!json.isNull("from")) {
JSONObject fromJSONObject = json.getJSONObject("from");
from = new CategoryJSONImpl(fromJSONObject);
}
question = getRawString("question", json);
createdTime = getISO8601Datetime("created_time", json);
updatedTime = getISO8601Datetime("updated_time", json);
if (!json.isNull("options")) {
JSONObject optionsJSONObject = json.getJSONObject("options");
options = createOptionList(optionsJSONObject);
} else {
options = new PagableListImpl<Question.Option>(0);
}
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
if (!json.isNull("from")) {
JSONObject fromJSONObject = json.getJSONObject("from");
from = new IdNameEntityJSONImpl(fromJSONObject);
}
subject = getRawString("subject", json);
message = getRawString("message", json);
icon = getURL("icon", json);
createdTime = getISO8601Datetime("created_time", json);
updatedTime = getISO8601Datetime("updated_time", json);
revision = getLong("revision", json);
canEdit = getBoolean("can_edit", json);
canDelete = getBoolean("can_delete", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: roundrop/facebook4j
private void init(JSONObject json) throws FacebookException {
try {
if (!json.isNull("from")) {
JSONObject fromJSONObject;
fromJSONObject = json.getJSONObject("from");
from = new IdNameEntityJSONImpl(fromJSONObject);
}
if (!json.isNull("to")) {
JSONObject toJSONObject = json.getJSONObject("to");
to = new IdNameEntityJSONImpl(toJSONObject);
}
createdTime = getISO8601Datetime("created_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: org.facebook4j/facebook4j-core
private void init(JSONObject json) throws FacebookException {
try {
if (!json.isNull("from")) {
JSONObject fromJSONObject;
fromJSONObject = json.getJSONObject("from");
from = new IdNameEntityJSONImpl(fromJSONObject);
}
if (!json.isNull("to")) {
JSONObject toJSONObject = json.getJSONObject("to");
to = new IdNameEntityJSONImpl(toJSONObject);
}
createdTime = getISO8601Datetime("created_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: apache/servicemix-bundles
private void init(JSONObject json) throws FacebookException {
try {
if (!json.isNull("from")) {
JSONObject fromJSONObject;
fromJSONObject = json.getJSONObject("from");
from = new IdNameEntityJSONImpl(fromJSONObject);
}
if (!json.isNull("to")) {
JSONObject toJSONObject = json.getJSONObject("to");
to = new IdNameEntityJSONImpl(toJSONObject);
}
createdTime = getISO8601Datetime("created_time", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: org.facebook4j/facebook4j-core
/*package*/OptionJSONImpl(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
if (!json.isNull("from")) {
JSONObject fromJSONObject = json.getJSONObject("from");
from = new CategoryJSONImpl(fromJSONObject);
}
name = getRawString("name", json);
voteCount = getPrimitiveInt("vote_count", json);
createdTime = getISO8601Datetime("created_time", json);
votes = getPrimitiveInt("votes", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: roundrop/facebook4j
/*package*/OptionJSONImpl(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
if (!json.isNull("from")) {
JSONObject fromJSONObject = json.getJSONObject("from");
from = new CategoryJSONImpl(fromJSONObject);
}
name = getRawString("name", json);
voteCount = getPrimitiveInt("vote_count", json);
createdTime = getISO8601Datetime("created_time", json);
votes = getPrimitiveInt("votes", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
代码示例来源:origin: apache/servicemix-bundles
/*package*/OptionJSONImpl(JSONObject json) throws FacebookException {
try {
id = getRawString("id", json);
if (!json.isNull("from")) {
JSONObject fromJSONObject = json.getJSONObject("from");
from = new CategoryJSONImpl(fromJSONObject);
}
name = getRawString("name", json);
voteCount = getPrimitiveInt("vote_count", json);
createdTime = getISO8601Datetime("created_time", json);
votes = getPrimitiveInt("votes", json);
} catch (JSONException jsone) {
throw new FacebookException(jsone.getMessage(), jsone);
}
}
内容来源于网络,如有侵权,请联系作者删除!