Public repository: timo / feel

Reader

An interpreter of FEEL, written in Rust, with integrations for PostgreSQL, WASM, Lua, and Python.

1
[
2
  {
3
    "id": "1116-feel-time-function:001_bdf26fdc72:feel-time-function_ErrorCase_001_bdf26fdc72",
4
    "expression": "time(null)",
5
    "expected": null,
6
    "expected_type": "null",
7
    "comparison": "exact",
8
    "deviation": null
9
  },
10
  {
11
    "id": "1116-feel-time-function:002_9d2e399b96:feel-time-function_ErrorCase_002_9d2e399b96",
12
    "expression": "time(null,11,45,duration(\"P0D\"))",
13
    "expected": null,
14
    "expected_type": "null",
15
    "comparison": "exact",
16
    "deviation": null
17
  },
18
  {
19
    "id": "1116-feel-time-function:003_d1f0ea5bb9:feel-time-function_ErrorCase_003_d1f0ea5bb9",
20
    "expression": "time(12,null,45,duration(\"P0D\"))",
21
    "expected": null,
22
    "expected_type": "null",
23
    "comparison": "exact",
24
    "deviation": null
25
  },
26
  {
27
    "id": "1116-feel-time-function:004_57aea91d1c:feel-time-function_ErrorCase_004_57aea91d1c",
28
    "expression": "time(12,0,null,duration(\"P0D\"))",
29
    "expected": null,
30
    "expected_type": "null",
31
    "comparison": "exact",
32
    "deviation": null
33
  },
34
  {
35
    "id": "1116-feel-time-function:005_32ea20b34f:feel-time-function_ErrorCase_005_32ea20b34f",
36
    "expression": "time(null,null,45,duration(\"P0D\"))",
37
    "expected": null,
38
    "expected_type": "null",
39
    "comparison": "exact",
40
    "deviation": null
41
  },
42
  {
43
    "id": "1116-feel-time-function:006_e266498180:feel-time-function_ErrorCase_006_e266498180",
44
    "expression": "time(null,11,null,duration(\"P0D\"))",
45
    "expected": null,
46
    "expected_type": "null",
47
    "comparison": "exact",
48
    "deviation": null
49
  },
50
  {
51
    "id": "1116-feel-time-function:007_ee82c7bf12:feel-time-function_ErrorCase_007_ee82c7bf12",
52
    "expression": "time(null,11,45,null)",
53
    "expected": null,
54
    "expected_type": "null",
55
    "comparison": "exact",
56
    "deviation": null
57
  },
58
  {
59
    "id": "1116-feel-time-function:008_08078c6c29:feel-time-function_ErrorCase_008_08078c6c29",
60
    "expression": "time(12,null,null,duration(\"P0D\"))",
61
    "expected": null,
62
    "expected_type": "null",
63
    "comparison": "exact",
64
    "deviation": null
65
  },
66
  {
67
    "id": "1116-feel-time-function:009_804c21ed52:feel-time-function_ErrorCase_009_804c21ed52",
68
    "expression": "time(12,11,null,null)",
69
    "expected": null,
70
    "expected_type": "null",
71
    "comparison": "exact",
72
    "deviation": null
73
  },
74
  {
75
    "id": "1116-feel-time-function:010_cc773bb44b:feel-time-function_ErrorCase_010_cc773bb44b",
76
    "expression": "time(12,null,null,null)",
77
    "expected": null,
78
    "expected_type": "null",
79
    "comparison": "exact",
80
    "deviation": null
81
  },
82
  {
83
    "id": "1116-feel-time-function:011_ad5b3a26b5:feel-time-function_ErrorCase_011_ad5b3a26b5",
84
    "expression": "time(null,0,null,null)",
85
    "expected": null,
86
    "expected_type": "null",
87
    "comparison": "exact",
88
    "deviation": null
89
  },
90
  {
91
    "id": "1116-feel-time-function:012_3c2f416fc9:feel-time-function_ErrorCase_012_3c2f416fc9",
92
    "expression": "time(null,null,15,null)",
93
    "expected": null,
94
    "expected_type": "null",
95
    "comparison": "exact",
96
    "deviation": null
97
  },
98
  {
99
    "id": "1116-feel-time-function:013_7f22c0bda8:feel-time-function_ErrorCase_013_7f22c0bda8",
100
    "expression": "time(null,null,null,duration(\"P0D\"))",
101
    "expected": null,
102
    "expected_type": "null",
103
    "comparison": "exact",
104
    "deviation": null
105
  },
106
  {
107
    "id": "1116-feel-time-function:014_0dc13176e8:feel-time-function_ErrorCase_014_0dc13176e8",
108
    "expression": "time(null,null,null,null)",
109
    "expected": null,
110
    "expected_type": "null",
111
    "comparison": "exact",
112
    "deviation": null
113
  },
114
  {
115
    "id": "1116-feel-time-function:015_376d693a79:feel-time-function_015_376d693a79",
116
    "expression": "time(12,00,00,null)",
117
    "expected": "12:00:00",
118
    "expected_type": "time",
119
    "comparison": "exact",
120
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
121
  },
122
  {
123
    "id": "1116-feel-time-function:016_c3cccff405:feel-time-function_ErrorCase_016_c3cccff405",
124
    "expression": "time()",
125
    "expected": null,
126
    "expected_type": "null",
127
    "comparison": "exact",
128
    "deviation": null
129
  },
130
  {
131
    "id": "1116-feel-time-function:017_f3683885f5:feel-time-function_017_f3683885f5",
132
    "expression": "time(\"01:02:03\")",
133
    "expected": "01:02:03",
134
    "expected_type": "time",
135
    "comparison": "exact",
136
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
137
  },
138
  {
139
    "id": "1116-feel-time-function:018_35f1f2cce8:feel-time-function_018_35f1f2cce8",
140
    "expression": "time(\"00:00:00\")",
141
    "expected": "00:00:00",
142
    "expected_type": "time",
143
    "comparison": "exact",
144
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
145
  },
146
  {
147
    "id": "1116-feel-time-function:019_879be89d63:feel-time-function_019_879be89d63",
148
    "expression": "time(\"11:22:33.444\")",
149
    "expected": "11:22:33.444",
150
    "expected_type": "time",
151
    "comparison": "exact",
152
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
153
  },
154
  {
155
    "id": "1116-feel-time-function:020_72b421086e:feel-time-function_020_72b421086e",
156
    "expression": "time(\"11:22:33.123456789\")",
157
    "expected": "11:22:33.123456789",
158
    "expected_type": "time",
159
    "comparison": "exact",
160
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
161
  },
162
  {
163
    "id": "1116-feel-time-function:021_5c50fa1dff:feel-time-function_021_5c50fa1dff",
164
    "expression": "time(\"23:59:00Z\")",
165
    "expected": "23:59:00Z",
166
    "expected_type": "time",
167
    "comparison": "exact",
168
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
169
  },
170
  {
171
    "id": "1116-feel-time-function:022_55e76d3595:feel-time-function_022_55e76d3595",
172
    "expression": "time(\"11:00:00Z\")",
173
    "expected": "11:00:00Z",
174
    "expected_type": "time",
175
    "comparison": "exact",
176
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
177
  },
178
  {
179
    "id": "1116-feel-time-function:023_5cbbb85435:feel-time-function_023_5cbbb85435",
180
    "expression": "time(\"00:00:00Z\")",
181
    "expected": "00:00:00Z",
182
    "expected_type": "time",
183
    "comparison": "exact",
184
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
185
  },
186
  {
187
    "id": "1116-feel-time-function:024_5f7f735e8f:feel-time-function_024_5f7f735e8f",
188
    "expression": "time(\"13:20:00+02:00\")",
189
    "expected": "13:20:00+02:00",
190
    "expected_type": "time",
191
    "comparison": "exact",
192
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
193
  },
194
  {
195
    "id": "1116-feel-time-function:025_139b25b795:feel-time-function_025_139b25b795",
196
    "expression": "time(\"13:20:00-05:00\")",
197
    "expected": "13:20:00-05:00",
198
    "expected_type": "time",
199
    "comparison": "exact",
200
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
201
  },
202
  {
203
    "id": "1116-feel-time-function:026_c5208af118:feel-time-function_026_c5208af118",
204
    "expression": "time(\"11:22:33-00:00\")",
205
    "expected": "11:22:33Z",
206
    "expected_type": "time",
207
    "comparison": "exact",
208
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
209
  },
210
  {
211
    "id": "1116-feel-time-function:027_45082fd26c:feel-time-function_027_45082fd26c",
212
    "expression": "time(\"11:22:33+00:00\")",
213
    "expected": "11:22:33Z",
214
    "expected_type": "time",
215
    "comparison": "exact",
216
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
217
  },
218
  {
219
    "id": "1116-feel-time-function:028_eaea7a943c:feel-time-function_028_eaea7a943c",
220
    "expression": "string(time(\"00:01:00@Etc/UTC\"))",
221
    "expected": "00:01:00@Etc/UTC",
222
    "expected_type": "string",
223
    "comparison": "exact",
224
    "deviation": null
225
  },
226
  {
227
    "id": "1116-feel-time-function:029_f0d5c2c16a:feel-time-function_029_f0d5c2c16a",
228
    "expression": "string(time(\"00:01:00@Europe/Paris\"))",
229
    "expected": "00:01:00@Europe/Paris",
230
    "expected_type": "string",
231
    "comparison": "exact",
232
    "deviation": null
233
  },
234
  {
235
    "id": "1116-feel-time-function:030_390d4f4648:feel-time-function_030_390d4f4648",
236
    "expression": "time(date and time(\"2017-08-10T10:20:00\"))",
237
    "expected": "10:20:00",
238
    "expected_type": "time",
239
    "comparison": "exact",
240
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
241
  },
242
  {
243
    "id": "1116-feel-time-function:031_4d086a3b59:feel-time-function_031_4d086a3b59",
244
    "expression": "time(date and time(\"2017-08-10T10:20:00+00:00\"))",
245
    "expected": "10:20:00Z",
246
    "expected_type": "time",
247
    "comparison": "exact",
248
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
249
  },
250
  {
251
    "id": "1116-feel-time-function:032_d9b0d7f931:feel-time-function_032_d9b0d7f931",
252
    "expression": "time(date and time(\"2017-08-10T10:20:00-00:00\"))",
253
    "expected": "10:20:00Z",
254
    "expected_type": "time",
255
    "comparison": "exact",
256
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
257
  },
258
  {
259
    "id": "1116-feel-time-function:033_8420160da1:feel-time-function_033_8420160da1",
260
    "expression": "time(date and time(\"2017-08-10T10:20:00+01:00\"))",
261
    "expected": "10:20:00+01:00",
262
    "expected_type": "time",
263
    "comparison": "exact",
264
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
265
  },
266
  {
267
    "id": "1116-feel-time-function:034_13c312c376:feel-time-function_034_13c312c376",
268
    "expression": "time(date and time(\"2017-08-10T10:20:00-01:00\"))",
269
    "expected": "10:20:00-01:00",
270
    "expected_type": "time",
271
    "comparison": "exact",
272
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
273
  },
274
  {
275
    "id": "1116-feel-time-function:035_fbfce88ac4:feel-time-function_035_fbfce88ac4",
276
    "expression": "time(date and time(\"2017-08-10T10:20:00Z\"))",
277
    "expected": "10:20:00Z",
278
    "expected_type": "time",
279
    "comparison": "exact",
280
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
281
  },
282
  {
283
    "id": "1116-feel-time-function:036_eb05fabc01:feel-time-function_036_eb05fabc01",
284
    "expression": "string(time(date and time(\"2017-08-10T10:20:00@Europe/Paris\")))",
285
    "expected": "10:20:00@Europe/Paris",
286
    "expected_type": "string",
287
    "comparison": "exact",
288
    "deviation": null
289
  },
290
  {
291
    "id": "1116-feel-time-function:037_eed195f693:feel-time-function_037_eed195f693",
292
    "expression": "string(time(date and time(\"2017-09-04T11:20:00@Asia/Dhaka\")))",
293
    "expected": "11:20:00@Asia/Dhaka",
294
    "expected_type": "string",
295
    "comparison": "exact",
296
    "deviation": null
297
  },
298
  {
299
    "id": "1116-feel-time-function:038_05b311131c:feel-time-function_038_05b311131c",
300
    "expression": "time(11, 59, 45, null)",
301
    "expected": "11:59:45",
302
    "expected_type": "time",
303
    "comparison": "exact",
304
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
305
  },
306
  {
307
    "id": "1116-feel-time-function:039_5b65992f0d:feel-time-function_039_5b65992f0d",
308
    "expression": "time(11, 59, 45, duration(\"PT0H\"))",
309
    "expected": "11:59:45Z",
310
    "expected_type": "time",
311
    "comparison": "exact",
312
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
313
  },
314
  {
315
    "id": "1116-feel-time-function:040_6c9d17b491:feel-time-function_040_6c9d17b491",
316
    "expression": "time(11, 59, 45, duration(\"PT2H\"))",
317
    "expected": "11:59:45+02:00",
318
    "expected_type": "time",
319
    "comparison": "exact",
320
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
321
  },
322
  {
323
    "id": "1116-feel-time-function:041_29a448d57e:feel-time-function_041_29a448d57e",
324
    "expression": "time(11, 59, 45, duration(\"-PT2H\"))",
325
    "expected": "11:59:45-02:00",
326
    "expected_type": "time",
327
    "comparison": "exact",
328
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
329
  },
330
  {
331
    "id": "1116-feel-time-function:042_00146f2977:feel-time-function_042_00146f2977",
332
    "expression": "time(11, 59, 00, duration(\"PT2H1M\"))",
333
    "expected": "11:59:00+02:01",
334
    "expected_type": "time",
335
    "comparison": "exact",
336
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
337
  },
338
  {
339
    "id": "1116-feel-time-function:043_2edfae8414:feel-time-function_043_2edfae8414",
340
    "expression": "time(11, 59, 00, duration(\"-PT2H1M\"))",
341
    "expected": "11:59:00-02:01",
342
    "expected_type": "time",
343
    "comparison": "exact",
344
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
345
  },
346
  {
347
    "id": "1116-feel-time-function:044_3073ffd026:feel-time-function_044_3073ffd026",
348
    "expression": "time(11, 59, 00, duration(\"PT2H1M0S\"))",
349
    "expected": "11:59:00+02:01",
350
    "expected_type": "time",
351
    "comparison": "exact",
352
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
353
  },
354
  {
355
    "id": "1116-feel-time-function:045_ad1339e858:feel-time-function_045_ad1339e858",
356
    "expression": "time(11, 59, 00, duration(\"-PT2H1M0S\"))",
357
    "expected": "11:59:00-02:01",
358
    "expected_type": "time",
359
    "comparison": "exact",
360
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
361
  },
362
  {
363
    "id": "1116-feel-time-function:046_7b80221ec1:feel-time-function_046_7b80221ec1",
364
    "expression": "string(time(11, 59, 45, duration(\"PT2H45M55S\")))",
365
    "expected": "11:59:45+02:45:55",
366
    "expected_type": "string",
367
    "comparison": "exact",
368
    "deviation": null
369
  },
370
  {
371
    "id": "1116-feel-time-function:047_33cd7b9b15:feel-time-function_047_33cd7b9b15",
372
    "expression": "string(time(11, 59, 45, duration(\"-PT2H45M55S\")))",
373
    "expected": "11:59:45-02:45:55",
374
    "expected_type": "string",
375
    "comparison": "exact",
376
    "deviation": null
377
  },
378
  {
379
    "id": "1116-feel-time-function:048_9bedd52886:feel-time-function_048_9bedd52886",
380
    "expression": "time(11, 59, 45, duration(\"-PT0H\"))",
381
    "expected": "11:59:45Z",
382
    "expected_type": "time",
383
    "comparison": "exact",
384
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
385
  },
386
  {
387
    "id": "1116-feel-time-function:049_617d9e09d6:feel-time-function_049_617d9e09d6",
388
    "expression": "time(date and time(date and time(\"2017-08-10T10:20:00\"),time(\"23:59:01\")))",
389
    "expected": "23:59:01",
390
    "expected_type": "time",
391
    "comparison": "exact",
392
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
393
  },
394
  {
395
    "id": "1116-feel-time-function:050_524d9a8146:feel-time-function_050_524d9a8146",
396
    "expression": "time(date and time(date and time(\"2017-08-10T10:20:00\"),time(\"23:59:01.987654321\")))",
397
    "expected": "23:59:01.987654321",
398
    "expected_type": "time",
399
    "comparison": "exact",
400
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
401
  },
402
  {
403
    "id": "1116-feel-time-function:051_a71d2a08f7:feel-time-function_051_a71d2a08f7",
404
    "expression": "time(date and time(date and time(\"2017-09-05T10:20:00\"),time(\"09:15:30+02:00\")))",
405
    "expected": "09:15:30+02:00",
406
    "expected_type": "time",
407
    "comparison": "exact",
408
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
409
  },
410
  {
411
    "id": "1116-feel-time-function:052_d825d58888:feel-time-function_052_d825d58888",
412
    "expression": "time(date and time(date and time(\"2017-09-05T10:20:00\"),time(\"09:15:30Z\")))",
413
    "expected": "09:15:30Z",
414
    "expected_type": "time",
415
    "comparison": "exact",
416
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
417
  },
418
  {
419
    "id": "1116-feel-time-function:053_3d956966c0:feel-time-function_053_3d956966c0",
420
    "expression": "time(date(\"2017-08-10\"))",
421
    "expected": "00:00:00Z",
422
    "expected_type": "time",
423
    "comparison": "exact",
424
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
425
  },
426
  {
427
    "id": "1116-feel-time-function:054_fdc3094237:feel-time-function_ErrorCase_054_fdc3094237",
428
    "expression": "time(2017)",
429
    "expected": null,
430
    "expected_type": "null",
431
    "comparison": "exact",
432
    "deviation": null
433
  },
434
  {
435
    "id": "1116-feel-time-function:055_9b47db6ea4:feel-time-function_ErrorCase_055_9b47db6ea4",
436
    "expression": "time([])",
437
    "expected": null,
438
    "expected_type": "null",
439
    "comparison": "exact",
440
    "deviation": null
441
  },
442
  {
443
    "id": "1116-feel-time-function:056_a8e828d64d:feel-time-function_ErrorCase_056_a8e828d64d",
444
    "expression": "time(\"\")",
445
    "expected": null,
446
    "expected_type": "null",
447
    "comparison": "exact",
448
    "deviation": null
449
  },
450
  {
451
    "id": "1116-feel-time-function:057_d039115cce:feel-time-function_ErrorCase_057_d039115cce",
452
    "expression": "time(\"23:59:60\")",
453
    "expected": null,
454
    "expected_type": "null",
455
    "comparison": "exact",
456
    "deviation": null
457
  },
458
  {
459
    "id": "1116-feel-time-function:058_81dd4b1639:feel-time-function_ErrorCase_058_81dd4b1639",
460
    "expression": "time(\"24:00:01\")",
461
    "expected": null,
462
    "expected_type": "null",
463
    "comparison": "exact",
464
    "deviation": null
465
  },
466
  {
467
    "id": "1116-feel-time-function:059_c7e1705fe1:feel-time-function_ErrorCase_059_c7e1705fe1",
468
    "expression": "time(\"24:01:00\")",
469
    "expected": null,
470
    "expected_type": "null",
471
    "comparison": "exact",
472
    "deviation": null
473
  },
474
  {
475
    "id": "1116-feel-time-function:060_0cf4734fae:feel-time-function_ErrorCase_060_0cf4734fae",
476
    "expression": "time(\"25:00:00\")",
477
    "expected": null,
478
    "expected_type": "null",
479
    "comparison": "exact",
480
    "deviation": null
481
  },
482
  {
483
    "id": "1116-feel-time-function:061_da2717f085:feel-time-function_ErrorCase_061_da2717f085",
484
    "expression": "time(\"00:60:00\")",
485
    "expected": null,
486
    "expected_type": "null",
487
    "comparison": "exact",
488
    "deviation": null
489
  },
490
  {
491
    "id": "1116-feel-time-function:062_6cd1313fa9:feel-time-function_ErrorCase_062_6cd1313fa9",
492
    "expression": "time(\"00:00:61\")",
493
    "expected": null,
494
    "expected_type": "null",
495
    "comparison": "exact",
496
    "deviation": null
497
  },
498
  {
499
    "id": "1116-feel-time-function:063_e85c40b474:feel-time-function_ErrorCase_063_e85c40b474",
500
    "expression": "time(\"7:00:00\")",
501
    "expected": null,
502
    "expected_type": "null",
503
    "comparison": "exact",
504
    "deviation": null
505
  },
506
  {
507
    "id": "1116-feel-time-function:064_df74038c67:feel-time-function_ErrorCase_064_df74038c67",
508
    "expression": "time(\"07:1:00\")",
509
    "expected": null,
510
    "expected_type": "null",
511
    "comparison": "exact",
512
    "deviation": null
513
  },
514
  {
515
    "id": "1116-feel-time-function:065_79eaef6fee:feel-time-function_ErrorCase_065_79eaef6fee",
516
    "expression": "time(\"07:01:2\")",
517
    "expected": null,
518
    "expected_type": "null",
519
    "comparison": "exact",
520
    "deviation": null
521
  },
522
  {
523
    "id": "1116-feel-time-function:066_5116e12fd3:feel-time-function_ErrorCase_066_5116e12fd3",
524
    "expression": "time(\"13:20:00@xyz/abc\")",
525
    "expected": null,
526
    "expected_type": "null",
527
    "comparison": "exact",
528
    "deviation": null
529
  },
530
  {
531
    "id": "1116-feel-time-function:067_8285edad7b:feel-time-function_ErrorCase_067_8285edad7b",
532
    "expression": "time(\"13:20:00+19:00\")",
533
    "expected": null,
534
    "expected_type": "null",
535
    "comparison": "exact",
536
    "deviation": null
537
  },
538
  {
539
    "id": "1116-feel-time-function:068_ad528abb23:feel-time-function_ErrorCase_068_ad528abb23",
540
    "expression": "time(\"13:20:00-19:00\")",
541
    "expected": null,
542
    "expected_type": "null",
543
    "comparison": "exact",
544
    "deviation": null
545
  },
546
  {
547
    "id": "1116-feel-time-function:069_5096701e2e:feel-time-function_ErrorCase_069_5096701e2e",
548
    "expression": "time(\"13:20:00+5:00\")",
549
    "expected": null,
550
    "expected_type": "null",
551
    "comparison": "exact",
552
    "deviation": null
553
  },
554
  {
555
    "id": "1116-feel-time-function:070_8b2e39f570:feel-time-function_ErrorCase_070_8b2e39f570",
556
    "expression": "time(\"13:20:00+5\")",
557
    "expected": null,
558
    "expected_type": "null",
559
    "comparison": "exact",
560
    "deviation": null
561
  },
562
  {
563
    "id": "1116-feel-time-function:071_cf9417648b:feel-time-function_ErrorCase_071_cf9417648b",
564
    "expression": "time(\"13:20:00+02:00@Europe/Paris\")",
565
    "expected": null,
566
    "expected_type": "null",
567
    "comparison": "exact",
568
    "deviation": null
569
  },
570
  {
571
    "id": "1116-feel-time-function:072_4c8c3835e4:feel-time-function_ErrorCase_072_4c8c3835e4",
572
    "expression": "time(\"7:20\")",
573
    "expected": null,
574
    "expected_type": "null",
575
    "comparison": "exact",
576
    "deviation": null
577
  },
578
  {
579
    "id": "1116-feel-time-function:073_a5fc245959:feel-time-function_ErrorCase_073_a5fc245959",
580
    "expression": "time(\"07:2\")",
581
    "expected": null,
582
    "expected_type": "null",
583
    "comparison": "exact",
584
    "deviation": null
585
  },
586
  {
587
    "id": "1116-feel-time-function:074_387d4411ea:feel-time-function_ErrorCase_074_387d4411ea",
588
    "expression": "time(\"11:30:00T\")",
589
    "expected": null,
590
    "expected_type": "null",
591
    "comparison": "exact",
592
    "deviation": null
593
  },
594
  {
595
    "id": "1116-feel-time-function:075_1606dda03d:feel-time-function_ErrorCase_075_1606dda03d",
596
    "expression": "time(\"2012T-12-2511:00:00Z\")",
597
    "expected": null,
598
    "expected_type": "null",
599
    "comparison": "exact",
600
    "deviation": null
601
  },
602
  {
603
    "id": "1116-feel-time-function:076_cb117ca612:feel-time-function_ErrorCase_076_cb117ca612",
604
    "expression": "time(24, 59, 45, null)",
605
    "expected": null,
606
    "expected_type": "null",
607
    "comparison": "exact",
608
    "deviation": null
609
  },
610
  {
611
    "id": "1116-feel-time-function:077_a4daad060c:feel-time-function_ErrorCase_077_a4daad060c",
612
    "expression": "time(-24, 59, 45, null)",
613
    "expected": null,
614
    "expected_type": "null",
615
    "comparison": "exact",
616
    "deviation": null
617
  },
618
  {
619
    "id": "1116-feel-time-function:078_c2fe73418b:feel-time-function_ErrorCase_078_c2fe73418b",
620
    "expression": "time(23, 60, 45, null)",
621
    "expected": null,
622
    "expected_type": "null",
623
    "comparison": "exact",
624
    "deviation": null
625
  },
626
  {
627
    "id": "1116-feel-time-function:079_d2d226c3cd:feel-time-function_ErrorCase_079_d2d226c3cd",
628
    "expression": "time(23, 59, 60, null)",
629
    "expected": null,
630
    "expected_type": "null",
631
    "comparison": "exact",
632
    "deviation": null
633
  },
634
  {
635
    "id": "1116-feel-time-function:082_36a78e5396:feel-time-function_082_36a78e5396",
636
    "expression": "time(hour:11, minute:59, second:0, offset: duration(\"PT2H1M0S\"))",
637
    "expected": "11:59:00+02:01",
638
    "expected_type": "time",
639
    "comparison": "exact",
640
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
641
  },
642
  {
643
    "id": "1116-feel-time-function:083_6b608254c7:feel-time-function_083_6b608254c7",
644
    "expression": "time(hour:11, minute:59, second:0, offset: duration(\"-PT2H\"))",
645
    "expected": "11:59:00-02:00",
646
    "expected_type": "time",
647
    "comparison": "exact",
648
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
649
  }
650
]