UNPKG

@newbiz/common-libs

Version:

신사업개발실 서비스/어드민 프론트엔드 공통 라이브러리

28 lines (27 loc) 1.83 kB
export declare const zeroFilled: string[]; export declare const textOfMonth: string[]; export declare const dayOfWeek: string[]; export declare const dayOfWeekEng: string[]; export declare const dayOfWeekEngFull: string[]; export declare function zeros(n?: number): string; export declare function getBetweenDay(startDate?: string, endDate?: string): number; export declare function dateFormatMD(date?: string, delimiter?: string): string; export declare function dateFormatYMD(date?: string, delimiter?: string): string; export declare function dateToYMD(date?: Date, delimiter?: string): string; export declare function dateYearFormat(date?: string, delimiter?: string): string; export declare function getDayOfWeek(date?: string): string; export declare function getDayWeek(date?: string): string; export declare function getToday(today?: Date, delimiter?: string): string; export declare function isToday(value?: string): boolean; export declare function isTodayInRange(fromDate?: string, toDate?: string): boolean; export declare function getTomorrow(value: Date, delimiter?: string): string; export declare function getPrev6Month(delimiter?: string): string; export declare function getNext6Month(delimiter?: string): string; export declare function getAdjustPrevDay(days: number, delimiter?: string): string; export declare function getAdjustNextDay(days: number, delimiter?: string): string; export declare function getDateFrom(date?: string, days?: number, delimiter?: string): string; export declare function numberFormat(value?: number): string; export declare function convertDate(value?: string, isFullFormat?: boolean): string; export declare function convertTime(value?: string): string; export declare function mapDayNameE2K(dayName: string): string; export declare function mapDayName2Full(dayName: string): string;