Class TimeFormatter
Inherited Members
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Assembly: solution.dll
Syntax
[Serializable]
public class TimeFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
| Name | Description |
|---|---|
| TimeFormatter() | Creates a new instance of the formatter. |
Properties
| Name | Description |
|---|---|
| DefaultFormatOptions | Determines the options for time formatting. |
| DefaultNames | |
| DefaultTwoLetterISOLanguageName | The ISO language name, which will be used for getting the TimeTextInfo. |
Methods
| Name | Description |
|---|---|
| TryEvaluateFormat(IFormattingInfo) | Writes the current value to the output, using the specified format. IF this extension cannot write the value, returns false, otherwise true. |