@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
14 lines (13 loc) • 419 B
TypeScript
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;
toString(): string;
}