sprof 0.0.16 → 0.0.17
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/dist/services/DatesFormatter.d.ts +9 -0
- package/dist/sprof.js +1765 -1730
- package/dist/sprof.umd.cjs +11 -11
- package/package.json +1 -1
|
@@ -17,5 +17,14 @@ export default abstract class DatesFormatter {
|
|
|
17
17
|
locale: string;
|
|
18
18
|
static Format(date?: Date, options?: CustomDateTimeFormatOptions): string;
|
|
19
19
|
static FromRuStr(value: string): Date;
|
|
20
|
+
static GetPeriod(start: Date, end: Date, options?: CustomDateTimeFormatOptions): string;
|
|
21
|
+
static GetShortDayName(date?: Date): string;
|
|
22
|
+
static GetCurrentWeekPeriod(options?: CustomDateTimeFormatOptions): string;
|
|
23
|
+
static GetDurationInDay(time1: string, time2: string): number;
|
|
24
|
+
static HourTimeinMunutes(time: string): number;
|
|
25
|
+
static SplitHourTime(time: string): number[];
|
|
26
|
+
static AddMinutesToHM(hm: string, minutes: number): string;
|
|
27
|
+
static GetMonthsDiff(dateFrom: Date, dateTo: Date): number;
|
|
28
|
+
static StringToDate(value: string): Date;
|
|
20
29
|
}
|
|
21
30
|
export {};
|