Humanizer.Localisation.DateToOrdinalWords.IDateToOrdinalWordConverter
IDateToOrdinalWordConverter Interface
The interface used to localise the ToOrdinalWords method.
public interface IDateToOrdinalWordConverter
Methods
IDateToOrdinalWordConverter.Convert(DateTime) Method
Converts the date to Ordinal Words
string Convert(System.DateTime date);
Parameters
date System.DateTime
Returns
IDateToOrdinalWordConverter.Convert(DateTime, GrammaticalCase) Method
Converts the date to Ordinal Words using the provided grammatical case
string Convert(System.DateTime date, Humanizer.GrammaticalCase grammaticalCase);
Parameters
date System.DateTime
grammaticalCase GrammaticalCase