728x90
It seems that you need to define formats for both date and time part or use String-based formatting. For example:
Gson gson = new GsonBuilder()
.setDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz").create();
or
Gson gson = new GsonBuilder()
.setDateFormat(DateFormat.FULL, DateFormat.FULL).create();
That should do it.
728x90
'Java' 카테고리의 다른 글
StringBuilder replaceAll (0) | 2016.01.08 |
---|---|
MS office 하이퍼링크 세션 버그 문제 (0) | 2015.12.30 |
map to list (0) | 2015.11.18 |
map key 값 가져오기 (0) | 2015.11.04 |
List to array, array to List (0) | 2015.11.03 |