@fileverse-dev/formulajs 4.4.32 → 4.4.33

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.
@@ -970,7 +970,7 @@ export function CUMPRINC(rate: any, nper: any, pv: any, start_period: any, end:
970
970
  * @param {*} day Day
971
971
  * @returns
972
972
  */
973
- export function DATE(year: any, month: any, day: any): number | Error | Date;
973
+ export function DATE(year: any, month: any, day: any): string | number | Error;
974
974
  /**
975
975
  * Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.
976
976
  *
@@ -3058,7 +3058,7 @@ export function NOT(logical: any): boolean | Error;
3058
3058
  *
3059
3059
  * @returns
3060
3060
  */
3061
- export function NOW(): number | Date;
3061
+ export function NOW(): string | number;
3062
3062
  /**
3063
3063
  * Returns the number of periods for an investment.
3064
3064
  *
@@ -4591,11 +4591,16 @@ export namespace Z {
4591
4591
  * @returns
4592
4592
  */
4593
4593
  export function ZTEST(array: any, x: any, sigma: any): number | Error;
4594
+ export function epochToDate(timestamp: any, timeUnit?: number): Date;
4595
+ export function networkDays(startDate: any, endDate: any, holidays?: any[]): number;
4596
+ export function networkDaysIntl(startDate: any, endDate: any, weekend?: number, holidays?: any[]): number;
4597
+ export function sequence(rows: any, columns?: number, start?: number, step?: number): (number | Date)[][];
4594
4598
  export namespace utils {
4595
4599
  export { errors };
4596
4600
  export { symbols };
4597
4601
  export { date };
4598
4602
  }
4603
+ export function workdayIntl(startDate: any, numDays: any, weekend?: number, holidays?: any[]): Date;
4599
4604
  declare var errors: Readonly<{
4600
4605
  __proto__: any;
4601
4606
  data: Error;