UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

13 lines (12 loc) 482 B
import dayjs, { ConfigType } from 'dayjs'; import * as i0 from "@angular/core"; export declare class TimeService { private translate; get currTz(): string; now(utc?: boolean): dayjs.Dayjs; format(date?: ConfigType, dateFormat?: string): string; distance(date: ConfigType, baseDate?: ConfigType): string; private normalizeToDate; static ɵfac: i0.ɵɵFactoryDeclaration<TimeService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TimeService>; }