trackler 2.2.1.84 → 2.2.1.85

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/atbash-cipher/canonical-data.json +38 -14
  4. data/problem-specifications/exercises/bracket-push/canonical-data.json +44 -16
  5. data/problem-specifications/exercises/change/canonical-data.json +46 -24
  6. data/problem-specifications/exercises/collatz-conjecture/canonical-data.json +20 -8
  7. data/problem-specifications/exercises/connect/canonical-data.json +87 -67
  8. data/problem-specifications/exercises/crypto-square/canonical-data.json +23 -9
  9. data/problem-specifications/exercises/diamond/canonical-data.json +16 -6
  10. data/problem-specifications/exercises/difference-of-squares/canonical-data.json +29 -11
  11. data/problem-specifications/exercises/dominoes/canonical-data.json +37 -13
  12. data/problem-specifications/exercises/flatten-array/canonical-data.json +19 -7
  13. data/problem-specifications/exercises/meetup/canonical-data.json +667 -477
  14. data/tracks/haskell/config.json +9 -0
  15. data/tracks/haskell/docs/LEARNING.md +3 -3
  16. data/tracks/haskell/exercises/food-chain/examples/success-standard/src/FoodChain.hs +1 -1
  17. data/tracks/haskell/exercises/forth/examples/success-standard/src/Forth.hs +2 -2
  18. data/tracks/haskell/exercises/parallel-letter-frequency/examples/success-standard/src/Frequency.hs +1 -1
  19. data/tracks/haskell/exercises/sgf-parsing/examples/success-standard/src/Sgf.hs +1 -1
  20. data/tracks/haskell/exercises/twelve-days/README.md +89 -0
  21. data/tracks/haskell/exercises/twelve-days/examples/success-standard/package.yaml +16 -0
  22. data/tracks/haskell/exercises/twelve-days/examples/success-standard/src/TwelveDays.hs +36 -0
  23. data/tracks/haskell/exercises/twelve-days/package.yaml +20 -0
  24. data/tracks/haskell/exercises/twelve-days/src/TwelveDays.hs +4 -0
  25. data/tracks/haskell/exercises/twelve-days/stack.yaml +1 -0
  26. data/tracks/haskell/exercises/twelve-days/test/Tests.hs +146 -0
  27. data/tracks/haskell/exercises/zipper/examples/success-standard/src/Zipper.hs +3 -3
  28. data/tracks/java/exercises/allergies/.meta/version +2 -0
  29. data/tracks/java/exercises/allergies/src/test/java/AllergiesTest.java +10 -65
  30. data/tracks/java/exercises/anagram/.meta/version +1 -0
  31. data/tracks/java/exercises/anagram/src/test/java/AnagramTest.java +36 -35
  32. data/tracks/java/exercises/atbash-cipher/.meta/version +1 -0
  33. data/tracks/java/exercises/atbash-cipher/src/test/java/AtbashTest.java +3 -2
  34. data/tracks/java/exercises/bob/.meta/src/reference/java/Bob.java +3 -0
  35. data/tracks/java/exercises/bob/.meta/version +1 -0
  36. data/tracks/java/exercises/bob/src/test/java/BobTest.java +79 -15
  37. data/tracks/java/exercises/crypto-square/.meta/src/reference/java/CryptoSquare.java +62 -0
  38. data/tracks/java/exercises/crypto-square/.meta/version +1 -0
  39. data/tracks/java/exercises/crypto-square/src/test/java/CryptoSquareTest.java +28 -101
  40. data/tracks/java/exercises/custom-set/.meta/version +1 -1
  41. data/tracks/java/exercises/custom-set/src/test/java/CustomSetTest.java +8 -0
  42. data/tracks/java/exercises/forth/.meta/version +1 -1
  43. data/tracks/java/exercises/forth/src/test/java/ForthEvaluatorTest.java +52 -12
  44. data/tracks/java/exercises/pascals-triangle/.meta/version +1 -1
  45. data/tracks/java/exercises/pascals-triangle/src/test/java/PascalsTriangleGeneratorTest.java +48 -0
  46. data/tracks/java/exercises/prime-factors/.meta/version +1 -0
  47. data/tracks/java/exercises/prime-factors/src/test/java/PrimeFactorsCalculatorTest.java +2 -6
  48. data/tracks/java/exercises/protein-translation/.meta/version +1 -1
  49. data/tracks/java/exercises/roman-numerals/.meta/version +1 -0
  50. data/tracks/java/exercises/roman-numerals/src/test/java/RomanNumeralsTest.java +0 -1
  51. data/tracks/java/exercises/rotational-cipher/.meta/version +1 -0
  52. data/tracks/java/exercises/rotational-cipher/src/test/java/RotationalCipherTest.java +7 -7
  53. data/tracks/javascript/.eslintignore +0 -1
  54. data/tracks/javascript/README.md +1 -1
  55. data/tracks/javascript/exercises/clock/example.js +8 -11
  56. metadata +18 -3
  57. data/tracks/java/exercises/crypto-square/.meta/src/reference/java/Crypto.java +0 -74
