luigi12345 commited on
Commit
06a5edc
1 Parent(s): 0596764

ee6bab1ee29adaf6880dedff1548a74b27bfe4aa40d1c5d1db250faa982db019

Browse files
Files changed (50) hide show
  1. workers1/auto3d/node_modules/date-fns/isSameSecond.d.ts +43 -0
  2. workers1/auto3d/node_modules/date-fns/isSameSecond.js +49 -0
  3. workers1/auto3d/node_modules/date-fns/isSameSecond.mjs +50 -0
  4. workers1/auto3d/node_modules/date-fns/isSameWeek.d.mts +46 -0
  5. workers1/auto3d/node_modules/date-fns/isSameWeek.d.ts +46 -0
  6. workers1/auto3d/node_modules/date-fns/isSameWeek.js +48 -0
  7. workers1/auto3d/node_modules/date-fns/isSameWeek.mjs +49 -0
  8. workers1/auto3d/node_modules/date-fns/isSameYear.d.mts +24 -0
  9. workers1/auto3d/node_modules/date-fns/isSameYear.d.ts +24 -0
  10. workers1/auto3d/node_modules/date-fns/isSameYear.js +29 -0
  11. workers1/auto3d/node_modules/date-fns/isSameYear.mjs +30 -0
  12. workers1/auto3d/node_modules/date-fns/isSaturday.d.mts +22 -0
  13. workers1/auto3d/node_modules/date-fns/isSaturday.d.ts +22 -0
  14. workers1/auto3d/node_modules/date-fns/isSaturday.js +26 -0
  15. workers1/auto3d/node_modules/date-fns/isSaturday.mjs +27 -0
  16. workers1/auto3d/node_modules/date-fns/isSunday.d.mts +22 -0
  17. workers1/auto3d/node_modules/date-fns/isSunday.d.ts +22 -0
  18. workers1/auto3d/node_modules/date-fns/isSunday.js +26 -0
  19. workers1/auto3d/node_modules/date-fns/isSunday.mjs +27 -0
  20. workers1/auto3d/node_modules/date-fns/isThisHour.d.mts +24 -0
  21. workers1/auto3d/node_modules/date-fns/isThisHour.d.ts +24 -0
  22. workers1/auto3d/node_modules/date-fns/isThisHour.js +29 -0
  23. workers1/auto3d/node_modules/date-fns/isThisHour.mjs +30 -0
  24. workers1/auto3d/node_modules/date-fns/isThisISOWeek.d.mts +25 -0
  25. workers1/auto3d/node_modules/date-fns/isThisISOWeek.d.ts +25 -0
  26. workers1/auto3d/node_modules/date-fns/isThisISOWeek.js +31 -0
  27. workers1/auto3d/node_modules/date-fns/isThisISOWeek.mjs +32 -0
  28. workers1/auto3d/node_modules/date-fns/isThisMinute.d.mts +24 -0
  29. workers1/auto3d/node_modules/date-fns/isThisMinute.d.ts +24 -0
  30. workers1/auto3d/node_modules/date-fns/isThisMinute.js +30 -0
  31. workers1/auto3d/node_modules/date-fns/isThisMinute.mjs +31 -0
  32. workers1/auto3d/node_modules/date-fns/isThisMonth.d.mts +23 -0
  33. workers1/auto3d/node_modules/date-fns/isThisMonth.d.ts +23 -0
  34. workers1/auto3d/node_modules/date-fns/isThisMonth.js +29 -0
  35. workers1/auto3d/node_modules/date-fns/isThisMonth.mjs +30 -0
  36. workers1/auto3d/node_modules/date-fns/isThisQuarter.d.mts +23 -0
  37. workers1/auto3d/node_modules/date-fns/isThisQuarter.d.ts +23 -0
  38. workers1/auto3d/node_modules/date-fns/isThisQuarter.js +28 -0
  39. workers1/auto3d/node_modules/date-fns/isThisQuarter.mjs +29 -0
  40. workers1/auto3d/node_modules/date-fns/isThisSecond.d.mts +24 -0
  41. workers1/auto3d/node_modules/date-fns/isThisSecond.d.ts +24 -0
  42. workers1/auto3d/node_modules/date-fns/isThisSecond.js +29 -0
  43. workers1/auto3d/node_modules/date-fns/isThisSecond.mjs +30 -0
  44. workers1/auto3d/node_modules/date-fns/isThisWeek.d.mts +38 -0
  45. workers1/auto3d/node_modules/date-fns/isThisWeek.d.ts +38 -0
  46. workers1/auto3d/node_modules/date-fns/isThisWeek.js +39 -0
  47. workers1/auto3d/node_modules/date-fns/isThisWeek.mjs +40 -0
  48. workers1/auto3d/node_modules/date-fns/isThisYear.d.mts +23 -0
  49. workers1/auto3d/node_modules/date-fns/isThisYear.d.ts +23 -0
  50. workers1/auto3d/node_modules/date-fns/isThisYear.js +28 -0
