UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

15 lines (14 loc) 474 B
import type { DayOfWeek, Month, LocalDate as LocalDateInterface } from '@enonic-types/lib-value'; export declare class LocalDate implements LocalDateInterface { private date; static months: Month[]; static daysOfWeek: DayOfWeek[]; constructor(value: string | Date); getYear(): number; getMonthValue(): number; getMonth(): Month; getDayOfMonth(): number; getDayOfWeek(): DayOfWeek; getDayOfYear(): number; isLeapYear(): boolean; }