@@ -1,41 +1,53 @@
1
1
  {
2
2
  "exercise": "flatten-array",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "cases": [
5
5
  {
6
6
  "description": "no nesting",
7
7
  "property": "flatten",
8
- "input": [0, 1, 2],
8
+ "input": {
9
+ "array": [0, 1, 2]
10
+ },
9
11
  "expected": [0, 1, 2]
10
12
  },
11
13
  {
12
14
  "description": "flattens array with just integers present",
13
15
  "property": "flatten",
14
- "input": [1, [2, 3, 4, 5, 6, 7], 8],
16
+ "input": {
17
+ "array": [1, [2, 3, 4, 5, 6, 7], 8]
18
+ },
15
19
  "expected": [1, 2, 3, 4, 5, 6, 7, 8]
16
20
  },
17
21
  {
18
22
  "description": "5 level nesting",
19
23
  "property": "flatten",
20
- "input": [0, 2, [[2, 3], 8, 100, 4, [[[50]]]], -2],
24
+ "input": {
25
+ "array": [0, 2, [[2, 3], 8, 100, 4, [[[50]]]], -2]
26
+ },
21
27
  "expected": [0, 2, 2, 3, 8, 100, 4, 50, -2]
22
28
  },
23
29
  {
24
30
  "description": "6 level nesting",
25
31
  "property": "flatten",
26
- "input": [1, [2, [[3]], [4, [[5]]], 6, 7], 8],
32
+ "input": {
33
+ "array": [1, [2, [[3]], [4, [[5]]], 6, 7], 8]
34
+ },
27
35
  "expected": [1, 2, 3, 4, 5, 6, 7, 8]
28
36
  },
29
37
  {
30
38
  "description": "6 level nest list with null values",
31
39
  "property": "flatten",
32
- "input": [0, 2, [[2, 3], 8, [[100]], null, [[null]]], -2],
40
+ "input": {
41
+ "array": [0, 2, [[2, 3], 8, [[100]], null, [[null]]], -2]
42
+ },
33
43
  "expected": [0, 2, 2, 3, 8, 100, -2]
34
44
  },
35
45
  {
36
46
  "description": "all values in nested list are null",
37
47
  "property": "flatten",
38
- "input": [null, [[[null]]], null, null, [[null, null], null], null],
48
+ "input": {
49
+ "array": [null, [[[null]]], null, null, [[null, null], null], null]
50
+ },
39
51
  "expected": []
40
52
  }
41
53
  ]
@@ -1,861 +1,1051 @@
1
1
  {
2
2
  "exercise": "meetup",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "cases": [
5
5
  {
6
6
  "description": "monteenth of May 2013",
7
7
  "property": "meetup",
8
- "year": 2013,
9
- "month": 5,
10
- "week": "teenth",
11
- "dayofweek": "Monday",
12
- "dayofmonth": 13
8
+ "input": {
9
+ "year": 2013,
10
+ "month": 5,
11
+ "week": "teenth",
12
+ "dayofweek": "Monday"
13
+ },
14
+ "expected": "2013-05-13"
13
15
  },
14
16
  {
15
17
  "description": "monteenth of August 2013",
16
18
  "property": "meetup",
17
- "year": 2013,
18
- "month": 8,
19
- "week": "teenth",
20
- "dayofweek": "Monday",
21
- "dayofmonth": 19
19
+ "input": {
20
+ "year": 2013,
21
+ "month": 8,
22
+ "week": "teenth",
23
+ "dayofweek": "Monday"
24
+ },
25
+ "expected": "2013-08-19"
22
26
  },
23
27
  {
24
28
  "description": "monteenth of September 2013",
25
29
  "property": "meetup",
26
- "year": 2013,
27
- "month": 9,
28
- "week": "teenth",
29
- "dayofweek": "Monday",
30
- "dayofmonth": 16
30
+ "input": {
31
+ "year": 2013,
32
+ "month": 9,
33
+ "week": "teenth",
34
+ "dayofweek": "Monday"
35
+ },
36
+ "expected": "2013-09-16"
31
37
  },
32
38
  {
33
39
  "description": "tuesteenth of March 2013",
34
40
  "property": "meetup",
35
- "year": 2013,
36
- "month": 3,
37
- "week": "teenth",
38
- "dayofweek": "Tuesday",
39
- "dayofmonth": 19
41
+ "input": {
42
+ "year": 2013,
43
+ "month": 3,
44
+ "week": "teenth",
45
+ "dayofweek": "Tuesday"
46
+ },
47
+ "expected": "2013-03-19"
40
48
  },
41
49
  {
42
50
  "description": "tuesteenth of April 2013",
43
51
  "property": "meetup",
44
- "year": 2013,
45
- "month": 4,
46
- "week": "teenth",
47
- "dayofweek": "Tuesday",
48
- "dayofmonth": 16
52
+ "input": {
53
+ "year": 2013,
54
+ "month": 4,
55
+ "week": "teenth",
56
+ "dayofweek": "Tuesday"
57
+ },
58
+ "expected": "2013-04-16"
49
59
  },
50
60
  {
51
61
  "description": "tuesteenth of August 2013",
52
62
  "property": "meetup",
53
- "year": 2013,
54
- "month": 8,
55
- "week": "teenth",
56
- "dayofweek": "Tuesday",
57
- "dayofmonth": 13
63
+ "input": {
64
+ "year": 2013,
65
+ "month": 8,
66
+ "week": "teenth",
67
+ "dayofweek": "Tuesday"
68
+ },
69
+ "expected": "2013-08-13"
58
70
  },
59
71
  {
60
72
  "description": "wednesteenth of January 2013",
61
73
  "property": "meetup",
62
- "year": 2013,
63
- "month": 1,
64
- "week": "teenth",
65
- "dayofweek": "Wednesday",
66
- "dayofmonth": 16
74
+ "input": {
75
+ "year": 2013,
76
+ "month": 1,
77
+ "week": "teenth",
78
+ "dayofweek": "Wednesday"
79
+ },
80
+ "expected": "2013-01-16"
67
81
  },
68
82
  {
69
83
  "description": "wednesteenth of February 2013",
70
84
  "property": "meetup",
71
- "year": 2013,
72
- "month": 2,
73
- "week": "teenth",
74
- "dayofweek": "Wednesday",
75
- "dayofmonth": 13
85
+ "input": {
86
+ "year": 2013,
87
+ "month": 2,
88
+ "week": "teenth",
89
+ "dayofweek": "Wednesday"
90
+ },
91
+ "expected": "2013-02-13"
76
92
  },
77
93
  {
78
94
  "description": "wednesteenth of June 2013",
79
95
  "property": "meetup",
80
- "year": 2013,
81
- "month": 6,
82
- "week": "teenth",
83
- "dayofweek": "Wednesday",
84
- "dayofmonth": 19
96
+ "input": {
97
+ "year": 2013,
98
+ "month": 6,
99
+ "week": "teenth",
100
+ "dayofweek": "Wednesday"
101
+ },
102
+ "expected": "2013-06-19"
85
103
  },
86
104
  {
87
105
  "description": "thursteenth of May 2013",
88
106
  "property": "meetup",
89
- "year": 2013,
90
- "month": 5,
91
- "week": "teenth",
92
- "dayofweek": "Thursday",
93
- "dayofmonth": 16
107
+ "input": {
108
+ "year": 2013,
109
+ "month": 5,
110
+ "week": "teenth",
111
+ "dayofweek": "Thursday"
112
+ },
113
+ "expected": "2013-05-16"
94
114
  },
95
115
  {
96
116
  "description": "thursteenth of June 2013",
97
117
  "property": "meetup",
98
- "year": 2013,
99
- "month": 6,
100
- "week": "teenth",
101
- "dayofweek": "Thursday",
102
- "dayofmonth": 13
118
+ "input": {
119
+ "year": 2013,
120
+ "month": 6,
121
+ "week": "teenth",
122
+ "dayofweek": "Thursday"
123
+ },
124
+ "expected": "2013-06-13"
103
125
  },
104
126
  {
105
127
  "description": "thursteenth of September 2013",
106
128
  "property": "meetup",
107
- "year": 2013,
108
- "month": 9,
109
- "week": "teenth",
110
- "dayofweek": "Thursday",
111
- "dayofmonth": 19
129
+ "input": {
130
+ "year": 2013,
131
+ "month": 9,
132
+ "week": "teenth",
133
+ "dayofweek": "Thursday"
134
+ },
135
+ "expected": "2013-09-19"
112
136
  },
113
137
  {
114
138
  "description": "friteenth of April 2013",
115
139
  "property": "meetup",
116
- "year": 2013,
117
- "month": 4,
118
- "week": "teenth",
119
- "dayofweek": "Friday",
120
- "dayofmonth": 19
140
+ "input": {
141
+ "year": 2013,
142
+ "month": 4,
143
+ "week": "teenth",
144
+ "dayofweek": "Friday"
145
+ },
146
+ "expected": "2013-04-19"
121
147
  },
122
148
  {
123
149
  "description": "friteenth of August 2013",
124
150
  "property": "meetup",
125
- "year": 2013,
126
- "month": 8,
127
- "week": "teenth",
128
- "dayofweek": "Friday",
129
- "dayofmonth": 16
151
+ "input": {
152
+ "year": 2013,
153
+ "month": 8,
154
+ "week": "teenth",
155
+ "dayofweek": "Friday"
156
+ },
157
+ "expected": "2013-08-16"
130
158
  },
131
159
  {
132
160
  "description": "friteenth of September 2013",
133
161
  "property": "meetup",
134
- "year": 2013,
135
- "month": 9,
136
- "week": "teenth",
137
- "dayofweek": "Friday",
138
- "dayofmonth": 13
162
+ "input": {
163
+ "year": 2013,
164
+ "month": 9,
165
+ "week": "teenth",
166
+ "dayofweek": "Friday"
167
+ },
168
+ "expected": "2013-09-13"
139
169
  },
140
170
  {
141
171
  "description": "saturteenth of February 2013",
142
172
  "property": "meetup",
143
- "year": 2013,
144
- "month": 2,
145
- "week": "teenth",
146
- "dayofweek": "Saturday",
147
- "dayofmonth": 16
173
+ "input": {
174
+ "year": 2013,
175
+ "month": 2,
176
+ "week": "teenth",
177
+ "dayofweek": "Saturday"
178
+ },
179
+ "expected": "2013-02-16"
148
180
  },
149
181
  {
150
182
  "description": "saturteenth of April 2013",
151
183
  "property": "meetup",
152
- "year": 2013,
153
- "month": 4,
154
- "week": "teenth",
155
- "dayofweek": "Saturday",
156
- "dayofmonth": 13
184
+ "input": {
185
+ "year": 2013,
186
+ "month": 4,
187
+ "week": "teenth",
188
+ "dayofweek": "Saturday"
189
+ },
190
+ "expected": "2013-04-13"
157
191
  },
158
192
  {
159
193
  "description": "saturteenth of October 2013",
160
194
  "property": "meetup",
161
- "year": 2013,
162
- "month": 10,
163
- "week": "teenth",
164
- "dayofweek": "Saturday",
165
- "dayofmonth": 19
195
+ "input": {
196
+ "year": 2013,
197
+ "month": 10,
198
+ "week": "teenth",
199
+ "dayofweek": "Saturday"
200
+ },
201
+ "expected": "2013-10-19"
166
202
  },
167
203
  {
168
204
  "description": "sunteenth of May 2013",
169
205
  "property": "meetup",
170
- "year": 2013,
171
- "month": 5,
172
- "week": "teenth",
173
- "dayofweek": "Sunday",
174
- "dayofmonth": 19
206
+ "input": {
207
+ "year": 2013,
208
+ "month": 5,
209
+ "week": "teenth",
210
+ "dayofweek": "Sunday"
211
+ },
212
+ "expected": "2013-05-19"
175
213
  },
176
214
  {
177
215
  "description": "sunteenth of June 2013",
178
216
  "property": "meetup",
179
- "year": 2013,
180
- "month": 6,
181
- "week": "teenth",
182
- "dayofweek": "Sunday",
183
- "dayofmonth": 16
217
+ "input": {
218
+ "year": 2013,
219
+ "month": 6,
220
+ "week": "teenth",
221
+ "dayofweek": "Sunday"
222
+ },
223
+ "expected": "2013-06-16"
184
224
  },
185
225
  {
186
226
  "description": "sunteenth of October 2013",
187
227
  "property": "meetup",
188
- "year": 2013,
189
- "month": 10,
190
- "week": "teenth",
191
- "dayofweek": "Sunday",
192
- "dayofmonth": 13
228
+ "input": {
229
+ "year": 2013,
230
+ "month": 10,
231
+ "week": "teenth",
232
+ "dayofweek": "Sunday"
233
+ },
234
+ "expected": "2013-10-13"
193
235
  },
194
236
  {
195
237
  "description": "first Monday of March 2013",
196
238
  "property": "meetup",
197
- "year": 2013,
198
- "month": 3,
199
- "week": "first",
200
- "dayofweek": "Monday",
201
- "dayofmonth": 4
239
+ "input": {
240
+ "year": 2013,
241
+ "month": 3,
242
+ "week": "first",
243
+ "dayofweek": "Monday"
244
+ },
245
+ "expected": "2013-03-04"
202
246
  },
203
247
  {
204
248
  "description": "first Monday of April 2013",
205
249
  "property": "meetup",
206
- "year": 2013,
207
- "month": 4,
208
- "week": "first",
209
- "dayofweek": "Monday",
210
- "dayofmonth": 1
250
+ "input": {
251
+ "year": 2013,
252
+ "month": 4,
253
+ "week": "first",
254
+ "dayofweek": "Monday"
255
+ },
256
+ "expected": "2013-04-01"
211
257
  },
212
258
  {
213
259
  "description": "first Tuesday of May 2013",
214
260
  "property": "meetup",
215
- "year": 2013,
216
- "month": 5,
217
- "week": "first",
218
- "dayofweek": "Tuesday",
219
- "dayofmonth": 7
261
+ "input": {
262
+ "year": 2013,
263
+ "month": 5,
264
+ "week": "first",
265
+ "dayofweek": "Tuesday"
266
+ },
267
+ "expected": "2013-05-07"
220
268
  },
221
269
  {
222
270
  "description": "first Tuesday of June 2013",
223
271
  "property": "meetup",
224
- "year": 2013,
225
- "month": 6,
226
- "week": "first",
227
- "dayofweek": "Tuesday",
228
- "dayofmonth": 4
272
+ "input": {
273
+ "year": 2013,
274
+ "month": 6,
275
+ "week": "first",
276
+ "dayofweek": "Tuesday"
277
+ },
278
+ "expected": "2013-06-04"
229
279
  },
230
280
  {
231
281
  "description": "first Wednesday of July 2013",
232
282
  "property": "meetup",
233
- "year": 2013,
234
- "month": 7,
235
- "week": "first",
236
- "dayofweek": "Wednesday",
237
- "dayofmonth": 3
283
+ "input": {
284
+ "year": 2013,
285
+ "month": 7,
286
+ "week": "first",
287
+ "dayofweek": "Wednesday"
288
+ },
289
+ "expected": "2013-07-03"
238
290
  },
239
291
  {
240
292
  "description": "first Wednesday of August 2013",
241
293
  "property": "meetup",
242
- "year": 2013,
243
- "month": 8,
244
- "week": "first",
245
- "dayofweek": "Wednesday",
246
- "dayofmonth": 7
294
+ "input": {
295
+ "year": 2013,
296
+ "month": 8,
297
+ "week": "first",
298
+ "dayofweek": "Wednesday"
299
+ },
300
+ "expected": "2013-08-07"
247
301
  },
248
302
  {
249
303
  "description": "first Thursday of September 2013",
250
304
  "property": "meetup",
251
- "year": 2013,
252
- "month": 9,
253
- "week": "first",
254
- "dayofweek": "Thursday",
255
- "dayofmonth": 5
305
+ "input": {
306
+ "year": 2013,
307
+ "month": 9,
308
+ "week": "first",
309
+ "dayofweek": "Thursday"
310
+ },
311
+ "expected": "2013-09-05"
256
312
  },
257
313
  {
258
314
  "description": "first Thursday of October 2013",
259
315
  "property": "meetup",
260
- "year": 2013,
261
- "month": 10,
262
- "week": "first",
263
- "dayofweek": "Thursday",
264
- "dayofmonth": 3
316
+ "input": {
317
+ "year": 2013,
318
+ "month": 10,
319
+ "week": "first",
320
+ "dayofweek": "Thursday"
321
+ },
322
+ "expected": "2013-10-03"
265
323
  },
266
324
  {
267
325
  "description": "first Friday of November 2013",
268
326
  "property": "meetup",
269
- "year": 2013,
270
- "month": 11,
271
- "week": "first",
272
- "dayofweek": "Friday",
273
- "dayofmonth": 1
327
+ "input": {
328
+ "year": 2013,
329
+ "month": 11,
330
+ "week": "first",
331
+ "dayofweek": "Friday"
332
+ },
333
+ "expected": "2013-11-01"
274
334
  },
275
335
  {
276
336
  "description": "first Friday of December 2013",
277
337
  "property": "meetup",
278
- "year": 2013,
279
- "month": 12,
280
- "week": "first",
281
- "dayofweek": "Friday",
282
- "dayofmonth": 6
338
+ "input": {
339
+ "year": 2013,
340
+ "month": 12,
341
+ "week": "first",
342
+ "dayofweek": "Friday"
343
+ },
344
+ "expected": "2013-12-06"
283
345
  },
284
346
  {
285
347
  "description": "first Saturday of January 2013",
286
348
  "property": "meetup",
287
- "year": 2013,
288
- "month": 1,
289
- "week": "first",
290
- "dayofweek": "Saturday",
291
- "dayofmonth": 5
349
+ "input": {
350
+ "year": 2013,
351
+ "month": 1,
352
+ "week": "first",
353
+ "dayofweek": "Saturday"
354
+ },
355
+ "expected": "2013-01-05"
292
356
  },
293
357
  {
294
358
  "description": "first Saturday of February 2013",
295
359
  "property": "meetup",
296
- "year": 2013,
297
- "month": 2,
298
- "week": "first",
299
- "dayofweek": "Saturday",
300
- "dayofmonth": 2
360
+ "input": {
361
+ "year": 2013,
362
+ "month": 2,
363
+ "week": "first",
364
+ "dayofweek": "Saturday"
365
+ },
366
+ "expected": "2013-02-02"
301
367
  },
302
368
  {
303
369
  "description": "first Sunday of March 2013",
304
370
  "property": "meetup",
305
- "year": 2013,
306
- "month": 3,
307
- "week": "first",
308
- "dayofweek": "Sunday",
309
- "dayofmonth": 3
371
+ "input": {
372
+ "year": 2013,
373
+ "month": 3,
374
+ "week": "first",
375
+ "dayofweek": "Sunday"
376
+ },
377
+ "expected": "2013-03-03"
310
378
  },
311
379
  {
312
380
  "description": "first Sunday of April 2013",
313
381
  "property": "meetup",
314
- "year": 2013,
315
- "month": 4,
316
- "week": "first",
317
- "dayofweek": "Sunday",
318
- "dayofmonth": 7
382
+ "input": {
383
+ "year": 2013,
384
+ "month": 4,
385
+ "week": "first",
386
+ "dayofweek": "Sunday"
387
+ },
388
+ "expected": "2013-04-07"
319
389
  },
320
390
  {
321
391
  "description": "second Monday of March 2013",
322
392
  "property": "meetup",
323
- "year": 2013,
324
- "month": 3,
325
- "week": "second",
326
- "dayofweek": "Monday",
327
- "dayofmonth": 11
393
+ "input": {
394
+ "year": 2013,
395
+ "month": 3,
396
+ "week": "second",
397
+ "dayofweek": "Monday"
398
+ },
399
+ "expected": "2013-03-11"
328
400
  },
329
401
  {
330
402
  "description": "second Monday of April 2013",
331
403
  "property": "meetup",
332
- "year": 2013,
333
- "month": 4,
334
- "week": "second",
335
- "dayofweek": "Monday",
336
- "dayofmonth": 8
404
+ "input": {
405
+ "year": 2013,
406
+ "month": 4,
407
+ "week": "second",
408
+ "dayofweek": "Monday"
409
+ },
410
+ "expected": "2013-04-08"
337
411
  },
338
412
  {
339
413
  "description": "second Tuesday of May 2013",
340
414
  "property": "meetup",
341
- "year": 2013,
342
- "month": 5,
343
- "week": "second",
344
- "dayofweek": "Tuesday",
345
- "dayofmonth": 14
415
+ "input": {
416
+ "year": 2013,
417
+ "month": 5,
418
+ "week": "second",
419
+ "dayofweek": "Tuesday"
420
+ },
421
+ "expected": "2013-05-14"
346
422
  },
347
423
  {
348
424
  "description": "second Tuesday of June 2013",
349
425
  "property": "meetup",
350
- "year": 2013,
351
- "month": 6,
352
- "week": "second",
353
- "dayofweek": "Tuesday",
354
- "dayofmonth": 11
426
+ "input": {
427
+ "year": 2013,
428
+ "month": 6,
429
+ "week": "second",
430
+ "dayofweek": "Tuesday"
431
+ },
432
+ "expected": "2013-06-11"
355
433
  },
356
434
  {
357
435
  "description": "second Wednesday of July 2013",
358
436
  "property": "meetup",
359
- "year": 2013,
360
- "month": 7,
361
- "week": "second",
362
- "dayofweek": "Wednesday",
363
- "dayofmonth": 10
437
+ "input": {
438
+ "year": 2013,
439
+ "month": 7,
440
+ "week": "second",
441
+ "dayofweek": "Wednesday"
442
+ },
443
+ "expected": "2013-07-10"
364
444
  },
365
445
  {
366
446
  "description": "second Wednesday of August 2013",
367
447
  "property": "meetup",
368
- "year": 2013,
369
- "month": 8,
370
- "week": "second",
371
- "dayofweek": "Wednesday",
372
- "dayofmonth": 14
448
+ "input": {
449
+ "year": 2013,
450
+ "month": 8,
451
+ "week": "second",
452
+ "dayofweek": "Wednesday"
453
+ },
454
+ "expected": "2013-08-14"
373
455
  },
374
456
  {
375
457
  "description": "second Thursday of September 2013",
376
458
  "property": "meetup",
377
- "year": 2013,
378
- "month": 9,
379
- "week": "second",
380
- "dayofweek": "Thursday",
381
- "dayofmonth": 12
459
+ "input": {
460
+ "year": 2013,
461
+ "month": 9,
462
+ "week": "second",
463
+ "dayofweek": "Thursday"
464
+ },
465
+ "expected": "2013-09-12"
382
466
  },
383
467
  {
384
468
  "description": "second Thursday of October 2013",
385
469
  "property": "meetup",
386
- "year": 2013,
387
- "month": 10,
388
- "week": "second",
389
- "dayofweek": "Thursday",
390
- "dayofmonth": 10
470
+ "input": {
471
+ "year": 2013,
472
+ "month": 10,
473
+ "week": "second",
474
+ "dayofweek": "Thursday"
475
+ },
476
+ "expected": "2013-10-10"
391
477
  },
392
478
  {
393
479
  "description": "second Friday of November 2013",
394
480
  "property": "meetup",
395
- "year": 2013,
396
- "month": 11,
397
- "week": "second",
398
- "dayofweek": "Friday",
399
- "dayofmonth": 8
481
+ "input": {
482
+ "year": 2013,
483
+ "month": 11,
484
+ "week": "second",
485
+ "dayofweek": "Friday"
486
+ },
487
+ "expected": "2013-11-08"
400
488
  },
401
489
  {
402
490
  "description": "second Friday of December 2013",
403
491
  "property": "meetup",
404
- "year": 2013,
405
- "month": 12,
406
- "week": "second",
407
- "dayofweek": "Friday",
408
- "dayofmonth": 13
492
+ "input": {
493
+ "year": 2013,
494
+ "month": 12,
495
+ "week": "second",
496
+ "dayofweek": "Friday"
497
+ },
498
+ "expected": "2013-12-13"
409
499
  },
410
500
  {
411
501
  "description": "second Saturday of January 2013",
412
502
  "property": "meetup",
413
- "year": 2013,
414
- "month": 1,
415
- "week": "second",
416
- "dayofweek": "Saturday",
417
- "dayofmonth": 12
503
+ "input": {
504
+ "year": 2013,
505
+ "month": 1,
506
+ "week": "second",
507
+ "dayofweek": "Saturday"
508
+ },
509
+ "expected": "2013-01-12"
418
510
  },
419
511
  {
420
512
  "description": "second Saturday of February 2013",
421
513
  "property": "meetup",
422
- "year": 2013,
423
- "month": 2,
424
- "week": "second",
425
- "dayofweek": "Saturday",
426
- "dayofmonth": 9
514
+ "input": {
515
+ "year": 2013,
516
+ "month": 2,
517
+ "week": "second",
518
+ "dayofweek": "Saturday"
519
+ },
520
+ "expected": "2013-02-09"
427
521
  },
428
522
  {
429
523
  "description": "second Sunday of March 2013",
430
524
  "property": "meetup",
431
- "year": 2013,
432
- "month": 3,
433
- "week": "second",
434
- "dayofweek": "Sunday",
435
- "dayofmonth": 10
525
+ "input": {
526
+ "year": 2013,
527
+ "month": 3,
528
+ "week": "second",
529
+ "dayofweek": "Sunday"
530
+ },
531
+ "expected": "2013-03-10"
436
532
  },
437
533
  {
438
534
  "description": "second Sunday of April 2013",
439
535
  "property": "meetup",
440
- "year": 2013,
441
- "month": 4,
442
- "week": "second",
443
- "dayofweek": "Sunday",
444
- "dayofmonth": 14
536
+ "input": {
537
+ "year": 2013,
538
+ "month": 4,
539
+ "week": "second",
540
+ "dayofweek": "Sunday"
541
+ },
542
+ "expected": "2013-04-14"
445
543
  },
446
544
  {
447
545
  "description": "third Monday of March 2013",
448
546
  "property": "meetup",
449
- "year": 2013,
450
- "month": 3,
451
- "week": "third",
452
- "dayofweek": "Monday",
453
- "dayofmonth": 18
547
+ "input": {
548
+ "year": 2013,
549
+ "month": 3,
550
+ "week": "third",
551
+ "dayofweek": "Monday"
552
+ },
553
+ "expected": "2013-03-18"
454
554
  },
455
555
  {
456
556
  "description": "third Monday of April 2013",
457
557
  "property": "meetup",
458
- "year": 2013,
459
- "month": 4,
460
- "week": "third",
461
- "dayofweek": "Monday",
462
- "dayofmonth": 15
558
+ "input": {
559
+ "year": 2013,
560
+ "month": 4,
561
+ "week": "third",
562
+ "dayofweek": "Monday"
563
+ },
564
+ "expected": "2013-04-15"
463
565
  },
464
566
  {
465
567
  "description": "third Tuesday of May 2013",
466
568
  "property": "meetup",
467
- "year": 2013,
468
- "month": 5,
469
- "week": "third",
470
- "dayofweek": "Tuesday",
471
- "dayofmonth": 21
569
+ "input": {
570
+ "year": 2013,
571
+ "month": 5,
572
+ "week": "third",
573
+ "dayofweek": "Tuesday"
574
+ },
575
+ "expected": "2013-05-21"
472
576
  },
473
577
  {
474
578
  "description": "third Tuesday of June 2013",
475
579
  "property": "meetup",
476
- "year": 2013,
477
- "month": 6,
478
- "week": "third",
479
- "dayofweek": "Tuesday",
480
- "dayofmonth": 18
580
+ "input": {
581
+ "year": 2013,
582
+ "month": 6,
583
+ "week": "third",
584
+ "dayofweek": "Tuesday"
585
+ },
586
+ "expected": "2013-06-18"
481
587
  },
482
588
  {
483
589
  "description": "third Wednesday of July 2013",
484
590
  "property": "meetup",
485
- "year": 2013,
486
- "month": 7,
487
- "week": "third",
488
- "dayofweek": "Wednesday",
489
- "dayofmonth": 17
591
+ "input": {
592
+ "year": 2013,
593
+ "month": 7,
594
+ "week": "third",
595
+ "dayofweek": "Wednesday"
596
+ },
597
+ "expected": "2013-07-17"
490
598
  },
491
599
  {
492
600
  "description": "third Wednesday of August 2013",
493
601
  "property": "meetup",
494
- "year": 2013,
495
- "month": 8,
496
- "week": "third",
497
- "dayofweek": "Wednesday",
498
- "dayofmonth": 21
602
+ "input": {
603
+ "year": 2013,
604
+ "month": 8,
605
+ "week": "third",
606
+ "dayofweek": "Wednesday"
607
+ },
608
+ "expected": "2013-08-21"
499
609
  },
500
610
  {
501
611
  "description": "third Thursday of September 2013",
502
612
  "property": "meetup",
503
- "year": 2013,
504
- "month": 9,
505
- "week": "third",
506
- "dayofweek": "Thursday",
507
- "dayofmonth": 19
613
+ "input": {
614
+ "year": 2013,
615
+ "month": 9,
616
+ "week": "third",
617
+ "dayofweek": "Thursday"
618
+ },
619
+ "expected": "2013-09-19"
508
620
  },
509
621
  {
510
622
  "description": "third Thursday of October 2013",
511
623
  "property": "meetup",
512
- "year": 2013,
513
- "month": 10,
514
- "week": "third",
515
- "dayofweek": "Thursday",
516
- "dayofmonth": 17
624
+ "input": {
625
+ "year": 2013,
626
+ "month": 10,
627
+ "week": "third",
628
+ "dayofweek": "Thursday"
629
+ },
630
+ "expected": "2013-10-17"
517
631
  },
518
632
  {
519
633
  "description": "third Friday of November 2013",
520
634
  "property": "meetup",
521
- "year": 2013,
522
- "month": 11,
523
- "week": "third",
524
- "dayofweek": "Friday",
525
- "dayofmonth": 15
635
+ "input": {
636
+ "year": 2013,
637
+ "month": 11,
638
+ "week": "third",
639
+ "dayofweek": "Friday"
640
+ },
641
+ "expected": "2013-11-15"
526
642
  },
527
643
  {
528
644
  "description": "third Friday of December 2013",
529
645
  "property": "meetup",
530
- "year": 2013,
531
- "month": 12,
532
- "week": "third",
533
- "dayofweek": "Friday",
534
- "dayofmonth": 20
646
+ "input": {
647
+ "year": 2013,
648
+ "month": 12,
649
+ "week": "third",
650
+ "dayofweek": "Friday"
651
+ },
652
+ "expected": "2013-12-20"
535
653
  },
536
654
  {
537
655
  "description": "third Saturday of January 2013",
538
656
  "property": "meetup",
539
- "year": 2013,
540
- "month": 1,
541
- "week": "third",
542
- "dayofweek": "Saturday",
543
- "dayofmonth": 19
657
+ "input": {
658
+ "year": 2013,
659
+ "month": 1,
660
+ "week": "third",
661
+ "dayofweek": "Saturday"
662
+ },
663
+ "expected": "2013-01-19"
544
664
  },
545
665
  {
546
666
  "description": "third Saturday of February 2013",
547
667
  "property": "meetup",
548
- "year": 2013,
549
- "month": 2,
550
- "week": "third",
551
- "dayofweek": "Saturday",
552
- "dayofmonth": 16
668
+ "input": {
669
+ "year": 2013,
670
+ "month": 2,
671
+ "week": "third",
672
+ "dayofweek": "Saturday"
673
+ },
674
+ "expected": "2013-02-16"
553
675
  },
554
676
  {
555
677
  "description": "third Sunday of March 2013",
556
678
  "property": "meetup",
557
- "year": 2013,
558
- "month": 3,
559
- "week": "third",
560
- "dayofweek": "Sunday",
561
- "dayofmonth": 17
679
+ "input": {
680
+ "year": 2013,
681
+ "month": 3,
682
+ "week": "third",
683
+ "dayofweek": "Sunday"
684
+ },
685
+ "expected": "2013-03-17"
562
686
  },
563
687
  {
564
688
  "description": "third Sunday of April 2013",
565
689
  "property": "meetup",
566
- "year": 2013,
567
- "month": 4,
568
- "week": "third",
569
- "dayofweek": "Sunday",
570
- "dayofmonth": 21
690
+ "input": {
691
+ "year": 2013,
692
+ "month": 4,
693
+ "week": "third",
694
+ "dayofweek": "Sunday"
695
+ },
696
+ "expected": "2013-04-21"
571
697
  },
572
698
  {
573
699
  "description": "fourth Monday of March 2013",
574
700
  "property": "meetup",
575
- "year": 2013,
576
- "month": 3,
577
- "week": "fourth",
578
- "dayofweek": "Monday",
579
- "dayofmonth": 25
701
+ "input": {
702
+ "year": 2013,
703
+ "month": 3,
704
+ "week": "fourth",
705
+ "dayofweek": "Monday"
706
+ },
707
+ "expected": "2013-03-25"
580
708
  },
581
709
  {
582
710
  "description": "fourth Monday of April 2013",
583
711
  "property": "meetup",
584
- "year": 2013,
585
- "month": 4,
586
- "week": "fourth",
587
- "dayofweek": "Monday",
588
- "dayofmonth": 22
712
+ "input": {
713
+ "year": 2013,
714
+ "month": 4,
715
+ "week": "fourth",
716
+ "dayofweek": "Monday"
717
+ },
718
+ "expected": "2013-04-22"
589
719
  },
590
720
  {
591
721
  "description": "fourth Tuesday of May 2013",
592
722
  "property": "meetup",
593
- "year": 2013,
594
- "month": 5,
595
- "week": "fourth",
596
- "dayofweek": "Tuesday",
597
- "dayofmonth": 28
723
+ "input": {
724
+ "year": 2013,
725
+ "month": 5,
726
+ "week": "fourth",
727
+ "dayofweek": "Tuesday"
728
+ },
729
+ "expected": "2013-05-28"
598
730
  },
599
731
  {
600
732
  "description": "fourth Tuesday of June 2013",
601
733
  "property": "meetup",
602
- "year": 2013,
603
- "month": 6,
604
- "week": "fourth",
605
- "dayofweek": "Tuesday",
606
- "dayofmonth": 25
734
+ "input": {
735
+ "year": 2013,
736
+ "month": 6,
737
+ "week": "fourth",
738
+ "dayofweek": "Tuesday"
739
+ },
740
+ "expected": "2013-06-25"
607
741
  },
608
742
  {
609
743
  "description": "fourth Wednesday of July 2013",
610
744
  "property": "meetup",
611
- "year": 2013,
612
- "month": 7,
613
- "week": "fourth",
614
- "dayofweek": "Wednesday",
615
- "dayofmonth": 24
745
+ "input": {
746
+ "year": 2013,
747
+ "month": 7,
748
+ "week": "fourth",
749
+ "dayofweek": "Wednesday"
750
+ },
751
+ "expected": "2013-07-24"
616
752
  },
617
753
  {
618
754
  "description": "fourth Wednesday of August 2013",
619
755
  "property": "meetup",
620
- "year": 2013,
621
- "month": 8,
622
- "week": "fourth",
623
- "dayofweek": "Wednesday",
624
- "dayofmonth": 28
756
+ "input": {
757
+ "year": 2013,
758
+ "month": 8,
759
+ "week": "fourth",
760
+ "dayofweek": "Wednesday"
761
+ },
762
+ "expected": "2013-08-28"
625
763
  },
626
764
  {
627
765
  "description": "fourth Thursday of September 2013",
628
766
  "property": "meetup",
629
- "year": 2013,
630
- "month": 9,
631
- "week": "fourth",
632
- "dayofweek": "Thursday",
633
- "dayofmonth": 26
767
+ "input": {
768
+ "year": 2013,
769
+ "month": 9,
770
+ "week": "fourth",
771
+ "dayofweek": "Thursday"
772
+ },
773
+ "expected": "2013-09-26"
634
774
  },
635
775
  {
636
776
  "description": "fourth Thursday of October 2013",
637
777
  "property": "meetup",
638
- "year": 2013,
639
- "month": 10,
640
- "week": "fourth",
641
- "dayofweek": "Thursday",
642
- "dayofmonth": 24
778
+ "input": {
779
+ "year": 2013,
780
+ "month": 10,
781
+ "week": "fourth",
782
+ "dayofweek": "Thursday"
783
+ },
784
+ "expected": "2013-10-24"
643
785
  },
644
786
  {
645
787
  "description": "fourth Friday of November 2013",
646
788
  "property": "meetup",
647
- "year": 2013,
648
- "month": 11,
649
- "week": "fourth",
650
- "dayofweek": "Friday",
651
- "dayofmonth": 22
789
+ "input": {
790
+ "year": 2013,
791
+ "month": 11,
792
+ "week": "fourth",
793
+ "dayofweek": "Friday"
794
+ },
795
+ "expected": "2013-11-22"
652
796
  },
653
797
  {
654
798
  "description": "fourth Friday of December 2013",
655
799
  "property": "meetup",
656
- "year": 2013,
657
- "month": 12,
658
- "week": "fourth",
659
- "dayofweek": "Friday",
660
- "dayofmonth": 27
800
+ "input": {
801
+ "year": 2013,
802
+ "month": 12,
803
+ "week": "fourth",
804
+ "dayofweek": "Friday"
805
+ },
806
+ "expected": "2013-12-27"
661
807
  },
662
808
  {
663
809
  "description": "fourth Saturday of January 2013",
664
810
  "property": "meetup",
665
- "year": 2013,
666
- "month": 1,
667
- "week": "fourth",
668
- "dayofweek": "Saturday",
669
- "dayofmonth": 26
811
+ "input": {
812
+ "year": 2013,
813
+ "month": 1,
814
+ "week": "fourth",
815
+ "dayofweek": "Saturday"
816
+ },
817
+ "expected": "2013-01-26"
670
818
  },
671
819
  {
672
820
  "description": "fourth Saturday of February 2013",
673
821
  "property": "meetup",
674
- "year": 2013,
675
- "month": 2,
676
- "week": "fourth",
677
- "dayofweek": "Saturday",
678
- "dayofmonth": 23
822
+ "input": {
823
+ "year": 2013,
824
+ "month": 2,
825
+ "week": "fourth",
826
+ "dayofweek": "Saturday"
827
+ },
828
+ "expected": "2013-02-23"
679
829
  },
680
830
  {
681
831
  "description": "fourth Sunday of March 2013",
682
832
  "property": "meetup",
683
- "year": 2013,
684
- "month": 3,
685
- "week": "fourth",
686
- "dayofweek": "Sunday",
687
- "dayofmonth": 24
833
+ "input": {
834
+ "year": 2013,
835
+ "month": 3,
836
+ "week": "fourth",
837
+ "dayofweek": "Sunday"
838
+ },
839
+ "expected": "2013-03-24"
688
840
  },
689
841
  {
690
842
  "description": "fourth Sunday of April 2013",
691
843
  "property": "meetup",
692
- "year": 2013,
693
- "month": 4,
694
- "week": "fourth",
695
- "dayofweek": "Sunday",
696
- "dayofmonth": 28
844
+ "input": {
845
+ "year": 2013,
846
+ "month": 4,
847
+ "week": "fourth",
848
+ "dayofweek": "Sunday"
849
+ },
850
+ "expected": "2013-04-28"
697
851
  },
698
852
  {
699
853
  "description": "last Monday of March 2013",
700
854
  "property": "meetup",
701
- "year": 2013,
702
- "month": 3,
703
- "week": "last",
704
- "dayofweek": "Monday",
705
- "dayofmonth": 25
855
+ "input": {
856
+ "year": 2013,
857
+ "month": 3,
858
+ "week": "last",
859
+ "dayofweek": "Monday"
860
+ },
861
+ "expected": "2013-03-25"
706
862
  },
707
863
  {
708
864
  "description": "last Monday of April 2013",
709
865
  "property": "meetup",
710
- "year": 2013,
711
- "month": 4,
712
- "week": "last",
713
- "dayofweek": "Monday",
714
- "dayofmonth": 29
866
+ "input": {
867
+ "year": 2013,
868
+ "month": 4,
869
+ "week": "last",
870
+ "dayofweek": "Monday"
871
+ },
872
+ "expected": "2013-04-29"
715
873
  },
716
874
  {
717
875
  "description": "last Tuesday of May 2013",
718
876
  "property": "meetup",
719
- "year": 2013,
720
- "month": 5,
721
- "week": "last",
722
- "dayofweek": "Tuesday",
723
- "dayofmonth": 28
877
+ "input": {
878
+ "year": 2013,
879
+ "month": 5,
880
+ "week": "last",
881
+ "dayofweek": "Tuesday"
882
+ },
883
+ "expected": "2013-05-28"
724
884
  },
725
885
  {
726
886
  "description": "last Tuesday of June 2013",
727
887
  "property": "meetup",
728
- "year": 2013,
729
- "month": 6,
730
- "week": "last",
731
- "dayofweek": "Tuesday",
732
- "dayofmonth": 25
888
+ "input": {
889
+ "year": 2013,
890
+ "month": 6,
891
+ "week": "last",
892
+ "dayofweek": "Tuesday"
893
+ },
894
+ "expected": "2013-06-25"
733
895
  },
734
896
  {
735
897
  "description": "last Wednesday of July 2013",
736
898
  "property": "meetup",
737
- "year": 2013,
738
- "month": 7,
739
- "week": "last",
740
- "dayofweek": "Wednesday",
741
- "dayofmonth": 31
899
+ "input": {
900
+ "year": 2013,
901
+ "month": 7,
902
+ "week": "last",
903
+ "dayofweek": "Wednesday"
904
+ },
905
+ "expected": "2013-07-31"
742
906
  },
743
907
  {
744
908
  "description": "last Wednesday of August 2013",
745
909
  "property": "meetup",
746
- "year": 2013,
747
- "month": 8,
748
- "week": "last",
749
- "dayofweek": "Wednesday",
750
- "dayofmonth": 28
910
+ "input": {
911
+ "year": 2013,
912
+ "month": 8,
913
+ "week": "last",
914
+ "dayofweek": "Wednesday"
915
+ },
916
+ "expected": "2013-08-28"
751
917
  },
752
918
  {
753
919
  "description": "last Thursday of September 2013",
754
920
  "property": "meetup",
755
- "year": 2013,
756
- "month": 9,
757
- "week": "last",
758
- "dayofweek": "Thursday",
759
- "dayofmonth": 26
921
+ "input": {
922
+ "year": 2013,
923
+ "month": 9,
924
+ "week": "last",
925
+ "dayofweek": "Thursday"
926
+ },
927
+ "expected": "2013-09-26"
760
928
  },
761
929
  {
762
930
  "description": "last Thursday of October 2013",
763
931
  "property": "meetup",
764
- "year": 2013,
765
- "month": 10,
766
- "week": "last",
767
- "dayofweek": "Thursday",
768
- "dayofmonth": 31
932
+ "input": {
933
+ "year": 2013,
934
+ "month": 10,
935
+ "week": "last",
936
+ "dayofweek": "Thursday"
937
+ },
938
+ "expected": "2013-10-31"
769
939
  },
770
940
  {
771
941
  "description": "last Friday of November 2013",
772
942
  "property": "meetup",
773
- "year": 2013,
774
- "month": 11,
775
- "week": "last",
776
- "dayofweek": "Friday",
777
- "dayofmonth": 29
943
+ "input": {
944
+ "year": 2013,
945
+ "month": 11,
946
+ "week": "last",
947
+ "dayofweek": "Friday"
948
+ },
949
+ "expected": "2013-11-29"
778
950
  },
779
951
  {
780
952
  "description": "last Friday of December 2013",
781
953
  "property": "meetup",
782
- "year": 2013,
783
- "month": 12,
784
- "week": "last",
785
- "dayofweek": "Friday",
786
- "dayofmonth": 27
954
+ "input": {
955
+ "year": 2013,
956
+ "month": 12,
957
+ "week": "last",
958
+ "dayofweek": "Friday"
959
+ },
960
+ "expected": "2013-12-27"
787
961
  },
788
962
  {
789
963
  "description": "last Saturday of January 2013",
790
964
  "property": "meetup",
791
- "year": 2013,
792
- "month": 1,
793
- "week": "last",
794
- "dayofweek": "Saturday",
795
- "dayofmonth": 26
965
+ "input": {
966
+ "year": 2013,
967
+ "month": 1,
968
+ "week": "last",
969
+ "dayofweek": "Saturday"
970
+ },
971
+ "expected": "2013-01-26"
796
972
  },
797
973
  {
798
974
  "description": "last Saturday of February 2013",
799
975
  "property": "meetup",
800
- "year": 2013,
801
- "month": 2,
802
- "week": "last",
803
- "dayofweek": "Saturday",
804
- "dayofmonth": 23
976
+ "input": {
977
+ "year": 2013,
978
+ "month": 2,
979
+ "week": "last",
980
+ "dayofweek": "Saturday"
981
+ },
982
+ "expected": "2013-02-23"
805
983
  },
806
984
  {
807
985
  "description": "last Sunday of March 2013",
808
986
  "property": "meetup",
809
- "year": 2013,
810
- "month": 3,
811
- "week": "last",
812
- "dayofweek": "Sunday",
813
- "dayofmonth": 31
987
+ "input": {
988
+ "year": 2013,
989
+ "month": 3,
990
+ "week": "last",
991
+ "dayofweek": "Sunday"
992
+ },
993
+ "expected": "2013-03-31"
814
994
  },
815
995
  {
816
996
  "description": "last Sunday of April 2013",
817
997
  "property": "meetup",
818
- "year": 2013,
819
- "month": 4,
820
- "week": "last",
821
- "dayofweek": "Sunday",
822
- "dayofmonth": 28
998
+ "input": {
999
+ "year": 2013,
1000
+ "month": 4,
1001
+ "week": "last",
1002
+ "dayofweek": "Sunday"
1003
+ },
1004
+ "expected": "2013-04-28"
823
1005
  },
824
1006
  {
825
1007
  "description": "last Wednesday of February 2012",
826
1008
  "property": "meetup",
827
- "year": 2012,
828
- "month": 2,
829
- "week": "last",
830
- "dayofweek": "Wednesday",
831
- "dayofmonth": 29
1009
+ "input": {
1010
+ "year": 2012,
1011
+ "month": 2,
1012
+ "week": "last",
1013
+ "dayofweek": "Wednesday"
1014
+ },
1015
+ "expected": "2012-02-29"
832
1016
  },
833
1017
  {
834
1018
  "description": "last Wednesday of December 2014",
835
1019
  "property": "meetup",
836
- "year": 2014,
837
- "month": 12,
838
- "week": "last",
839
- "dayofweek": "Wednesday",
840
- "dayofmonth": 31
1020
+ "input": {
1021
+ "year": 2014,
1022
+ "month": 12,
1023
+ "week": "last",
1024
+ "dayofweek": "Wednesday"
1025
+ },
1026
+ "expected": "2014-12-31"
841
1027
  },
842
1028
  {
843
1029
  "description": "last Sunday of February 2015",
844
1030
  "property": "meetup",
845
- "year": 2015,
846
- "month": 2,
847
- "week": "last",
848
- "dayofweek": "Sunday",
849
- "dayofmonth": 22
1031
+ "input": {
1032
+ "year": 2015,
1033
+ "month": 2,
1034
+ "week": "last",
1035
+ "dayofweek": "Sunday"
1036
+ },
1037
+ "expected": "2015-02-22"
850
1038
  },
851
1039
  {
852
1040
  "description": "first Friday of December 2012",
853
1041
  "property": "meetup",
854
- "year": 2012,
855
- "month": 12,
856
- "week": "first",
857
- "dayofweek": "Friday",
858
- "dayofmonth": 7
1042
+ "input": {
1043
+ "year": 2012,
1044
+ "month": 12,
1045
+ "week": "first",
1046
+ "dayofweek": "Friday"
1047
+ },
1048
+ "expected": "2012-12-07"
859
1049
  }
860
1050
  ]
861
- }
1051
+ }