UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

24 lines (21 loc) 941 B
/** * DevExtreme (common/core/localization/date.d.ts) * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { Format as LocalizationFormat } from '../localization'; type Format = 'abbreviated' | 'short' | 'narrow'; interface DateLocalization { firstDayOfWeekIndex(): number; format(date?: Date, format?: LocalizationFormat): string | Date | undefined; getDayNames(format?: Format): string[]; getMonthNames(format?: Format): string[]; } /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ declare const dateLocalization: DateLocalization; export default dateLocalization;