File: TimePickerUtils.d.ts

package info (click to toggle)
cockpit-podman 120-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 271,812 kB
  • sloc: javascript: 695,724; cpp: 11,141; python: 7,762; sh: 901; makefile: 156; xml: 90
file content (10 lines) | stat: -rw-r--r-- 932 bytes parent folder | download | duplicates (14)
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