summaryrefslogtreecommitdiffstats
path: root/tests/Data_saveDataUpdate/MonthRecurrings/source.json
blob: 17fafbae80bf7be49d5c61764e99a111e05cb722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "insert_data": [
    {
      "id": "1",
      "start_date": "2015-02-04 11:00:00",
      "end_date": "2015-02-04 19:30:00",
      "text": "Event X1",
      "rec_type": "",
      "event_length": ""
    },
    {
      "id": "2",
      "start_date": "2020-07-09 11:00:00",
      "end_date": "2020-07-09 19:20:00",
      "text": "Event X2",
      "rec_type": "day_1___#3",
      "event_length": "600"
    },
    {
      "id": "3",
      "start_date": "2014-04-09 18:00:00",
      "end_date": "2014-04-09 19:25:00",
      "text": "Event X3",
      "rec_type": "",
      "event_length": ""
    },
    {
      "id": "4",
      "start_date": "2014-04-20 18:00:00",
      "end_date": "2014-05-30 19:25:00",
      "text": "Event X4",
      "rec_type": "",
      "event_length": ""
    }
  ],
  "data": [
    {
      "id": 1,
      "recurring_type": {
        "each": "month",
        "step": 3
      },
      "start_date": "2016-03-13 12:00:00",
      "end_date": "9999-02-01 00:00:00",
      "length": 2100,
      "text": "Test Month 1"
    },
    {
      "id": 2,
      "recurring_type": {
        "each": "month",
        "repeat": 6,
        "week_number": 4,
        "days_of_week": "friday",
        "step": 1
      },
      "start_date": "2016-03-01 15:00:00",
      "length": 17700,
      "text": "Test Month 2"
    },
    {
      "id": 3,
      "recurring_type": {
        "each": "month",
        "step": 1,
        "days_of_week": "wednesday",
        "week_number": 1
      },
      "start_date": "2016-03-01 10:00:00",
      "end_date": "2016-08-21 00:00:00",
      "length": 26100,
      "text": "Test Month 3"
    },
    {
      "id": 4,
      "recurring_type": {
        "each": "month",
        "step": 1
      },
      "start_date": "2016-03-30 02:50:00",
      "end_date": "9999-02-01 00:00:00",
      "length": 18000,
      "text": "Test Month 4"
    }
  ]
}