Converts dates into the localized text used by ToOrdinalWords.
public interface IDateOnlyToOrdinalWordConverterConverts the given date to ordinal words for the current culture.
string Convert(System.DateOnly date);date System.DateOnly
The date to format.
System.String
The localized ordinal-date string.
Converts the given date to ordinal words using the specified grammatical case.
string Convert(System.DateOnly date, Humanizer.GrammaticalCase grammaticalCase);date System.DateOnly
The date to format.
grammaticalCase GrammaticalCase
The grammatical case to apply when the locale supports case-specific date forms.
System.String
The localized ordinal-date string.