@enonic/mock-xp
Version:
Mock Enonic XP API JavaScript Library
18 lines (17 loc) • 555 B
TypeScript
import type { DayOfWeek, Month, LocalDateTime as LocalDateTimeInterface } from '@enonic-types/lib-value';
export declare class LocalDateTime implements LocalDateTimeInterface {
private date;
private belowMilli;
static months: Month[];
static daysOfWeek: DayOfWeek[];
constructor(value: string | Date);
getYear(): number;
getMonthValue(): number;
getMonth(): Month;
getDayOfMonth(): number;
getDayOfWeek(): DayOfWeek;
getHour(): number;
getMinute(): number;
getSecond(): number;
getNano(): number;
}