在Amazon Api Gateway中,我创建的模型如下:
{
"start": {
"type": "string",
"format": "date-time"
},
"end": {
"type": "string",
"format": "date-time"
}
}
我正在回来
{
"start": "2015-10-12 10:30:00",
"end": "2015-10-13 10:30:00"
}
但这会在Android SDK中引发错误,如下所示:
java.text.ParseException: Failed to parse date "2015-10-12 10:30:00"
答案 0 :(得分:0)