1 | export interface ToDateStringOptions {
|
2 | |
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | formats?: any
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function toDateString(date: string | Date | number): string;
|
19 | export declare function toDateString(date: any): string;
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare function toDateString(date: string | Date | number, format: string | null): string;
|
27 | export declare function toDateString(date: any, format: string | null): string;
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | export declare function toDateString(date: string | Date | number, format: string | null, options: ToDateStringOptions): string;
|
36 | export declare function toDateString(date: any, format: string | null, options: ToDateStringOptions): string;
|
37 |
|
38 | declare module './ctor' {
|
39 | interface XEUtilsMethods {
|
40 | toDateString: typeof toDateString;
|
41 | }
|
42 | }
|
43 |
|
44 | export default toDateString
|