@tiampersian/kendo-jalali-date-inputs
Version:
angular jalali ( persian ) date time picker base on kendo-angular-dateinputs
32 lines (31 loc) • 1.36 kB
TypeScript
import { CldrIntlService, NumberFormatOptions } from '@progress/kendo-angular-intl';
import { Dayjs } from 'dayjs';
import { Subject } from 'rxjs';
import { DatePickerType } from '../models/date-picker-type';
import { DateTimeNumberService } from './date-time-number.service';
import * as i0 from "@angular/core";
export declare class JalaliCldrIntlService extends CldrIntlService {
private originalLocaleId;
private momentNumberService;
isJalali: boolean;
isGregorian: boolean;
datePickerType: DatePickerType;
localeIdByDatePickerType: string;
get isLocaleIran(): boolean;
get calendarType(): any;
defaultTitleTemplate: any;
$calendarType: Subject<unknown>;
isFirst: boolean;
constructor(originalLocaleId: string, momentNumberService: DateTimeNumberService);
firstDay(localeId?: string): number;
setTitleTemplate(template: any): void;
changeType(value?: DatePickerType): void;
reload(): void;
changeLocaleId(value: any): void;
toggleType(): void;
private getType;
formatNumber(value: number, format: string | NumberFormatOptions, localeId?: string): string;
getDayJsValue(value?: Date | string, localeId?: string): Dayjs;
static ɵfac: i0.ɵɵFactoryDeclaration<JalaliCldrIntlService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<JalaliCldrIntlService>;
}