UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

105 lines (104 loc) 2.17 kB
/** * Represents a time-period. */ export declare class TimePeriod { /** * The minute of the period. */ private minute; /** * The hour of the period. */ private hour; /** * The day of the month of the period. */ private dayOfMonth; /** * The month of the period. */ private month; /** * The day of the week of the period. */ private dayOfWeek; /** * Initializes a new instance of the {@link TimePeriod `TimePeriod`} class. * * @param minute * The minute of the period. * * @param hour * The hour of the period. * * @param dayOfMonth * The day of the month of the period. * * @param month * The month of the period. * * @param dayOfWeek * The day of the week of the period. */ constructor(minute: string, hour: string, dayOfMonth: string, month: string, dayOfWeek: string); /** * Gets a yearly period. */ static get Yearly(): TimePeriod; /** * Gets a monthly period. */ static get Monthly(): TimePeriod; /** * Gets a weekly period. */ static get Weekly(): TimePeriod; /** * Gets a daily period. */ static get Daily(): TimePeriod; /** * Gets an hourly period. */ static get Hourly(): TimePeriod; /** * Gets or sets the minute of the period. */ get Minute(): string; /** * @inheritdoc */ set Minute(value: string); /** * Gets or sets the hour of the period. */ get Hour(): string; /** * @inheritdoc */ set Hour(value: string); /** * Gets or sets the day of the month of the period. */ get DayOfMonth(): string; /** * @inheritdoc */ set DayOfMonth(value: string); /** * Gets or sets the month of the period. */ get Month(): string; /** * @inheritdoc */ set Month(value: string); /** * Gets or sets the day of the week of the period. */ get DayOfWeek(): string; /** * @inheritdoc */ set DayOfWeek(value: string); }