import { TodoElement } from "../elements/index"; export declare class DateHelper { private date; static WEEKDAYS: string[]; static RepeatDict: { readonly 不重复: "noRepeat"; readonly 每天: "everyday"; readonly 每月: "monthly"; readonly 每周: "weekday"; readonly 周末: "weekend"; readonly noRepeat: "不重复"; readonly everyday: "每天"; readonly monthly: "每月"; readonly weekday: "每周"; readonly weekend: "周末"; }; static getTimeArr: () => { label: string; time: number; }[]; static RepeatArr: readonly ["不重复", "每天", "每周", "每月", "周末"]; /** * 将时间戳转化为友好的字符串 * @param timestamp 时间戳 * @returns 格式化对象 */ static transformTime(remindDate: TodoElement['remindDate']): string; constructor(date: Date); getMonth(): number; getYear(): number; getCaption(): string; getDay(): number; getHM(): string; getTimestampWithOutHour(): number; getTimestampOnlyHour(): number; getBasic(): { h: string; m: string; }; getDate(): Date; private withZero; }