Inheritance
TimeFormatter
[Serializable]
public class TimeFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
Creates a new instance of the formatter.
Declaration
Properties
Determines the options for time formatting.
Declaration
public TimeSpanFormatOptions DefaultFormatOptions { get; set; }
Property Value
Type |
Description |
UnityEngine.Localization.SmartFormat.Utilities.TimeSpanFormatOptions |
|
Declaration
public override string[] DefaultNames { get; }
Property Value
Overrides
The ISO language name, which will be used for getting the UnityEngine.Localization.SmartFormat.Utilities.TimeTextInfo.
Declaration
public string DefaultTwoLetterISOLanguageName { get; set; }
Property Value
Methods
Writes the current value to the output, using the specified format.
IF this extension cannot write the value, returns false, otherwise true.
Declaration
public override bool TryEvaluateFormat(IFormattingInfo formattingInfo)
Parameters
Returns
Overrides