@ehmpathy/uni-time 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/domain/UniDateTime.d.ts +11 -0
- package/package.json +1 -1
|
@@ -35,4 +35,15 @@ export type UniDateRange = AsOfGlossary<{
|
|
|
35
35
|
since: UniDate;
|
|
36
36
|
until: UniDate;
|
|
37
37
|
}, 'uni-time', false>;
|
|
38
|
+
/**
|
|
39
|
+
* a universally unambiguous datetime range
|
|
40
|
+
*
|
|
41
|
+
* note
|
|
42
|
+
* - since is inclusive (i.e., you've had freedom _since_ you gained it)
|
|
43
|
+
* - until is exclusive (i.e., you have money _until_ you run out)
|
|
44
|
+
*/
|
|
45
|
+
export type UniDateTimeRange = AsOfGlossary<{
|
|
46
|
+
since: UniDateTime;
|
|
47
|
+
until: UniDateTime;
|
|
48
|
+
}, 'uni-time', false>;
|
|
38
49
|
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ehmpathy/uni-time",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "a glossary of universally intuitive time, date, and duration domain literals",
|
|
5
|
-
"version": "1.0
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"repository": "ehmpathy/uni-time",
|
|
7
7
|
"homepage": "https://github.com/ehmpathy/uni-time",
|
|
8
8
|
"keywords": [
|