/// <summary> /// Initializes a new instance of the <see cref="T:NodaTime.Humanization.Humanizer" /> class. /// </summary> /// <param name="unitsToDisplay">The units to display in the result</param> public Humanizer(PeriodUnits unitsToDisplay, int maxiumumNumberOfUnitsToDisplay, HumanizerParameters parameters) { this.UnitsToDisplay = unitsToDisplay; this.MaxiumumNumberOfUnitsToDisplay = maxiumumNumberOfUnitsToDisplay; this.Parameters = parameters; }
public Humanizer(PeriodUnits unitsToDisplay, HumanizerParameters parameters) : this(unitsToDisplay, DefaultMaximumNumberOfUnitsToDisplay, parameters) { }
public Humanizer(int maxiumumNumberOfUnitsToDisplay, HumanizerParameters parameters) : this(DefaultUnitsToDisplay, maxiumumNumberOfUnitsToDisplay, parameters) { }
public Humanizer(HumanizerParameters parameters) : this(DefaultUnitsToDisplay, DefaultMaximumNumberOfUnitsToDisplay, parameters) { }