Localizes the ordinal form of a 64-bit integer.
public interface ILongOrdinalizer : Humanizer.IOrdinalizerImplements IOrdinalizer
Implement this interface when registering a custom ordinalizer that supports values outside the System.Int32 range. Existing IOrdinalizer implementations remain supported for 32-bit values.
Ordinalizes the number using the default grammatical form.
string Convert(long number, string numberString);number System.Int64
The numeric value being ordinalized.
numberString System.String
The cardinal representation of the number.
System.String
The ordinalized text.
Ordinalizes the number using the provided grammatical gender.
string Convert(long number, string numberString, Humanizer.GrammaticalGender gender);number System.Int64
The numeric value being ordinalized.
numberString System.String
The cardinal representation of the number.
gender GrammaticalGender
The grammatical gender to use when the locale requires one.
System.String
The ordinalized text.
Ordinalizes the number using the provided grammatical gender and word form.
string Convert(long number, string numberString, Humanizer.GrammaticalGender gender, Humanizer.WordForm wordForm);number System.Int64
The numeric value being ordinalized.
numberString System.String
The cardinal representation of the number.
gender GrammaticalGender
The grammatical gender to use when the locale requires one.
wordForm WordForm
The word form to use when the locale distinguishes abbreviations from full words.
System.String
The ordinalized text.
Ordinalizes the number using a locale-specific word form.
string Convert(long number, string numberString, Humanizer.WordForm wordForm);number System.Int64
The numeric value being ordinalized.
numberString System.String
The cardinal representation of the number.
wordForm WordForm
The word form to use when the locale distinguishes abbreviations from full words.
System.String
The ordinalized text.