|
44 | 44 | "description": "EOW on Monday translates to Friday at five in the afternoon", |
45 | 45 | "property": "deliveryDate", |
46 | 46 | "input": { |
47 | | - "meetingStart": "2025-02-03T00:00:00", |
| 47 | + "meetingStart": "2025-02-03T16:00:00", |
48 | 48 | "description": "EOW" |
49 | 49 | }, |
50 | 50 | "expected": "2025-02-07T17:00:00" |
|
54 | 54 | "description": "EOW on Tuesday translates to Friday at five in the afternoon", |
55 | 55 | "property": "deliveryDate", |
56 | 56 | "input": { |
57 | | - "meetingStart": "1997-04-29T00:00:00", |
| 57 | + "meetingStart": "1997-04-29T10:50:00", |
58 | 58 | "description": "EOW" |
59 | 59 | }, |
60 | 60 | "expected": "1997-05-02T17:00:00" |
|
64 | 64 | "description": "EOW on Wednesday translates to Friday at five in the afternoon", |
65 | 65 | "property": "deliveryDate", |
66 | 66 | "input": { |
67 | | - "meetingStart": "2005-09-14T00:00:00", |
| 67 | + "meetingStart": "2005-09-14T11:00:00", |
68 | 68 | "description": "EOW" |
69 | 69 | }, |
70 | 70 | "expected": "2005-09-16T17:00:00" |
|
74 | 74 | "description": "EOW on Thursday translates to Sunday at eight in the evening", |
75 | 75 | "property": "deliveryDate", |
76 | 76 | "input": { |
77 | | - "meetingStart": "2011-05-19T00:00:00", |
| 77 | + "meetingStart": "2011-05-19T8:30:00", |
78 | 78 | "description": "EOW" |
79 | 79 | }, |
80 | 80 | "expected": "2011-05-22T20:00:00" |
|
84 | 84 | "description": "EOW on Friday translates to Sunday at eight in the evening", |
85 | 85 | "property": "deliveryDate", |
86 | 86 | "input": { |
87 | | - "meetingStart": "2022-08-05T00:00:00", |
| 87 | + "meetingStart": "2022-08-05T12:00:00", |
88 | 88 | "description": "EOW" |
89 | 89 | }, |
90 | 90 | "expected": "2022-08-07T20:00:00" |
91 | 91 | }, |
92 | 92 | { |
93 | 93 | "uuid": "439bf09f-3a0e-44e7-bad5-b7b6d0c4505a", |
94 | | - "description": "2M translates to the first workday of the second month", |
| 94 | + "description": "2M before the second month of this year translates to the first workday of the second month of this year", |
95 | 95 | "property": "deliveryDate", |
96 | 96 | "input": { |
97 | | - "meetingStart": "2007-01-02T00:00:00", |
| 97 | + "meetingStart": "2007-01-02T14:15:00", |
98 | 98 | "description": "2M" |
99 | 99 | }, |
100 | 100 | "expected": "2007-02-01T08:00:00" |
101 | 101 | }, |
102 | 102 | { |
103 | 103 | "uuid": "86d82e83-c481-4fb4-9264-625de7521340", |
104 | | - "description": "5M translates to the first workday of the fifth month", |
| 104 | + "description": "11M in the eleventh month translates to the first workday of the eleventh month of next year", |
105 | 105 | "property": "deliveryDate", |
106 | 106 | "input": { |
107 | | - "meetingStart": "2013-02-11T00:00:00", |
108 | | - "description": "5M" |
| 107 | + "meetingStart": "2013-11-21T15:30:00", |
| 108 | + "description": "11M" |
109 | 109 | }, |
110 | | - "expected": "2013-05-01T08:00:00" |
| 110 | + "expected": "2014-11-03T08:00:00" |
| 111 | + }, |
| 112 | + { |
| 113 | + "uuid": "0d0b8f6a-1915-46f5-a630-1ff06af9da08", |
| 114 | + "description": "4M in the ninth month translates to the first workday of the fourth month of next year", |
| 115 | + "property": "deliveryDate", |
| 116 | + "input": { |
| 117 | + "meetingStart": "2019-11-18T15:15:00", |
| 118 | + "description": "4M" |
| 119 | + }, |
| 120 | + "expected": "2020-04-01T08:00:00" |
111 | 121 | }, |
112 | 122 | { |
113 | 123 | "uuid": "06d401e3-8461-438f-afae-8d26aa0289e0", |
114 | | - "description": "Q1 translates to the last workday of the first quarter", |
| 124 | + "description": "Q1 in the first quarter translates to the last workday of the first quarter of this year", |
115 | 125 | "property": "deliveryDate", |
116 | 126 | "input": { |
117 | | - "meetingStart": "2011-02-23T00:00:00", |
| 127 | + "meetingStart": "2003-01-01T10:45:00", |
118 | 128 | "description": "Q1" |
119 | 129 | }, |
120 | | - "expected": "2011-03-31T08:00:00" |
| 130 | + "expected": "2003-03-31T08:00:00" |
| 131 | + }, |
| 132 | + { |
| 133 | + "uuid": "eebd5f32-b16d-4ecd-91a0-584b0364b7ed", |
| 134 | + "description": "Q4 in the second quarter translates to the last workday of the fourth quarter of this year", |
| 135 | + "property": "deliveryDate", |
| 136 | + "input": { |
| 137 | + "meetingStart": "2001-04-09T09:00:00", |
| 138 | + "description": "Q4" |
| 139 | + }, |
| 140 | + "expected": "2001-12-28T08:00:00" |
121 | 141 | }, |
122 | 142 | { |
123 | 143 | "uuid": "eebd5f32-b16d-4ecd-91a0-584b0364b7ed", |
124 | | - "description": "Q4 translates to the last workday of the fourth quarter", |
| 144 | + "description": "Q3 in the fourth quarter translates to the last workday of the third quarter of this year", |
125 | 145 | "property": "deliveryDate", |
126 | 146 | "input": { |
127 | | - "meetingStart": "2023-04-19T00:00:00", |
| 147 | + "meetingStart": "2022-10-06T11:00:00", |
128 | 148 | "description": "Q4" |
129 | 149 | }, |
130 | | - "expected": "2023-12-29T08:00:00" |
| 150 | + "expected": "2023-09-29T08:00:00" |
131 | 151 | } |
132 | 152 | ] |
133 | 153 | } |
0 commit comments