@progress/kendo-angular-scheduler
Version:
Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.
29 lines (28 loc) • 1.14 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Describes the date range of a Scheduler view.
*
* The interval includes the `start` date and all dates up to but not including the `end` date.
* The Scheduler displays either the `text` or `shortText` field in its navigation bar, depending on the component size.
*/
export interface DateRange {
/**
* Represents the start date of the range (inclusive).
*/
start: Date;
/**
* Represents the end date of the range (exclusive).
*/
end: Date;
/**
* Defines the textual representation of the date range, for example, `Monday, June 10, 2025 - Monday, June 17, 2025`.
*/
text: string;
/**
* Defines the short textual representation of the date range, for example, `6/10/2025 - 6/17/2026`.
*/
shortText: string;
}