UNPKG

@taiga-ui/cdk

Version:

Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance

15 lines (14 loc) 463 B
import { type TuiMonth } from './month'; /** * An immutable range of two {@link TuiMonth} objects */ export declare class TuiMonthRange { readonly from: TuiMonth; readonly to: TuiMonth; constructor(from: TuiMonth, to: TuiMonth); static sort(month1: TuiMonth, month2: TuiMonth): TuiMonthRange; get isSingleMonth(): boolean; monthSame(another: TuiMonthRange): boolean; monthInRange(month: TuiMonth): boolean; toString(): string; }