TimeFormatter
A formatter that outputs TimeSpan values as human-readable text.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: FormatterBase
- Implements: IFormatter
public class TimeFormatter : FormatterBase, IFormatter
Constructors
Constructor | Description |
|---|---|
| TimeFormatter() | Initializes the extension with a default TimeTextInfo. |
Properties
Property | Description |
|---|---|
| DefaultFormatOptions | The options that control how time values are formatted. |
| FallbackLanguage | The fallback language used when no supported language is found. Default is "en". If no fallback language shall be used, set it to Empty. |