UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

13 lines (12 loc) 612 B
import { NovoLabelService } from '../../services/novo-label-service'; export declare class DateFormatService { private labels; constructor(labels: NovoLabelService); getTimeMask(militaryTime: boolean): Array<RegExp>; getDateMask(): Array<RegExp>; getTimePlaceHolder(militaryTime: boolean): string; parseDateString(dateString: string): [Date, string]; parseTimeString(timeString: string, militaryTime: boolean): [Date, string]; parseString(dateTimeString: string, militaryTime: boolean, type: string): [Date, string]; isValidDatePart(value: string, format: string): boolean; }