typescript-libraries
Version:
To install this library, run:
9 lines (8 loc) • 443 B
TypeScript
export declare class TSDate {
static utc(type: string, data: number, set?: Array<number>): Date;
static key(max?: number, date?: Date): string;
static parse(date: string, data?: number, set?: number[]): string;
static yyyymmddhhss(date: any): Date;
static format(timestamp: number, format: string, cb?: (data: any) => any): string;
static timer(milliseconds: number, format: string, cb?: (data: any) => any): string;
}