@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
20 lines (19 loc) • 677 B
TypeScript
import { PipeTransform } from '@angular/core';
import { TccInputTypePipe } from '../tcc-input-type/tcc-input-type.pipe';
import { TccClarcDate } from '../../../odata/models/shared.model';
export declare enum TccClarcDateFormat {
auto_short = 0,
date_short = 1,
iso = 2,
auto_long = 3,
date_long = 4
}
export declare class TccClarcDatePipe implements PipeTransform {
private inputtype;
private locale;
constructor(inputtype: TccInputTypePipe, locale: string);
transform(value: any, format?: TccClarcDateFormat): string;
valueToDateObj(val: any): any;
transformClarcDate(val: TccClarcDate): Date;
transformAll(val: any): string;
}