pangea-helpers 1.3.47 → 1.3.49

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.
@@ -1,2 +1,6 @@
1
- export declare function getLastDayOfMonth(year: number, month: number): number;
2
- export declare function getDateWithTime(date: Date, time: 0 | 9): Date;
1
+ export declare function getYearStartDate(date?: Date): Date;
2
+ export declare function getNextYearStartDate(): Date;
3
+ export declare function getMonthStartDate(date?: Date): Date;
4
+ export declare function getNextMonthStartDate(): Date;
5
+ export declare function getDayStartDate(date?: Date): Date;
6
+ export declare function getNextDayStartDate(): Date;
@@ -1,3 +1,5 @@
1
1
  export declare function sumWithUnits(first: string, ...rest: string[]): string;
2
- export declare function roundNumber(number: number, roundTo: number, roundDirection?: 'round' | 'ceil' | 'floor'): number;
3
- export declare function roundDecimals(number: number, decimals?: number): number;
2
+ type RoundDirection = 'round' | 'ceil' | 'floor';
3
+ export declare function roundNumber(number: number, roundTo: number, roundDirection?: RoundDirection): number;
4
+ export declare function roundDecimals(number: number, decimals?: number, roundDirection?: RoundDirection): number;
5
+ export {};