add interval functions

This commit is contained in:
nikita-kladov
2023-02-01 13:00:45 +03:00
parent d98839d638
commit 9316632891
4 changed files with 249 additions and 0 deletions
@@ -12,6 +12,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -28,6 +29,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -44,6 +46,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -60,6 +63,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -76,6 +80,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -92,6 +97,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -108,6 +114,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -124,6 +131,7 @@
],
"result_type": "integer",
"platforms": [
"android",
"web",
"ios"
]
@@ -8,6 +8,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -20,6 +21,7 @@
"value": "Failed to evaluate [getIntervalSeconds(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -32,6 +34,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -44,6 +47,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -56,6 +60,7 @@
"value": 10
},
"platforms": [
"android",
"web",
"ios"
]
@@ -68,6 +73,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -80,6 +86,7 @@
"value": "Failed to evaluate [getIntervalTotalSeconds(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -92,6 +99,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -104,6 +112,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -116,6 +125,7 @@
"value": 196330
},
"platforms": [
"android",
"web",
"ios"
]
@@ -128,6 +138,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -140,6 +151,7 @@
"value": "Failed to evaluate [getIntervalMinutes(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -152,6 +164,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -164,6 +177,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -176,6 +190,7 @@
"value": 32
},
"platforms": [
"android",
"web",
"ios"
]
@@ -188,6 +203,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -200,6 +216,7 @@
"value": "Failed to evaluate [getIntervalTotalMinutes(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -212,6 +229,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -224,6 +242,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -236,6 +255,7 @@
"value": 3272
},
"platforms": [
"android",
"web",
"ios"
]
@@ -248,6 +268,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -260,6 +281,7 @@
"value": "Failed to evaluate [getIntervalHours(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -272,6 +294,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -284,6 +307,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -296,6 +320,7 @@
"value": 6
},
"platforms": [
"android",
"web",
"ios"
]
@@ -308,6 +333,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -320,6 +346,7 @@
"value": "Failed to evaluate [getIntervalTotalHours(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -332,6 +359,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -344,6 +372,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -356,6 +385,7 @@
"value": 54
},
"platforms": [
"android",
"web",
"ios"
]
@@ -368,6 +398,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -380,6 +411,7 @@
"value": "Failed to evaluate [getIntervalTotalDays(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -392,6 +424,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -404,6 +437,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -416,6 +450,7 @@
"value": 2
},
"platforms": [
"android",
"web",
"ios"
]
@@ -428,6 +463,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -440,6 +476,7 @@
"value": "Failed to evaluate [getIntervalTotalWeeks(-1)]. Expecting non-negative number of milliseconds."
},
"platforms": [
"android",
"web",
"ios"
]
@@ -452,6 +489,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -464,6 +502,7 @@
"value": 1
},
"platforms": [
"android",
"web",
"ios"
]
@@ -476,6 +515,7 @@
"value": 0
},
"platforms": [
"android",
"web",
"ios"
]
@@ -488,6 +528,7 @@
"value": 2
},
"platforms": [
"android",
"web",
"ios"
]
@@ -500,6 +541,7 @@
"value": "10:50:10"
},
"platforms": [
"android",
"web",
"ios"
]