登 录
解决方法
Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd").create();
在创建gson时设置对应的日期格式
抱歉!评论已关闭.