@@ -0,0 +1,1289 @@
+package com.alibaba.json.bvt.issue_1500;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.annotation.JSONField;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.Date;%0Aimport java.util.Locale;%0Aimport java.util.TimeZone;%0A%0Apublic class Issue1510 extends TestCase %7B%0A    protected void setUp() throws Exception %7B%0A        JSON.defaultTimeZone = TimeZone.getTimeZone(%22Asia/Shanghai%22);%0A        JSON.defaultLocale = Locale.CHINA;%0A    %7D%0A%0A    public void test_for_issue() throws Exception %7B%0A        Model model = JSON.parseObject(%22%7B%5C%22startTime%5C%22:%5C%222017-11-04%5C%22,%5C%22endTime%5C%22:%5C%222017-11-14%5C%22%7D%22, Model.class);%0A        String text = JSON.toJSONString(model);%0A        assertEquals(%22%7B%5C%22endTime%5C%22:%5C%222017-11-14%5C%22,%5C%22startTime%5C%22:%5C%222017-11-04%5C%22%7D%22, text);%0A    %7D%0A%0A    public static class Model %7B%0A        @JSONField(format = %22yyyy-MM-dd%22)%0A        private Date startTime;%0A%0A        @JSONField(format = %22yyyy-MM-dd%22)%0A        private Date endTime;%0A%0A        public Date getStartTime() %7B%0A            return startTime;%0A        %7D%0A%0A        public void setStartTime(Date startTime) %7B%0A            this.startTime = startTime;%0A        %7D%0A%0A        public Date getEndTime() %7B%0A            return endTime;%0A        %7D%0A%0A        public void setEndTime(Date endTime) %7B%0A            this.endTime = endTime;%0A        %7D%0A    %7D%0A%7D%0A

add testcase for issue #1510