UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

10 lines 932 B
export declare const amSuffix = " AM"; export declare const pmSuffix = " PM"; export declare const makeTimeOptions: (stepMinutes: number, hour12: boolean, delimiter: string, minTime: string, maxTime: string, includeSeconds: boolean) => string[]; export declare const parseTime: (time: string | Date, timeRegex: RegExp, delimiter: string, is12Hour: boolean, includeSeconds: boolean) => string; export declare const validateTime: (time: string, timeRegex: RegExp, delimiter: string, is12Hour: boolean) => boolean; export declare const getHours: (time: string, timeRegex: RegExp) => number; export declare const getMinutes: (time: string, timeRegex: RegExp) => number; export declare const getSeconds: (time: string, timeRegex: RegExp) => number; export declare const isWithinMinMax: (minTime: string, maxTime: string, time: string, delimiter: string, includeSeconds?: boolean) => boolean; //# sourceMappingURL=TimePickerUtils.d.ts.map