UNPKG

932 BTypeScriptView Raw
1export declare const amSuffix = " AM";
2export declare const pmSuffix = " PM";
3export declare const makeTimeOptions: (stepMinutes: number, hour12: boolean, delimiter: string, minTime: string, maxTime: string, includeSeconds: boolean) => string[];
4export declare const parseTime: (time: string | Date, timeRegex: RegExp, delimiter: string, is12Hour: boolean, includeSeconds: boolean) => string;
5export declare const validateTime: (time: string, timeRegex: RegExp, delimiter: string, is12Hour: boolean) => boolean;
6export declare const getHours: (time: string, timeRegex: RegExp) => number;
7export declare const getMinutes: (time: string, timeRegex: RegExp) => number;
8export declare const getSeconds: (time: string, timeRegex: RegExp) => number;
9export declare const isWithinMinMax: (minTime: string, maxTime: string, time: string, delimiter: string, includeSeconds?: boolean) => boolean;
10//# sourceMappingURL=TimePickerUtils.d.ts.map
\No newline at end of file