@progress/kendo-vue-dateinputs
Version:
61 lines (60 loc) • 1.91 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { DateInputFormatPlaceholder } from './format-placeholder';
import { IntlService, DateFormatOptions } from '@progress/kendo-vue-intl';
/**
* @hidden
*/
export interface DatePart {
value: Date | null;
}
/**
* @hidden
*/
export declare class KendoDate {
year: boolean;
month: boolean;
date: boolean;
hours: boolean;
minutes: boolean;
seconds: boolean;
milliseconds: boolean;
formatPlaceholder: DateInputFormatPlaceholder;
format: string | DateFormatOptions;
private leadingZero;
private monthNames;
private typedMonthPart;
private knownParts;
private symbols;
private intlProvider;
get intl(): IntlService;
private _value;
get value(): Date;
constructor(intlProvider: any, formatPlaceholder: DateInputFormatPlaceholder, format: string | DateFormatOptions);
setValue(value: Date | null): void;
hasValue(): boolean;
getDateObject(): Date | null;
getTextAndFormat(): {
text: string;
format: string;
};
modifyExisting(value: boolean): void;
getExisting(symbol: string): boolean;
setExisting(symbol: string, value: boolean): void;
modifyPart(symbol: string, offset: number): void;
parsePart(symbol: string, currentChar: string): DatePart;
symbolMap(symbol: string): string;
resetLeadingZero(): boolean;
private isAbbrMonth;
private partPattern;
private matchMonth;
private allFormatedMonths;
private dateFormatString;
private merge;
private dateFieldName;
}