workers1/auto3d/node_modules/date-fns/isSameSecond.d.ts ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSameSecond
3
+ * @category Second Helpers
4
+ * @summary Are the given dates in the same second (and hour and day)?
5
+ *
6
+ * @description
7
+ * Are the given dates in the same second (and hour and day)?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param dateLeft - The first date to check
12
+ * @param dateRight - The second date to check
13
+ *
14
+ * @returns The dates are in the same second (and hour and day)
15
+ *
16
+ * @example
17
+ * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second?
18
+ * const result = isSameSecond(
19
+ * new Date(2014, 8, 4, 6, 30, 15),
20
+ * new Date(2014, 8, 4, 6, 30, 15, 500)
21
+ * )
22
+ * //=> true
23
+ *
24
+ * @example
25
+ * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second?
26
+ * const result = isSameSecond(
27
+ * new Date(2014, 8, 4, 6, 0, 15),
28
+ * new Date(2014, 8, 4, 6, 1, 15)
29
+ * )
30
+ * //=> false
31
+ *
32
+ * @example
33
+ * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second?
34
+ * const result = isSameSecond(
35
+ * new Date(2014, 8, 4, 6, 0, 15),
36
+ * new Date(2014, 8, 5, 6, 0, 15)
37
+ * )
38
+ * //=> false
39
+ */
40
+ export declare function isSameSecond<DateType extends Date>(
41
+ dateLeft: DateType | number | string,
42
+ dateRight: DateType | number | string,
43
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSameSecond.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isSameSecond = isSameSecond;
3
+ var _index = require("./startOfSecond.js");
4
+
5
+ /**
6
+ * @name isSameSecond
7
+ * @category Second Helpers
8
+ * @summary Are the given dates in the same second (and hour and day)?
9
+ *
10
+ * @description
11
+ * Are the given dates in the same second (and hour and day)?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param dateLeft - The first date to check
16
+ * @param dateRight - The second date to check
17
+ *
18
+ * @returns The dates are in the same second (and hour and day)
19
+ *
20
+ * @example
21
+ * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second?
22
+ * const result = isSameSecond(
23
+ * new Date(2014, 8, 4, 6, 30, 15),
24
+ * new Date(2014, 8, 4, 6, 30, 15, 500)
25
+ * )
26
+ * //=> true
27
+ *
28
+ * @example
29
+ * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second?
30
+ * const result = isSameSecond(
31
+ * new Date(2014, 8, 4, 6, 0, 15),
32
+ * new Date(2014, 8, 4, 6, 1, 15)
33
+ * )
34
+ * //=> false
35
+ *
36
+ * @example
37
+ * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second?
38
+ * const result = isSameSecond(
39
+ * new Date(2014, 8, 4, 6, 0, 15),
40
+ * new Date(2014, 8, 5, 6, 0, 15)
41
+ * )
42
+ * //=> false
43
+ */
44
+ function isSameSecond(dateLeft, dateRight) {
45
+ const dateLeftStartOfSecond = (0, _index.startOfSecond)(dateLeft);
46
+ const dateRightStartOfSecond = (0, _index.startOfSecond)(dateRight);
47
+
48
+ return +dateLeftStartOfSecond === +dateRightStartOfSecond;
49
+ }
workers1/auto3d/node_modules/date-fns/isSameSecond.mjs ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { startOfSecond } from "./startOfSecond.mjs";
2
+
3
+ /**
4
+ * @name isSameSecond
5
+ * @category Second Helpers
6
+ * @summary Are the given dates in the same second (and hour and day)?
7
+ *
8
+ * @description
9
+ * Are the given dates in the same second (and hour and day)?
10
+ *
11
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
12
+ *
13
+ * @param dateLeft - The first date to check
14
+ * @param dateRight - The second date to check
15
+ *
16
+ * @returns The dates are in the same second (and hour and day)
17
+ *
18
+ * @example
19
+ * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second?
20
+ * const result = isSameSecond(
21
+ * new Date(2014, 8, 4, 6, 30, 15),
22
+ * new Date(2014, 8, 4, 6, 30, 15, 500)
23
+ * )
24
+ * //=> true
25
+ *
26
+ * @example
27
+ * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second?
28
+ * const result = isSameSecond(
29
+ * new Date(2014, 8, 4, 6, 0, 15),
30
+ * new Date(2014, 8, 4, 6, 1, 15)
31
+ * )
32
+ * //=> false
33
+ *
34
+ * @example
35
+ * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second?
36
+ * const result = isSameSecond(
37
+ * new Date(2014, 8, 4, 6, 0, 15),
38
+ * new Date(2014, 8, 5, 6, 0, 15)
39
+ * )
40
+ * //=> false
41
+ */
42
+ export function isSameSecond(dateLeft, dateRight) {
43
+ const dateLeftStartOfSecond = startOfSecond(dateLeft);
44
+ const dateRightStartOfSecond = startOfSecond(dateRight);
45
+
46
+ return +dateLeftStartOfSecond === +dateRightStartOfSecond;
47
+ }
48
+
49
+ // Fallback for modularized imports:
50
+ export default isSameSecond;
workers1/auto3d/node_modules/date-fns/isSameWeek.d.mts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link isSameWeek} function options.
4
+ */
5
+ export interface IsSameWeekOptions
6
+ extends WeekOptions,
7
+ LocalizedOptions<"options"> {}
8
+ /**
9
+ * @name isSameWeek
10
+ * @category Week Helpers
11
+ * @summary Are the given dates in the same week (and month and year)?
12
+ *
13
+ * @description
14
+ * Are the given dates in the same week (and month and year)?
15
+ *
16
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
+ *
18
+ * @param dateLeft - The first date to check
19
+ * @param dateRight - The second date to check
20
+ * @param options - An object with options
21
+ *
22
+ * @returns The dates are in the same week (and month and year)
23
+ *
24
+ * @example
25
+ * // Are 31 August 2014 and 4 September 2014 in the same week?
26
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4))
27
+ * //=> true
28
+ *
29
+ * @example
30
+ * // If week starts with Monday,
31
+ * // are 31 August 2014 and 4 September 2014 in the same week?
32
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), {
33
+ * weekStartsOn: 1
34
+ * })
35
+ * //=> false
36
+ *
37
+ * @example
38
+ * // Are 1 January 2014 and 1 January 2015 in the same week?
39
+ * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1))
40
+ * //=> false
41
+ */
42
+ export declare function isSameWeek<DateType extends Date>(
43
+ dateLeft: DateType | number | string,
44
+ dateRight: DateType | number | string,
45
+ options?: IsSameWeekOptions,
46
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSameWeek.d.ts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link isSameWeek} function options.
4
+ */
5
+ export interface IsSameWeekOptions
6
+ extends WeekOptions,
7
+ LocalizedOptions<"options"> {}
8
+ /**
9
+ * @name isSameWeek
10
+ * @category Week Helpers
11
+ * @summary Are the given dates in the same week (and month and year)?
12
+ *
13
+ * @description
14
+ * Are the given dates in the same week (and month and year)?
15
+ *
16
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
17
+ *
18
+ * @param dateLeft - The first date to check
19
+ * @param dateRight - The second date to check
20
+ * @param options - An object with options
21
+ *
22
+ * @returns The dates are in the same week (and month and year)
23
+ *
24
+ * @example
25
+ * // Are 31 August 2014 and 4 September 2014 in the same week?
26
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4))
27
+ * //=> true
28
+ *
29
+ * @example
30
+ * // If week starts with Monday,
31
+ * // are 31 August 2014 and 4 September 2014 in the same week?
32
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), {
33
+ * weekStartsOn: 1
34
+ * })
35
+ * //=> false
36
+ *
37
+ * @example
38
+ * // Are 1 January 2014 and 1 January 2015 in the same week?
39
+ * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1))
40
+ * //=> false
41
+ */
42
+ export declare function isSameWeek<DateType extends Date>(
43
+ dateLeft: DateType | number | string,
44
+ dateRight: DateType | number | string,
45
+ options?: IsSameWeekOptions,
46
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSameWeek.js ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isSameWeek = isSameWeek;
3
+ var _index = require("./startOfWeek.js");
4
+
5
+ /**
6
+ * The {@link isSameWeek} function options.
7
+ */
8
+
9
+ /**
10
+ * @name isSameWeek
11
+ * @category Week Helpers
12
+ * @summary Are the given dates in the same week (and month and year)?
13
+ *
14
+ * @description
15
+ * Are the given dates in the same week (and month and year)?
16
+ *
17
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
+ *
19
+ * @param dateLeft - The first date to check
20
+ * @param dateRight - The second date to check
21
+ * @param options - An object with options
22
+ *
23
+ * @returns The dates are in the same week (and month and year)
24
+ *
25
+ * @example
26
+ * // Are 31 August 2014 and 4 September 2014 in the same week?
27
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4))
28
+ * //=> true
29
+ *
30
+ * @example
31
+ * // If week starts with Monday,
32
+ * // are 31 August 2014 and 4 September 2014 in the same week?
33
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), {
34
+ * weekStartsOn: 1
35
+ * })
36
+ * //=> false
37
+ *
38
+ * @example
39
+ * // Are 1 January 2014 and 1 January 2015 in the same week?
40
+ * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1))
41
+ * //=> false
42
+ */
43
+ function isSameWeek(dateLeft, dateRight, options) {
44
+ const dateLeftStartOfWeek = (0, _index.startOfWeek)(dateLeft, options);
45
+ const dateRightStartOfWeek = (0, _index.startOfWeek)(dateRight, options);
46
+
47
+ return +dateLeftStartOfWeek === +dateRightStartOfWeek;
48
+ }
workers1/auto3d/node_modules/date-fns/isSameWeek.mjs ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { startOfWeek } from "./startOfWeek.mjs";
2
+
3
+ /**
4
+ * The {@link isSameWeek} function options.
5
+ */
6
+
7
+ /**
8
+ * @name isSameWeek
9
+ * @category Week Helpers
10
+ * @summary Are the given dates in the same week (and month and year)?
11
+ *
12
+ * @description
13
+ * Are the given dates in the same week (and month and year)?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param dateLeft - The first date to check
18
+ * @param dateRight - The second date to check
19
+ * @param options - An object with options
20
+ *
21
+ * @returns The dates are in the same week (and month and year)
22
+ *
23
+ * @example
24
+ * // Are 31 August 2014 and 4 September 2014 in the same week?
25
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4))
26
+ * //=> true
27
+ *
28
+ * @example
29
+ * // If week starts with Monday,
30
+ * // are 31 August 2014 and 4 September 2014 in the same week?
31
+ * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), {
32
+ * weekStartsOn: 1
33
+ * })
34
+ * //=> false
35
+ *
36
+ * @example
37
+ * // Are 1 January 2014 and 1 January 2015 in the same week?
38
+ * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1))
39
+ * //=> false
40
+ */
41
+ export function isSameWeek(dateLeft, dateRight, options) {
42
+ const dateLeftStartOfWeek = startOfWeek(dateLeft, options);
43
+ const dateRightStartOfWeek = startOfWeek(dateRight, options);
44
+
45
+ return +dateLeftStartOfWeek === +dateRightStartOfWeek;
46
+ }
47
+
48
+ // Fallback for modularized imports:
49
+ export default isSameWeek;
workers1/auto3d/node_modules/date-fns/isSameYear.d.mts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSameYear
3
+ * @category Year Helpers
4
+ * @summary Are the given dates in the same year?
5
+ *
6
+ * @description
7
+ * Are the given dates in the same year?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param dateLeft - The first date to check
12
+ * @param dateRight - The second date to check
13
+ *
14
+ * @returns The dates are in the same year
15
+ *
16
+ * @example
17
+ * // Are 2 September 2014 and 25 September 2014 in the same year?
18
+ * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))
19
+ * //=> true
20
+ */
21
+ export declare function isSameYear<DateType extends Date>(
22
+ dateLeft: DateType | number | string,
23
+ dateRight: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSameYear.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSameYear
3
+ * @category Year Helpers
4
+ * @summary Are the given dates in the same year?
5
+ *
6
+ * @description
7
+ * Are the given dates in the same year?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param dateLeft - The first date to check
12
+ * @param dateRight - The second date to check
13
+ *
14
+ * @returns The dates are in the same year
15
+ *
16
+ * @example
17
+ * // Are 2 September 2014 and 25 September 2014 in the same year?
18
+ * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))
19
+ * //=> true
20
+ */
21
+ export declare function isSameYear<DateType extends Date>(
22
+ dateLeft: DateType | number | string,
23
+ dateRight: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSameYear.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isSameYear = isSameYear;
3
+ var _index = require("./toDate.js");
4
+
5
+ /**
6
+ * @name isSameYear
7
+ * @category Year Helpers
8
+ * @summary Are the given dates in the same year?
9
+ *
10
+ * @description
11
+ * Are the given dates in the same year?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param dateLeft - The first date to check
16
+ * @param dateRight - The second date to check
17
+ *
18
+ * @returns The dates are in the same year
19
+ *
20
+ * @example
21
+ * // Are 2 September 2014 and 25 September 2014 in the same year?
22
+ * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))
23
+ * //=> true
24
+ */
25
+ function isSameYear(dateLeft, dateRight) {
26
+ const _dateLeft = (0, _index.toDate)(dateLeft);
27
+ const _dateRight = (0, _index.toDate)(dateRight);
28
+ return _dateLeft.getFullYear() === _dateRight.getFullYear();
29
+ }
workers1/auto3d/node_modules/date-fns/isSameYear.mjs ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { toDate } from "./toDate.mjs";
2
+
3
+ /**
4
+ * @name isSameYear
5
+ * @category Year Helpers
6
+ * @summary Are the given dates in the same year?
7
+ *
8
+ * @description
9
+ * Are the given dates in the same year?
10
+ *
11
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
12
+ *
13
+ * @param dateLeft - The first date to check
14
+ * @param dateRight - The second date to check
15
+ *
16
+ * @returns The dates are in the same year
17
+ *
18
+ * @example
19
+ * // Are 2 September 2014 and 25 September 2014 in the same year?
20
+ * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))
21
+ * //=> true
22
+ */
23
+ export function isSameYear(dateLeft, dateRight) {
24
+ const _dateLeft = toDate(dateLeft);
25
+ const _dateRight = toDate(dateRight);
26
+ return _dateLeft.getFullYear() === _dateRight.getFullYear();
27
+ }
28
+
29
+ // Fallback for modularized imports:
30
+ export default isSameYear;
workers1/auto3d/node_modules/date-fns/isSaturday.d.mts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSaturday
3
+ * @category Weekday Helpers
4
+ * @summary Is the given date Saturday?
5
+ *
6
+ * @description
7
+ * Is the given date Saturday?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param date - The date to check
12
+ *
13
+ * @returns The date is Saturday
14
+ *
15
+ * @example
16
+ * // Is 27 September 2014 Saturday?
17
+ * const result = isSaturday(new Date(2014, 8, 27))
18
+ * //=> true
19
+ */
20
+ export declare function isSaturday<DateType extends Date>(
21
+ date: DateType | number | string,
22
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSaturday.d.ts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSaturday
3
+ * @category Weekday Helpers
4
+ * @summary Is the given date Saturday?
5
+ *
6
+ * @description
7
+ * Is the given date Saturday?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param date - The date to check
12
+ *
13
+ * @returns The date is Saturday
14
+ *
15
+ * @example
16
+ * // Is 27 September 2014 Saturday?
17
+ * const result = isSaturday(new Date(2014, 8, 27))
18
+ * //=> true
19
+ */
20
+ export declare function isSaturday<DateType extends Date>(
21
+ date: DateType | number | string,
22
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSaturday.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isSaturday = isSaturday;
3
+ var _index = require("./toDate.js");
4
+
5
+ /**
6
+ * @name isSaturday
7
+ * @category Weekday Helpers
8
+ * @summary Is the given date Saturday?
9
+ *
10
+ * @description
11
+ * Is the given date Saturday?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is Saturday
18
+ *
19
+ * @example
20
+ * // Is 27 September 2014 Saturday?
21
+ * const result = isSaturday(new Date(2014, 8, 27))
22
+ * //=> true
23
+ */
24
+ function isSaturday(date) {
25
+ return (0, _index.toDate)(date).getDay() === 6;
26
+ }
workers1/auto3d/node_modules/date-fns/isSaturday.mjs ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { toDate } from "./toDate.mjs";
2
+
3
+ /**
4
+ * @name isSaturday
5
+ * @category Weekday Helpers
6
+ * @summary Is the given date Saturday?
7
+ *
8
+ * @description
9
+ * Is the given date Saturday?
10
+ *
11
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
12
+ *
13
+ * @param date - The date to check
14
+ *
15
+ * @returns The date is Saturday
16
+ *
17
+ * @example
18
+ * // Is 27 September 2014 Saturday?
19
+ * const result = isSaturday(new Date(2014, 8, 27))
20
+ * //=> true
21
+ */
22
+ export function isSaturday(date) {
23
+ return toDate(date).getDay() === 6;
24
+ }
25
+
26
+ // Fallback for modularized imports:
27
+ export default isSaturday;
workers1/auto3d/node_modules/date-fns/isSunday.d.mts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSunday
3
+ * @category Weekday Helpers
4
+ * @summary Is the given date Sunday?
5
+ *
6
+ * @description
7
+ * Is the given date Sunday?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param date - The date to check
12
+ *
13
+ * @returns The date is Sunday
14
+ *
15
+ * @example
16
+ * // Is 21 September 2014 Sunday?
17
+ * const result = isSunday(new Date(2014, 8, 21))
18
+ * //=> true
19
+ */
20
+ export declare function isSunday<DateType extends Date>(
21
+ date: DateType | number | string,
22
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSunday.d.ts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isSunday
3
+ * @category Weekday Helpers
4
+ * @summary Is the given date Sunday?
5
+ *
6
+ * @description
7
+ * Is the given date Sunday?
8
+ *
9
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
10
+ *
11
+ * @param date - The date to check
12
+ *
13
+ * @returns The date is Sunday
14
+ *
15
+ * @example
16
+ * // Is 21 September 2014 Sunday?
17
+ * const result = isSunday(new Date(2014, 8, 21))
18
+ * //=> true
19
+ */
20
+ export declare function isSunday<DateType extends Date>(
21
+ date: DateType | number | string,
22
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isSunday.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isSunday = isSunday;
3
+ var _index = require("./toDate.js");
4
+
5
+ /**
6
+ * @name isSunday
7
+ * @category Weekday Helpers
8
+ * @summary Is the given date Sunday?
9
+ *
10
+ * @description
11
+ * Is the given date Sunday?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is Sunday
18
+ *
19
+ * @example
20
+ * // Is 21 September 2014 Sunday?
21
+ * const result = isSunday(new Date(2014, 8, 21))
22
+ * //=> true
23
+ */
24
+ function isSunday(date) {
25
+ return (0, _index.toDate)(date).getDay() === 0;
26
+ }
workers1/auto3d/node_modules/date-fns/isSunday.mjs ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { toDate } from "./toDate.mjs";
2
+
3
+ /**
4
+ * @name isSunday
5
+ * @category Weekday Helpers
6
+ * @summary Is the given date Sunday?
7
+ *
8
+ * @description
9
+ * Is the given date Sunday?
10
+ *
11
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
12
+ *
13
+ * @param date - The date to check
14
+ *
15
+ * @returns The date is Sunday
16
+ *
17
+ * @example
18
+ * // Is 21 September 2014 Sunday?
19
+ * const result = isSunday(new Date(2014, 8, 21))
20
+ * //=> true
21
+ */
22
+ export function isSunday(date) {
23
+ return toDate(date).getDay() === 0;
24
+ }
25
+
26
+ // Fallback for modularized imports:
27
+ export default isSunday;
workers1/auto3d/node_modules/date-fns/isThisHour.d.mts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisHour
3
+ * @category Hour Helpers
4
+ * @summary Is the given date in the same hour as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same hour as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this hour
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:00:00 in this hour?
19
+ * const result = isThisHour(new Date(2014, 8, 25, 18))
20
+ * //=> true
21
+ */
22
+ export declare function isThisHour<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisHour.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisHour
3
+ * @category Hour Helpers
4
+ * @summary Is the given date in the same hour as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same hour as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this hour
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:00:00 in this hour?
19
+ * const result = isThisHour(new Date(2014, 8, 25, 18))
20
+ * //=> true
21
+ */
22
+ export declare function isThisHour<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisHour.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisHour = isThisHour;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameHour.js");
5
+
6
+ /**
7
+ * @name isThisHour
8
+ * @category Hour Helpers
9
+ * @summary Is the given date in the same hour as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same hour as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this hour
20
+ *
21
+ * @example
22
+ * // If now is 25 September 2014 18:30:15.500,
23
+ * // is 25 September 2014 18:00:00 in this hour?
24
+ * const result = isThisHour(new Date(2014, 8, 25, 18))
25
+ * //=> true
26
+ */
27
+ function isThisHour(date) {
28
+ return (0, _index2.isSameHour)(date, (0, _index.constructNow)(date));
29
+ }
workers1/auto3d/node_modules/date-fns/isThisHour.mjs ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameHour } from "./isSameHour.mjs";
3
+
4
+ /**
5
+ * @name isThisHour
6
+ * @category Hour Helpers
7
+ * @summary Is the given date in the same hour as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same hour as the current date?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is in this hour
18
+ *
19
+ * @example
20
+ * // If now is 25 September 2014 18:30:15.500,
21
+ * // is 25 September 2014 18:00:00 in this hour?
22
+ * const result = isThisHour(new Date(2014, 8, 25, 18))
23
+ * //=> true
24
+ */
25
+ export function isThisHour(date) {
26
+ return isSameHour(date, constructNow(date));
27
+ }
28
+
29
+ // Fallback for modularized imports:
30
+ export default isThisHour;
workers1/auto3d/node_modules/date-fns/isThisISOWeek.d.mts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisISOWeek
3
+ * @category ISO Week Helpers
4
+ * @summary Is the given date in the same ISO week as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same ISO week as the current date?
9
+ *
10
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
11
+ *
12
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
13
+ *
14
+ * @param date - The date to check
15
+ *
16
+ * @returns The date is in this ISO week
17
+ *
18
+ * @example
19
+ * // If today is 25 September 2014, is 22 September 2014 in this ISO week?
20
+ * const result = isThisISOWeek(new Date(2014, 8, 22))
21
+ * //=> true
22
+ */
23
+ export declare function isThisISOWeek<DateType extends Date>(
24
+ date: DateType | number | string,
25
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisISOWeek.d.ts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisISOWeek
3
+ * @category ISO Week Helpers
4
+ * @summary Is the given date in the same ISO week as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same ISO week as the current date?
9
+ *
10
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
11
+ *
12
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
13
+ *
14
+ * @param date - The date to check
15
+ *
16
+ * @returns The date is in this ISO week
17
+ *
18
+ * @example
19
+ * // If today is 25 September 2014, is 22 September 2014 in this ISO week?
20
+ * const result = isThisISOWeek(new Date(2014, 8, 22))
21
+ * //=> true
22
+ */
23
+ export declare function isThisISOWeek<DateType extends Date>(
24
+ date: DateType | number | string,
25
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisISOWeek.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisISOWeek = isThisISOWeek;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameISOWeek.js");
5
+
6
+ /**
7
+ * @name isThisISOWeek
8
+ * @category ISO Week Helpers
9
+ * @summary Is the given date in the same ISO week as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same ISO week as the current date?
14
+ *
15
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
16
+ *
17
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
+ *
19
+ * @param date - The date to check
20
+ *
21
+ * @returns The date is in this ISO week
22
+ *
23
+ * @example
24
+ * // If today is 25 September 2014, is 22 September 2014 in this ISO week?
25
+ * const result = isThisISOWeek(new Date(2014, 8, 22))
26
+ * //=> true
27
+ */
28
+
29
+ function isThisISOWeek(date) {
30
+ return (0, _index2.isSameISOWeek)(date, (0, _index.constructNow)(date));
31
+ }
workers1/auto3d/node_modules/date-fns/isThisISOWeek.mjs ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameISOWeek } from "./isSameISOWeek.mjs";
3
+
4
+ /**
5
+ * @name isThisISOWeek
6
+ * @category ISO Week Helpers
7
+ * @summary Is the given date in the same ISO week as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same ISO week as the current date?
12
+ *
13
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this ISO week
20
+ *
21
+ * @example
22
+ * // If today is 25 September 2014, is 22 September 2014 in this ISO week?
23
+ * const result = isThisISOWeek(new Date(2014, 8, 22))
24
+ * //=> true
25
+ */
26
+
27
+ export function isThisISOWeek(date) {
28
+ return isSameISOWeek(date, constructNow(date));
29
+ }
30
+
31
+ // Fallback for modularized imports:
32
+ export default isThisISOWeek;
workers1/auto3d/node_modules/date-fns/isThisMinute.d.mts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisMinute
3
+ * @category Minute Helpers
4
+ * @summary Is the given date in the same minute as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same minute as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this minute
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:30:00 in this minute?
19
+ * const result = isThisMinute(new Date(2014, 8, 25, 18, 30))
20
+ * //=> true
21
+ */
22
+ export declare function isThisMinute<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisMinute.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisMinute
3
+ * @category Minute Helpers
4
+ * @summary Is the given date in the same minute as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same minute as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this minute
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:30:00 in this minute?
19
+ * const result = isThisMinute(new Date(2014, 8, 25, 18, 30))
20
+ * //=> true
21
+ */
22
+ export declare function isThisMinute<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisMinute.js ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisMinute = isThisMinute;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameMinute.js");
5
+
6
+ /**
7
+ * @name isThisMinute
8
+ * @category Minute Helpers
9
+ * @summary Is the given date in the same minute as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same minute as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this minute
20
+ *
21
+ * @example
22
+ * // If now is 25 September 2014 18:30:15.500,
23
+ * // is 25 September 2014 18:30:00 in this minute?
24
+ * const result = isThisMinute(new Date(2014, 8, 25, 18, 30))
25
+ * //=> true
26
+ */
27
+
28
+ function isThisMinute(date) {
29
+ return (0, _index2.isSameMinute)(date, (0, _index.constructNow)(date));
30
+ }
workers1/auto3d/node_modules/date-fns/isThisMinute.mjs ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameMinute } from "./isSameMinute.mjs";
3
+
4
+ /**
5
+ * @name isThisMinute
6
+ * @category Minute Helpers
7
+ * @summary Is the given date in the same minute as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same minute as the current date?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is in this minute
18
+ *
19
+ * @example
20
+ * // If now is 25 September 2014 18:30:15.500,
21
+ * // is 25 September 2014 18:30:00 in this minute?
22
+ * const result = isThisMinute(new Date(2014, 8, 25, 18, 30))
23
+ * //=> true
24
+ */
25
+
26
+ export function isThisMinute(date) {
27
+ return isSameMinute(date, constructNow(date));
28
+ }
29
+
30
+ // Fallback for modularized imports:
31
+ export default isThisMinute;
workers1/auto3d/node_modules/date-fns/isThisMonth.d.mts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisMonth
3
+ * @category Month Helpers
4
+ * @summary Is the given date in the same month as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same month as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this month
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 15 September 2014 in this month?
18
+ * const result = isThisMonth(new Date(2014, 8, 15))
19
+ * //=> true
20
+ */
21
+ export declare function isThisMonth<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisMonth.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisMonth
3
+ * @category Month Helpers
4
+ * @summary Is the given date in the same month as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same month as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this month
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 15 September 2014 in this month?
18
+ * const result = isThisMonth(new Date(2014, 8, 15))
19
+ * //=> true
20
+ */
21
+ export declare function isThisMonth<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisMonth.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisMonth = isThisMonth;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameMonth.js");
5
+
6
+ /**
7
+ * @name isThisMonth
8
+ * @category Month Helpers
9
+ * @summary Is the given date in the same month as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same month as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this month
20
+ *
21
+ * @example
22
+ * // If today is 25 September 2014, is 15 September 2014 in this month?
23
+ * const result = isThisMonth(new Date(2014, 8, 15))
24
+ * //=> true
25
+ */
26
+
27
+ function isThisMonth(date) {
28
+ return (0, _index2.isSameMonth)(date, (0, _index.constructNow)(date));
29
+ }
workers1/auto3d/node_modules/date-fns/isThisMonth.mjs ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameMonth } from "./isSameMonth.mjs";
3
+
4
+ /**
5
+ * @name isThisMonth
6
+ * @category Month Helpers
7
+ * @summary Is the given date in the same month as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same month as the current date?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is in this month
18
+ *
19
+ * @example
20
+ * // If today is 25 September 2014, is 15 September 2014 in this month?
21
+ * const result = isThisMonth(new Date(2014, 8, 15))
22
+ * //=> true
23
+ */
24
+
25
+ export function isThisMonth(date) {
26
+ return isSameMonth(date, constructNow(date));
27
+ }
28
+
29
+ // Fallback for modularized imports:
30
+ export default isThisMonth;
workers1/auto3d/node_modules/date-fns/isThisQuarter.d.mts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisQuarter
3
+ * @category Quarter Helpers
4
+ * @summary Is the given date in the same quarter as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same quarter as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this quarter
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 2 July 2014 in this quarter?
18
+ * const result = isThisQuarter(new Date(2014, 6, 2))
19
+ * //=> true
20
+ */
21
+ export declare function isThisQuarter<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisQuarter.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisQuarter
3
+ * @category Quarter Helpers
4
+ * @summary Is the given date in the same quarter as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same quarter as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this quarter
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 2 July 2014 in this quarter?
18
+ * const result = isThisQuarter(new Date(2014, 6, 2))
19
+ * //=> true
20
+ */
21
+ export declare function isThisQuarter<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisQuarter.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisQuarter = isThisQuarter;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameQuarter.js");
5
+
6
+ /**
7
+ * @name isThisQuarter
8
+ * @category Quarter Helpers
9
+ * @summary Is the given date in the same quarter as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same quarter as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this quarter
20
+ *
21
+ * @example
22
+ * // If today is 25 September 2014, is 2 July 2014 in this quarter?
23
+ * const result = isThisQuarter(new Date(2014, 6, 2))
24
+ * //=> true
25
+ */
26
+ function isThisQuarter(date) {
27
+ return (0, _index2.isSameQuarter)(date, (0, _index.constructNow)(date));
28
+ }
workers1/auto3d/node_modules/date-fns/isThisQuarter.mjs ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameQuarter } from "./isSameQuarter.mjs";
3
+
4
+ /**
5
+ * @name isThisQuarter
6
+ * @category Quarter Helpers
7
+ * @summary Is the given date in the same quarter as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same quarter as the current date?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is in this quarter
18
+ *
19
+ * @example
20
+ * // If today is 25 September 2014, is 2 July 2014 in this quarter?
21
+ * const result = isThisQuarter(new Date(2014, 6, 2))
22
+ * //=> true
23
+ */
24
+ export function isThisQuarter(date) {
25
+ return isSameQuarter(date, constructNow(date));
26
+ }
27
+
28
+ // Fallback for modularized imports:
29
+ export default isThisQuarter;
workers1/auto3d/node_modules/date-fns/isThisSecond.d.mts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisSecond
3
+ * @category Second Helpers
4
+ * @summary Is the given date in the same second as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same second as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this second
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:30:15.000 in this second?
19
+ * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15))
20
+ * //=> true
21
+ */
22
+ export declare function isThisSecond<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisSecond.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisSecond
3
+ * @category Second Helpers
4
+ * @summary Is the given date in the same second as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same second as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this second
15
+ *
16
+ * @example
17
+ * // If now is 25 September 2014 18:30:15.500,
18
+ * // is 25 September 2014 18:30:15.000 in this second?
19
+ * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15))
20
+ * //=> true
21
+ */
22
+ export declare function isThisSecond<DateType extends Date>(
23
+ date: DateType | number | string,
24
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisSecond.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisSecond = isThisSecond;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameSecond.js");
5
+
6
+ /**
7
+ * @name isThisSecond
8
+ * @category Second Helpers
9
+ * @summary Is the given date in the same second as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same second as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this second
20
+ *
21
+ * @example
22
+ * // If now is 25 September 2014 18:30:15.500,
23
+ * // is 25 September 2014 18:30:15.000 in this second?
24
+ * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15))
25
+ * //=> true
26
+ */
27
+ function isThisSecond(date) {
28
+ return (0, _index2.isSameSecond)(date, (0, _index.constructNow)(date));
29
+ }
workers1/auto3d/node_modules/date-fns/isThisSecond.mjs ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameSecond } from "./isSameSecond.mjs";
3
+
4
+ /**
5
+ * @name isThisSecond
6
+ * @category Second Helpers
7
+ * @summary Is the given date in the same second as the current date?
8
+ * @pure false
9
+ *
10
+ * @description
11
+ * Is the given date in the same second as the current date?
12
+ *
13
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
14
+ *
15
+ * @param date - The date to check
16
+ *
17
+ * @returns The date is in this second
18
+ *
19
+ * @example
20
+ * // If now is 25 September 2014 18:30:15.500,
21
+ * // is 25 September 2014 18:30:15.000 in this second?
22
+ * const result = isThisSecond(new Date(2014, 8, 25, 18, 30, 15))
23
+ * //=> true
24
+ */
25
+ export function isThisSecond(date) {
26
+ return isSameSecond(date, constructNow(date));
27
+ }
28
+
29
+ // Fallback for modularized imports:
30
+ export default isThisSecond;
workers1/auto3d/node_modules/date-fns/isThisWeek.d.mts ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link isThisWeek} function options.
4
+ */
5
+ export interface IsThisWeekOptions
6
+ extends WeekOptions,
7
+ LocalizedOptions<"options"> {}
8
+ /**
9
+ * @name isThisWeek
10
+ * @category Week Helpers
11
+ * @summary Is the given date in the same week as the current date?
12
+ * @pure false
13
+ *
14
+ * @description
15
+ * Is the given date in the same week as the current date?
16
+ *
17
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
+ *
19
+ * @param date - The date to check
20
+ * @param options - The object with options
21
+ *
22
+ * @returns The date is in this week
23
+ *
24
+ * @example
25
+ * // If today is 25 September 2014, is 21 September 2014 in this week?
26
+ * const result = isThisWeek(new Date(2014, 8, 21))
27
+ * //=> true
28
+ *
29
+ * @example
30
+ * // If today is 25 September 2014 and week starts with Monday
31
+ * // is 21 September 2014 in this week?
32
+ * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 })
33
+ * //=> false
34
+ */
35
+ export declare function isThisWeek<DateType extends Date>(
36
+ date: DateType | number | string,
37
+ options?: IsThisWeekOptions,
38
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisWeek.d.ts ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link isThisWeek} function options.
4
+ */
5
+ export interface IsThisWeekOptions
6
+ extends WeekOptions,
7
+ LocalizedOptions<"options"> {}
8
+ /**
9
+ * @name isThisWeek
10
+ * @category Week Helpers
11
+ * @summary Is the given date in the same week as the current date?
12
+ * @pure false
13
+ *
14
+ * @description
15
+ * Is the given date in the same week as the current date?
16
+ *
17
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
+ *
19
+ * @param date - The date to check
20
+ * @param options - The object with options
21
+ *
22
+ * @returns The date is in this week
23
+ *
24
+ * @example
25
+ * // If today is 25 September 2014, is 21 September 2014 in this week?
26
+ * const result = isThisWeek(new Date(2014, 8, 21))
27
+ * //=> true
28
+ *
29
+ * @example
30
+ * // If today is 25 September 2014 and week starts with Monday
31
+ * // is 21 September 2014 in this week?
32
+ * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 })
33
+ * //=> false
34
+ */
35
+ export declare function isThisWeek<DateType extends Date>(
36
+ date: DateType | number | string,
37
+ options?: IsThisWeekOptions,
38
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisWeek.js ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisWeek = isThisWeek;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameWeek.js");
5
+
6
+ /**
7
+ * The {@link isThisWeek} function options.
8
+ */
9
+
10
+ /**
11
+ * @name isThisWeek
12
+ * @category Week Helpers
13
+ * @summary Is the given date in the same week as the current date?
14
+ * @pure false
15
+ *
16
+ * @description
17
+ * Is the given date in the same week as the current date?
18
+ *
19
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
20
+ *
21
+ * @param date - The date to check
22
+ * @param options - The object with options
23
+ *
24
+ * @returns The date is in this week
25
+ *
26
+ * @example
27
+ * // If today is 25 September 2014, is 21 September 2014 in this week?
28
+ * const result = isThisWeek(new Date(2014, 8, 21))
29
+ * //=> true
30
+ *
31
+ * @example
32
+ * // If today is 25 September 2014 and week starts with Monday
33
+ * // is 21 September 2014 in this week?
34
+ * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 })
35
+ * //=> false
36
+ */
37
+ function isThisWeek(date, options) {
38
+ return (0, _index2.isSameWeek)(date, (0, _index.constructNow)(date), options);
39
+ }
workers1/auto3d/node_modules/date-fns/isThisWeek.mjs ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { constructNow } from "./constructNow.mjs";
2
+ import { isSameWeek } from "./isSameWeek.mjs";
3
+
4
+ /**
5
+ * The {@link isThisWeek} function options.
6
+ */
7
+
8
+ /**
9
+ * @name isThisWeek
10
+ * @category Week Helpers
11
+ * @summary Is the given date in the same week as the current date?
12
+ * @pure false
13
+ *
14
+ * @description
15
+ * Is the given date in the same week as the current date?
16
+ *
17
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
18
+ *
19
+ * @param date - The date to check
20
+ * @param options - The object with options
21
+ *
22
+ * @returns The date is in this week
23
+ *
24
+ * @example
25
+ * // If today is 25 September 2014, is 21 September 2014 in this week?
26
+ * const result = isThisWeek(new Date(2014, 8, 21))
27
+ * //=> true
28
+ *
29
+ * @example
30
+ * // If today is 25 September 2014 and week starts with Monday
31
+ * // is 21 September 2014 in this week?
32
+ * const result = isThisWeek(new Date(2014, 8, 21), { weekStartsOn: 1 })
33
+ * //=> false
34
+ */
35
+ export function isThisWeek(date, options) {
36
+ return isSameWeek(date, constructNow(date), options);
37
+ }
38
+
39
+ // Fallback for modularized imports:
40
+ export default isThisWeek;
workers1/auto3d/node_modules/date-fns/isThisYear.d.mts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisYear
3
+ * @category Year Helpers
4
+ * @summary Is the given date in the same year as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same year as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this year
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 2 July 2014 in this year?
18
+ * const result = isThisYear(new Date(2014, 6, 2))
19
+ * //=> true
20
+ */
21
+ export declare function isThisYear<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisYear.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name isThisYear
3
+ * @category Year Helpers
4
+ * @summary Is the given date in the same year as the current date?
5
+ * @pure false
6
+ *
7
+ * @description
8
+ * Is the given date in the same year as the current date?
9
+ *
10
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
+ *
12
+ * @param date - The date to check
13
+ *
14
+ * @returns The date is in this year
15
+ *
16
+ * @example
17
+ * // If today is 25 September 2014, is 2 July 2014 in this year?
18
+ * const result = isThisYear(new Date(2014, 6, 2))
19
+ * //=> true
20
+ */
21
+ export declare function isThisYear<DateType extends Date>(
22
+ date: DateType | number | string,
23
+ ): boolean;
workers1/auto3d/node_modules/date-fns/isThisYear.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.isThisYear = isThisYear;
3
+ var _index = require("./constructNow.js");
4
+ var _index2 = require("./isSameYear.js");
5
+
6
+ /**
7
+ * @name isThisYear
8
+ * @category Year Helpers
9
+ * @summary Is the given date in the same year as the current date?
10
+ * @pure false
11
+ *
12
+ * @description
13
+ * Is the given date in the same year as the current date?
14
+ *
15
+ * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
16
+ *
17
+ * @param date - The date to check
18
+ *
19
+ * @returns The date is in this year
20
+ *
21
+ * @example
22
+ * // If today is 25 September 2014, is 2 July 2014 in this year?
23
+ * const result = isThisYear(new Date(2014, 6, 2))
24
+ * //=> true
25
+ */
26
+ function isThisYear(date) {
27
+ return (0, _index2.isSameYear)(date, (0, _index.constructNow)(date));
28
+ }