@univerjs/engine-formula 0.15.4 → 0.15.5
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +3042 -3054
- package/lib/index.js +3042 -3054
- package/lib/types/basics/date.d.ts +0 -6
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
|
@@ -11,14 +11,10 @@ export declare const DEFAULT_TIME_FORMAT = "h:mm A/P";
|
|
|
11
11
|
* 1900.2.29 Date Serial 61
|
|
12
12
|
* 1900.3.1 Date Serial 61
|
|
13
13
|
* 1901.1.1 Date Serial 367
|
|
14
|
-
* @param date
|
|
15
|
-
* @returns
|
|
16
14
|
*/
|
|
17
15
|
export declare function excelDateSerial(date: Date): number;
|
|
18
16
|
/**
|
|
19
17
|
* Time serial number with date
|
|
20
|
-
* @param date
|
|
21
|
-
* @returns
|
|
22
18
|
*/
|
|
23
19
|
export declare function excelDateTimeSerial(date: Date): number;
|
|
24
20
|
export declare function excelSerialToDate(serial: number): Date;
|
|
@@ -28,8 +24,6 @@ export declare function formatDateDefault(date: Date): string;
|
|
|
28
24
|
* Validate date string
|
|
29
25
|
*
|
|
30
26
|
* TODO @Dushusir: Internationalization and more format support, can be reused when editing and saving cells, like "2020年1月1日"
|
|
31
|
-
* @param dateStr
|
|
32
|
-
* @returns
|
|
33
27
|
*/
|
|
34
28
|
export declare function isValidDateStr(dateStr: string): boolean;
|
|
35
29
|
export declare function parseFormattedDate(value: string): numfmt.ParseData | null;
|