import { inject, Pipe } from '@angular/core';
import { DateAdapter } from '../../datetime';
import { DateFormatter } from './formatter';
import * as i0 from "@angular/core";
export class BaseFormatterPipe {
    constructor() {
        this.adapter = inject((DateAdapter));
        this.formatter = inject((DateFormatter));
    }
}
export class AbsoluteDateFormatterPipe extends BaseFormatterPipe {
    transform(value, currYear) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.absoluteLongDate(date, currYear) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterPipe, isStandalone: true, name: "absoluteLongDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteLongDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class AbsoluteDateFormatterImpurePipe extends AbsoluteDateFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterImpurePipe, isStandalone: true, name: "absoluteLongDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteLongDateImpurePipe',
                    pure: false
                }]
        }] });
export class AbsoluteDateTimeFormatterPipe extends BaseFormatterPipe {
    transform(value, options) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.absoluteLongDateTime(date, options) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, isStandalone: true, name: "absoluteLongDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteLongDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class AbsoluteDateTimeFormatterImpurePipe extends AbsoluteDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterImpurePipe, isStandalone: true, name: "absoluteLongDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteLongDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class AbsoluteDateShortFormatterPipe extends BaseFormatterPipe {
    transform(value, currYear) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.absoluteShortDate(date, currYear) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterPipe, isStandalone: true, name: "absoluteShortDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteShortDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class AbsoluteDateShortFormatterImpurePipe extends AbsoluteDateShortFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterImpurePipe, isStandalone: true, name: "absoluteShortDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteDateShortFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteShortDateImpurePipe',
                    pure: false
                }]
        }] });
export class AbsoluteShortDateTimeFormatterPipe extends BaseFormatterPipe {
    transform(value, options) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.absoluteShortDateTime(date, options) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, isStandalone: true, name: "absoluteShortDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteShortDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class AbsoluteShortDateTimeFormatterImpurePipe extends AbsoluteShortDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterImpurePipe, isStandalone: true, name: "absoluteShortDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AbsoluteShortDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'absoluteShortDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class RelativeDateFormatterPipe extends BaseFormatterPipe {
    transform(value) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.relativeLongDate(date) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterPipe, isStandalone: true, name: "relativeLongDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeLongDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RelativeDateFormatterImpurePipe extends RelativeDateFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterImpurePipe, isStandalone: true, name: "relativeLongDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeLongDateImpurePipe',
                    pure: false
                }]
        }] });
export class RelativeDateTimeFormatterPipe extends BaseFormatterPipe {
    transform(value, options) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.relativeLongDateTime(date, options) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterPipe, isStandalone: true, name: "relativeLongDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeLongDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RelativeDateTimeFormatterImpurePipe extends RelativeDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterImpurePipe, isStandalone: true, name: "relativeLongDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeLongDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class RelativeShortDateFormatterPipe extends BaseFormatterPipe {
    transform(value) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.relativeShortDate(date) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterPipe, isStandalone: true, name: "relativeShortDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeShortDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RelativeShortDateFormatterImpurePipe extends RelativeShortDateFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterImpurePipe, isStandalone: true, name: "relativeShortDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeShortDateImpurePipe',
                    pure: false
                }]
        }] });
export class RelativeShortDateTimeFormatterPipe extends BaseFormatterPipe {
    transform(value, options) {
        const date = this.adapter.deserialize(value);
        return date ? this.formatter.relativeShortDateTime(date, options) : '';
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, isStandalone: true, name: "relativeShortDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeShortDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RelativeShortDateTimeFormatterImpurePipe extends RelativeShortDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterImpurePipe, isStandalone: true, name: "relativeShortDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RelativeShortDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'relativeShortDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class RangeDateFormatterPipe extends BaseFormatterPipe {
    transform([value1, value2]) {
        const date1 = this.adapter.deserialize(value1);
        const date2 = this.adapter.deserialize(value2);
        return this.formatter.rangeLongDate(date1, date2);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterPipe, isStandalone: true, name: "rangeLongDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeLongDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RangeDateFormatterImpurePipe extends RangeDateFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterImpurePipe, isStandalone: true, name: "rangeLongDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeLongDateImpurePipe',
                    pure: false
                }]
        }] });
export class RangeShortDateFormatterPipe extends BaseFormatterPipe {
    transform([value1, value2]) {
        const date1 = this.adapter.deserialize(value1);
        const date2 = this.adapter.deserialize(value2);
        return this.formatter.rangeShortDate(date1, date2);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterPipe, isStandalone: true, name: "rangeShortDate" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeShortDate'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RangeShortDateFormatterImpurePipe extends RangeShortDateFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterImpurePipe, isStandalone: true, name: "rangeShortDateImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeShortDateImpurePipe',
                    pure: false
                }]
        }] });
export class RangeDateTimeFormatterPipe extends BaseFormatterPipe {
    transform([value1, value2], options) {
        const date1 = this.adapter.deserialize(value1);
        const date2 = this.adapter.deserialize(value2);
        return this.formatter.rangeLongDateTime(date1, date2, options);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterPipe, isStandalone: true, name: "rangeLongDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeLongDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RangeDateTimeFormatterImpurePipe extends RangeDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterImpurePipe, isStandalone: true, name: "rangeLongDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeLongDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class RangeMiddleDateTimeFormatterPipe extends BaseFormatterPipe {
    transform([value1, value2], options) {
        const date1 = this.adapter.deserialize(value1);
        const date2 = this.adapter.deserialize(value2);
        return this.formatter.rangeMiddleDateTime(date1, date2, options);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, isStandalone: true, name: "rangeMiddleDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeMiddleDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RangeMiddleDateTimeFormatterImpurePipe extends RangeMiddleDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterImpurePipe, isStandalone: true, name: "rangeMiddleDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeMiddleDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeMiddleDateTimeImpurePipe',
                    pure: false
                }]
        }] });
export class RangeShortDateTimeFormatterPipe extends BaseFormatterPipe {
    transform([value1, value2], options) {
        const date1 = this.adapter.deserialize(value1);
        const date2 = this.adapter.deserialize(value2);
        return this.formatter.rangeShortDateTime(date1, date2, options);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterPipe, isStandalone: true, name: "rangeShortDateTime" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterPipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeShortDateTime'
                }]
        }] });
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
export class RangeShortDateTimeFormatterImpurePipe extends RangeShortDateTimeFormatterPipe {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterImpurePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
    /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterImpurePipe, isStandalone: true, name: "rangeShortDateTimeImpurePipe", pure: false }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RangeShortDateTimeFormatterImpurePipe, decorators: [{
            type: Pipe,
            args: [{
                    standalone: true,
                    name: 'rangeShortDateTimeImpurePipe',
                    pure: false
                }]
        }] });
//# sourceMappingURL=data:application/json;base64, 