iptdevs-design-system 3.1.379 → 3.1.381

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.
@@ -4030,6 +4030,18 @@ class CalculateQuotesService {
4030
4030
  response.push(plusMonthDate);
4031
4031
  return response;
4032
4032
  }
4033
+ // setPlusOneMonth2(originDate: Date, isEndMonth: boolean): Date[] {
4034
+ // let response: Date[] = [];
4035
+ // let oneDayMilis = 1000 * 3600 * 24;
4036
+ // let day = isEndMonth ? this.monthsDays[(originDate.getMonth() + 1) % 12] : originDate.getDate();
4037
+ // let plusMonthDate: Date = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
4038
+ // while (plusMonthDate.getDay() === 0) {
4039
+ // plusMonthDate.setMilliseconds(plusMonthDate.getMilliseconds() - oneDayMilis);
4040
+ // }
4041
+ // response.push(plusMonthDate);
4042
+ // response.push(new Date(originDate.getFullYear(), originDate.getMonth() + 1, day + 1));
4043
+ // return response;
4044
+ // }
4033
4045
  getStringDate(originDate) {
4034
4046
  let month = originDate.getMonth() + 1;
4035
4047
  let stringMonth = month < 10 ? '0' + month : month;