Class TimeTextInfo
Supplies the localized text used for TimeSpan formatting.
Syntax
public class TimeTextInfo
Constructors
TimeTextInfo(String, String, String, String, String, String, String)
Declaration
public TimeTextInfo(string week, string day, string hour, string minute, string second, string millisecond, string lessThan)
Parameters
TimeTextInfo(PluralRules.PluralRuleDelegate, String[], String[], String[], String[], String[], String[], String[], String[], String[], String[], String[], String[], String)
Declaration
public TimeTextInfo(PluralRules.PluralRuleDelegate pluralRule, string[] week, string[] day, string[] hour, string[] minute, string[] second, string[] millisecond, string[] w, string[] d, string[] h, string[] m, string[] s, string[] ms, string lessThan)
Parameters
Methods
GetLessThanText(String)
Declaration
public string GetLessThanText(string minimumValue)
Parameters
Type |
Name |
Description |
String |
minimumValue |
|
Returns
GetUnitText(TimeSpanFormatOptions, Int32, Boolean)
Declaration
public virtual string GetUnitText(TimeSpanFormatOptions unit, int value, bool abbr)
Parameters
Returns