Humanizer.IDateOnlyHumanizeStrategy
IDateOnlyHumanizeStrategy Interface
Implement this interface to create a new strategy for DateOnly.Humanize and hook it in the Configurator.DateOnlyHumanizeStrategy
public interface IDateOnlyHumanizeStrategy
Derived
↳ DefaultDateOnlyHumanizeStrategy
↳ PrecisionDateOnlyHumanizeStrategy
Methods
IDateOnlyHumanizeStrategy.Humanize(DateOnly, DateOnly, CultureInfo) Method
Calculates the distance of time in words between two provided dates used for DateOnly.Humanize
string Humanize(System.DateOnly input, System.DateOnly comparisonBase, System.Globalization.CultureInfo? culture);
Parameters
input System.DateOnly
comparisonBase System.DateOnly
culture System.Globalization.CultureInfo