Files
routie/frontend/node_modules/vuetify/lib/components/VCalendar/composables/times.d.ts
T

46 lines
1.3 KiB
TypeScript

import type { CalendarTimestamp } from '../types.js';
export declare function useTimes(props: {
now: string | undefined;
}): {
times: {
now: {
date: string;
time: string;
year: number;
month: number;
day: number;
weekday: number;
hour: number;
minute: number;
hasDay: boolean;
hasTime: boolean;
past: boolean;
present: boolean;
future: boolean;
category?: import("../types.js").CalendarCategory;
};
today: {
date: string;
time: string;
year: number;
month: number;
day: number;
weekday: number;
hour: number;
minute: number;
hasDay: boolean;
hasTime: boolean;
past: boolean;
present: boolean;
future: boolean;
category?: import("../types.js").CalendarCategory;
};
};
parsedNow: import("vue").ComputedRef<CalendarTimestamp | null>;
updateTimes: () => void;
setPresent: () => void;
getNow: () => CalendarTimestamp;
updateDay: (now: CalendarTimestamp, target: CalendarTimestamp) => void;
updateTime: (now: CalendarTimestamp, target: CalendarTimestamp) => void;
};