amis-rpc-design/node_modules/rc-picker/lib/utils/timeUtil.d.ts
2023-10-07 19:42:30 +08:00

7 lines
703 B
TypeScript

import type { NullableDateType } from '../interface';
import type { GenerateConfig } from '../generate';
export declare function setTime<DateType>(generateConfig: GenerateConfig<DateType>, date: DateType, hour: number, minute: number, second: number): DateType;
export declare function setDateTime<DateType>(generateConfig: GenerateConfig<DateType>, date: DateType, defaultDate: NullableDateType<DateType>): DateType;
export declare function getLowerBoundTime(hour: number, minute: number, second: number, hourStep: number, minuteStep: number, secondStep: number): [number, number, number];
export declare function getLastDay<DateType>(generateConfig: GenerateConfig<DateType>, date: DateType): string;