/**
 * The `TimeAgoIntl` class provides labels for the `TimeAgoDirective`.
 *
 * @public
 */
export class TimeAgoIntl {
    // #region Fields
    _fewSecondsLabel;
    _minuteLabel;
    _minutesLabel;
    _hourLabel;
    _hoursLabel;
    _dayLabel;
    _daysLabel;
    _monthLabel;
    _monthsLabel;
    _yearLabel;
    _yearsLabel;
    // #endregion
    // #region Ctor
    /**
     * Constructs a new instance of the `TimeAgoIntl` class.
     *
     * @public
     */
    constructor() {
        this._fewSecondsLabel = 'a few seconds ago';
        this._minuteLabel = 'a minute ago';
        this._minutesLabel = '{0} minutes ago';
        this._hourLabel = 'an hour ago';
        this._hoursLabel = '{0} hours ago';
        this._dayLabel = 'a day ago';
        this._daysLabel = '{0} days ago';
        this._monthLabel = 'a month ago';
        this._monthsLabel = '{0} months ago';
        this._yearLabel = 'a year ago';
        this._yearsLabel = '{0} years ago';
    }
    // #endregion
    // #region Properties
    get fewSecondsLabel() {
        return this._fewSecondsLabel;
    }
    set fewSecondsLabel(value) {
        this._fewSecondsLabel = value;
    }
    get minuteLabel() {
        return this._minuteLabel;
    }
    set minuteLabel(value) {
        this._minuteLabel = value;
    }
    get minutesLabel() {
        return this._minutesLabel;
    }
    set minutesLabel(value) {
        this._minutesLabel = value;
    }
    get hourLabel() {
        return this._hourLabel;
    }
    set hourLabel(value) {
        this._hourLabel = value;
    }
    get hoursLabel() {
        return this._hoursLabel;
    }
    set hoursLabel(value) {
        this._hoursLabel = value;
    }
    get dayLabel() {
        return this._dayLabel;
    }
    set dayLabel(value) {
        this._dayLabel = value;
    }
    get daysLabel() {
        return this._daysLabel;
    }
    set daysLabel(value) {
        this._daysLabel = value;
    }
    get monthLabel() {
        return this._monthLabel;
    }
    set monthLabel(value) {
        this._monthLabel = value;
    }
    get monthsLabel() {
        return this._monthsLabel;
    }
    set monthsLabel(value) {
        this._monthsLabel = value;
    }
    get yearLabel() {
        return this._yearLabel;
    }
    set yearLabel(value) {
        this._yearLabel = value;
    }
    get yearsLabel() {
        return this._yearsLabel;
    }
    set yearsLabel(value) {
        this._yearsLabel = value;
    }
    // #endregion
    // #region Methods
    formatMinutesLabel(minutes) {
        return this._minutesLabel.replace('{0}', String(minutes));
    }
    formatHoursLabel(hours) {
        return this._hoursLabel.replace('{0}', String(hours));
    }
    formatDaysLabel(days) {
        return this._daysLabel.replace('{0}', String(days));
    }
    formatMonthsLabel(months) {
        return this._monthsLabel.replace('{0}', String(months));
    }
    formatYearsLabel(years) {
        return this._yearsLabel.replace('{0}', String(years));
    }
}
//# sourceMappingURL=TimeAgoIntl.js.map