Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.83 KB

File metadata and controls

38 lines (24 loc) · 1.83 KB

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

Returns

System.String