@@ -0,0 +1,827 @@
+package com.alibaba.json.bvt.date;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport junit.framework.TestCase;%0Aimport org.junit.Assert;%0A%0Aimport java.util.Date;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * Created by wenshao on 16/8/23.%0A */%0Apublic class DateTest1 extends TestCase %7B%0A    public void test_date() throws Exception %7B%0A        Model model = new Model();%0A        model.date = new Date(1471939192128L);%0A%0A        String text = JSON.toJSONString(model);%0A        Assert.assertEquals(%22%7B%5C%22date%5C%22:1471939192128%7D%22, text);%0A%0A        Map%3CString, Object%3E map = new HashMap%3CString, Object%3E();%0A        map.put(%22date%22, new Date(1471939192128L));%0A%0A        String text2 = JSON.toJSONString(map);%0A        Assert.assertEquals(%22%7B%5C%22date%5C%22:1471939192128%7D%22, text);%0A    %7D%0A%0A    public static class Model %7B%0A        public Date date;%0A    %7D%0A%7D%0A

add testcase