## 基础使用

基本的日历组件，可切换年，月模式，可选择年份，月份。

```json
{
    "body": [
        {
            "type": "container",
            "model": "calendarData",
            "data": {
                "timeSource": {
                    "1520956800": {
                        "total": 1
                    },
                    "1521043200": {
                         "total": 2
                    },
                    "1521129600": {
                         "total": 3
                    }
                }
            },
            "children": [
                {
                    "type": "calendar",
                    "dataSource": "#ES{$data.timeSource}",
                    "controls": {
                        "content": [{
                            "type": "text",
                            "text": "数据:#ES{$item.total}"
                        }]
                    },
                    "defaultValue": "#ES{$moment().add(5, 'days')}"
                }
            ]
        }
    ]
}
```
