@dereekb/date 9.9.4 → 9.10.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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ # [9.10.0](https://github.com/dereekb/dbx-components/compare/v9.9.5-dev...v9.10.0) (2022-10-05)
6
+
7
+
8
+
9
+ ## [9.9.5](https://github.com/dereekb/dbx-components/compare/v9.9.4-dev...v9.9.5) (2022-09-19)
10
+
11
+
12
+
5
13
  ## [9.9.4](https://github.com/dereekb/dbx-components/compare/v9.9.3-dev...v9.9.4) (2022-09-19)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/date",
3
- "version": "9.9.4",
3
+ "version": "9.10.0",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
7
7
  "dependencies": {},
8
8
  "peerDependencies": {
9
9
  "date-fns": "^2.29.0",
10
- "@dereekb/util": "9.9.4",
10
+ "@dereekb/util": "9.10.0",
11
11
  "lodash.isequal": "^4.5.0",
12
12
  "make-error": "^1.3.0",
13
13
  "class-validator": "^0.13.2",
@@ -0,0 +1,128 @@
1
+ import { MapFunction, Maybe } from '@dereekb/util';
2
+ import { DateTimezoneUtcNormalInstance, DateTimezoneUtcNormalInstanceInput } from './date.timezone';
3
+ /**
4
+ * A Week/Year number combination used to refer to a specific Week on a specific Year.
5
+ *
6
+ * 202201 is January 2022
7
+ */
8
+ export declare type YearWeekCode = number;
9
+ /**
10
+ * Used for default YearWeekCode values
11
+ */
12
+ export declare const UNKNOWN_JOB_YEAR_WEEK = 0;
13
+ export declare type UnknownYearWeekCode = typeof UNKNOWN_JOB_YEAR_WEEK;
14
+ /**
15
+ * The week in the year. Starts from 1.
16
+ */
17
+ export declare type YearWeekCodeIndex = number;
18
+ /**
19
+ * Returns the YearWeekCodeIndex for the YearWeekCode.
20
+ *
21
+ * @param yearWeekCode
22
+ * @returns
23
+ */
24
+ export declare function yearWeekCodeIndex(yearWeekCode: YearWeekCode): YearWeekCodeIndex;
25
+ /**
26
+ * Pair of the YearWeekCodeIndex and the year.
27
+ */
28
+ export interface YearWeekCodePair {
29
+ week: YearWeekCodeIndex;
30
+ year: number;
31
+ }
32
+ /**
33
+ * Returns the YearWeekCodePair for the YearWeekCode.
34
+ *
35
+ * @param yearWeekCode
36
+ * @returns
37
+ */
38
+ export declare function yearWeekCodePair(yearWeekCode: YearWeekCode): YearWeekCodePair;
39
+ /**
40
+ * Used to convert the input to a YearWeekCode.
41
+ */
42
+ export declare type YearWeekCodeFactory = ((dateOrYear: Date | number, inputWeek?: YearWeekCodeIndex) => YearWeekCode) & {
43
+ _normal: DateTimezoneUtcNormalInstance;
44
+ };
45
+ export declare type YearWeekCodeDateTimezoneInput = DateTimezoneUtcNormalInstanceInput | DateTimezoneUtcNormalInstance;
46
+ export interface YearWeekCodeConfig {
47
+ /**
48
+ * (Optional) Input timezone configuration for a DateTimezoneUtcNormalInstance.
49
+ *
50
+ * Configured to use the system timezone by default.
51
+ */
52
+ timezone?: YearWeekCodeDateTimezoneInput;
53
+ }
54
+ export declare function yearWeekCodeDateTimezoneInstance(input: YearWeekCodeDateTimezoneInput): DateTimezoneUtcNormalInstance;
55
+ /**
56
+ * Returns the yearWeekCode for the input Date or Year/Week combo.
57
+ *
58
+ * The date is expected to be relative to UTC.
59
+ *
60
+ * @param date
61
+ */
62
+ export declare function yearWeekCode(date: Date): YearWeekCode;
63
+ export declare function yearWeekCode(year: number, week: YearWeekCodeIndex): YearWeekCode;
64
+ /**
65
+ * Creates a YearWeekCodeFactory using the optional input config.
66
+ *
67
+ * @param config
68
+ * @returns
69
+ */
70
+ export declare function yearWeekCodeFactory(config?: YearWeekCodeConfig): YearWeekCodeFactory;
71
+ /**
72
+ * Used for returning an array of YearWeekCode values for a pre-configured date range.
73
+ */
74
+ export declare type YearWeekCodeForCalendarMonthFactory = (date: Date) => YearWeekCode[];
75
+ /**
76
+ * Returns the yearWeekCodes for the input Date's calendar month.
77
+ *
78
+ * The date is expected to be relative to UTC.
79
+ *
80
+ * @param date
81
+ */
82
+ export declare function yearWeekCodeForCalendarMonth(date: Date): YearWeekCode[];
83
+ /**
84
+ * Create a YearWeekCodeForMonthFactory.
85
+ *
86
+ * @param factory
87
+ * @returns
88
+ */
89
+ export declare function yearWeekCodeForCalendarMonthFactory(factory?: YearWeekCodeFactory): YearWeekCodeForCalendarMonthFactory;
90
+ /**
91
+ * Used to convert the input to a YearWeekCode.
92
+ */
93
+ export declare type YearWeekCodeDateFactory = (yearWeekCode: YearWeekCode) => Date;
94
+ export interface YearWeekCodeDateConfig extends Pick<YearWeekCodeConfig, 'timezone'> {
95
+ }
96
+ /**
97
+ * Creates a YearWeekCodeDateFactory using the optional input config.
98
+ *
99
+ * @param config
100
+ * @returns
101
+ */
102
+ export declare function yearWeekCodeDateFactory(config?: YearWeekCodeDateConfig): YearWeekCodeDateFactory;
103
+ /**
104
+ *
105
+ */
106
+ export interface YearWeekCodeGroup<B> {
107
+ readonly items: B[];
108
+ readonly week: YearWeekCode;
109
+ }
110
+ /**
111
+ * Used to group the input items into an array of YearWeekCodeGroup values.
112
+ */
113
+ export declare type YearWeekCodeGroupFactory<B> = (items: B[]) => YearWeekCodeGroup<B>[];
114
+ /**
115
+ * MapFunction that reads the relevant date to use for the YearWeekCode calculation from the input item.
116
+ */
117
+ export declare type YearWeekCodeDateReader<B> = MapFunction<B, Maybe<Date>>;
118
+ export interface YearWeekCodeGroupFactoryConfig<B> {
119
+ yearWeekCodeFactory?: YearWeekCodeFactory | YearWeekCodeConfig;
120
+ dateReader: YearWeekCodeDateReader<B>;
121
+ }
122
+ /**
123
+ * Crates a YearWeekCodeGroupFactory.
124
+ *
125
+ * @param config
126
+ * @returns
127
+ */
128
+ export declare function yearWeekCodeGroupFactory<B>(config: YearWeekCodeGroupFactoryConfig<B>): YearWeekCodeGroupFactory<B>;
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.yearWeekCodeGroupFactory = exports.yearWeekCodeDateFactory = exports.yearWeekCodeForCalendarMonthFactory = exports.yearWeekCodeForCalendarMonth = exports.yearWeekCodeFactory = exports.yearWeekCode = exports.yearWeekCodeDateTimezoneInstance = exports.yearWeekCodePair = exports.yearWeekCodeIndex = exports.UNKNOWN_JOB_YEAR_WEEK = void 0;
4
+ const util_1 = require("@dereekb/util");
5
+ const date_fns_1 = require("date-fns");
6
+ const date_timezone_1 = require("./date.timezone");
7
+ /**
8
+ * Used for default YearWeekCode values
9
+ */
10
+ exports.UNKNOWN_JOB_YEAR_WEEK = 0;
11
+ /**
12
+ * Returns the YearWeekCodeIndex for the YearWeekCode.
13
+ *
14
+ * @param yearWeekCode
15
+ * @returns
16
+ */
17
+ function yearWeekCodeIndex(yearWeekCode) {
18
+ return yearWeekCode % 100;
19
+ }
20
+ exports.yearWeekCodeIndex = yearWeekCodeIndex;
21
+ /**
22
+ * Returns the YearWeekCodePair for the YearWeekCode.
23
+ *
24
+ * @param yearWeekCode
25
+ * @returns
26
+ */
27
+ function yearWeekCodePair(yearWeekCode) {
28
+ return {
29
+ week: yearWeekCodeIndex(yearWeekCode),
30
+ year: Math.floor(yearWeekCode / 100)
31
+ };
32
+ }
33
+ exports.yearWeekCodePair = yearWeekCodePair;
34
+ function yearWeekCodeDateTimezoneInstance(input) {
35
+ const normal = input ? (input instanceof date_timezone_1.DateTimezoneUtcNormalInstance ? input : (0, date_timezone_1.dateTimezoneUtcNormal)(input)) : date_timezone_1.SYSTEM_DATE_TIMEZONE_UTC_NORMAL_INSTANCE;
36
+ return normal;
37
+ }
38
+ exports.yearWeekCodeDateTimezoneInstance = yearWeekCodeDateTimezoneInstance;
39
+ function yearWeekCode(dateOrYear, inputWeek) {
40
+ return yearWeekCodeFactory({ timezone: date_timezone_1.SYSTEM_DATE_TIMEZONE_UTC_NORMAL_INSTANCE })(dateOrYear, inputWeek);
41
+ }
42
+ exports.yearWeekCode = yearWeekCode;
43
+ /**
44
+ * Creates a YearWeekCodeFactory using the optional input config.
45
+ *
46
+ * @param config
47
+ * @returns
48
+ */
49
+ function yearWeekCodeFactory(config) {
50
+ const normal = yearWeekCodeDateTimezoneInstance(config === null || config === void 0 ? void 0 : config.timezone);
51
+ const result = (dateOrYear, inputWeek) => {
52
+ let year;
53
+ let week;
54
+ if ((0, date_fns_1.isDate)(dateOrYear)) {
55
+ const normalDate = normal.systemDateToTargetDate(dateOrYear);
56
+ week = (0, date_fns_1.getWeek)(normalDate);
57
+ // check if the date is not in the previous year, in which case we need to add one.
58
+ if (week === 1) {
59
+ year = (0, date_fns_1.getYear)((0, date_fns_1.endOfWeek)(normalDate)); // the last day is the important one to get the year from.
60
+ }
61
+ else {
62
+ year = (0, date_fns_1.getYear)(normalDate);
63
+ }
64
+ }
65
+ else {
66
+ year = dateOrYear;
67
+ week = inputWeek;
68
+ }
69
+ const encodedYear = year * 100;
70
+ return encodedYear + week;
71
+ };
72
+ result._normal = normal;
73
+ return result;
74
+ }
75
+ exports.yearWeekCodeFactory = yearWeekCodeFactory;
76
+ /**
77
+ * Returns the yearWeekCodes for the input Date's calendar month.
78
+ *
79
+ * The date is expected to be relative to UTC.
80
+ *
81
+ * @param date
82
+ */
83
+ function yearWeekCodeForCalendarMonth(date) {
84
+ return yearWeekCodeForCalendarMonthFactory(yearWeekCodeFactory({ timezone: date_timezone_1.SYSTEM_DATE_TIMEZONE_UTC_NORMAL_INSTANCE }))(date);
85
+ }
86
+ exports.yearWeekCodeForCalendarMonth = yearWeekCodeForCalendarMonth;
87
+ /**
88
+ * Create a YearWeekCodeForMonthFactory.
89
+ *
90
+ * @param factory
91
+ * @returns
92
+ */
93
+ function yearWeekCodeForCalendarMonthFactory(factory = yearWeekCodeFactory()) {
94
+ const { _normal } = factory;
95
+ return (date) => {
96
+ const normalDate = _normal.systemDateToTargetDate(date);
97
+ const start = (0, date_fns_1.startOfMonth)((0, date_fns_1.endOfWeek)(normalDate));
98
+ const end = (0, date_fns_1.endOfWeek)((0, date_fns_1.endOfMonth)(start));
99
+ const weeks = [];
100
+ let current = start;
101
+ while ((0, date_fns_1.isBefore)(current, end)) {
102
+ const week = factory(current);
103
+ weeks.push(week);
104
+ current = (0, date_fns_1.addWeeks)(current, 1);
105
+ }
106
+ return weeks;
107
+ };
108
+ }
109
+ exports.yearWeekCodeForCalendarMonthFactory = yearWeekCodeForCalendarMonthFactory;
110
+ /**
111
+ * Creates a YearWeekCodeDateFactory using the optional input config.
112
+ *
113
+ * @param config
114
+ * @returns
115
+ */
116
+ function yearWeekCodeDateFactory(config) {
117
+ const normal = yearWeekCodeDateTimezoneInstance(config === null || config === void 0 ? void 0 : config.timezone);
118
+ return (yearWeekCode) => {
119
+ const pair = yearWeekCodePair(yearWeekCode);
120
+ const date = (0, date_fns_1.startOfWeek)((0, date_fns_1.setWeek)(new Date(Date.UTC(pair.year, 0, 1, 0, 0, 0, 0)), pair.week));
121
+ const fixed = normal.targetDateToSystemDate(date);
122
+ return fixed;
123
+ };
124
+ }
125
+ exports.yearWeekCodeDateFactory = yearWeekCodeDateFactory;
126
+ /**
127
+ * Crates a YearWeekCodeGroupFactory.
128
+ *
129
+ * @param config
130
+ * @returns
131
+ */
132
+ function yearWeekCodeGroupFactory(config) {
133
+ const { yearWeekCodeFactory: factoryInput, dateReader } = config;
134
+ const readJobWeekYear = typeof factoryInput === 'function' ? factoryInput : yearWeekCodeFactory(factoryInput);
135
+ return (items) => {
136
+ const map = (0, util_1.makeValuesGroupMap)(items, (item) => {
137
+ let yearWeekCode;
138
+ const date = dateReader(item);
139
+ if (date != null) {
140
+ yearWeekCode = readJobWeekYear(date);
141
+ }
142
+ return yearWeekCode;
143
+ });
144
+ const groups = Array.from(map.entries()).map(([week, items]) => {
145
+ return {
146
+ week: week || 0,
147
+ items
148
+ };
149
+ });
150
+ return groups;
151
+ };
152
+ }
153
+ exports.yearWeekCodeGroupFactory = yearWeekCodeGroupFactory;
154
+ //# sourceMappingURL=date.week.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.week.js","sourceRoot":"","sources":["../../../../../../packages/date/src/lib/date/date.week.ts"],"names":[],"mappings":";;;AAAA,wCAAiF;AACjF,uCAAmI;AACnI,mDAAqK;AASrK;;GAEG;AACU,QAAA,qBAAqB,GAAG,CAAC,CAAC;AASvC;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAC,YAA0B;IAC1D,OAAO,YAAY,GAAG,GAAG,CAAC;AAC5B,CAAC;AAFD,8CAEC;AAUD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,YAA0B;IACzD,OAAO;QACL,IAAI,EAAE,iBAAiB,CAAC,YAAY,CAAC;QACrC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,GAAG,CAAC;KACrC,CAAC;AACJ,CAAC;AALD,4CAKC;AAoBD,SAAgB,gCAAgC,CAAC,KAAoC;IACnF,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,YAAY,6CAA6B,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,qCAAqB,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,wDAAwC,CAAC;IAC1J,OAAO,MAAM,CAAC;AAChB,CAAC;AAHD,4EAGC;AAWD,SAAgB,YAAY,CAAC,UAAyB,EAAE,SAA6B;IACnF,OAAO,mBAAmB,CAAC,EAAE,QAAQ,EAAE,wDAAwC,EAAE,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AAC5G,CAAC;AAFD,oCAEC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,MAA2B;IAC7D,MAAM,MAAM,GAAG,gCAAgC,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,CAAC;IAElE,MAAM,MAAM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E,GAAG,MAAM,CAAC;IACjE,MAAM,eAAe,GAAG,OAAO,YAAY,KAAK,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAE9G,OAAO,CAAC,KAAU,EAAE,EAAE;QACpB,MAAM,GAAG,GAAG,IAAA,yBAAkB,EAAC,KAAK,EAAE,CAAC,IAAO,EAAE,EAAE;YAChD,IAAI,YAAiC,CAAC;YACtC,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;YAE9B,IAAI,IAAI,IAAI,IAAI,EAAE;gBAChB,YAAY,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;aACtC;YAED,OAAO,YAAY,CAAC;QACtB,CAAC,CAAC,CAAC;QAEH,MAAM,MAAM,GAA2B,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;YACrF,OAAO;gBACL,IAAI,EAAE,IAAI,IAAI,CAAC;gBACf,KAAK;aACN,CAAC;QACJ,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC;AAzBD,4DAyBC"}
@@ -12,3 +12,4 @@ export * from './date.time';
12
12
  export * from './date.timezone';
13
13
  export * from './date';
14
14
  export * from './date.unix';
15
+ export * from './date.week';
@@ -15,4 +15,5 @@ tslib_1.__exportStar(require("./date.time"), exports);
15
15
  tslib_1.__exportStar(require("./date.timezone"), exports);
16
16
  tslib_1.__exportStar(require("./date"), exports);
17
17
  tslib_1.__exportStar(require("./date.unix"), exports);
18
+ tslib_1.__exportStar(require("./date.week"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/date/src/lib/date/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,0DAAgC;AAChC,0DAAgC;AAChC,wDAA8B;AAC9B,yDAA+B;AAC/B,uDAA6B;AAC7B,uDAA6B;AAC7B,sDAA4B;AAC5B,4DAAkC;AAClC,6DAAmC;AACnC,sDAA4B;AAC5B,0DAAgC;AAChC,iDAAuB;AACvB,sDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/date/src/lib/date/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,0DAAgC;AAChC,0DAAgC;AAChC,wDAA8B;AAC9B,yDAA+B;AAC/B,uDAA6B;AAC7B,uDAA6B;AAC7B,sDAA4B;AAC5B,4DAAkC;AAClC,6DAAmC;AACnC,sDAA4B;AAC5B,0DAAgC;AAChC,iDAAuB;AACvB,sDAA4B;AAC5B,sDAA4B"}