File: TimePickerUtils.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (10 lines) | stat: -rw-r--r-- 932 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
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