TimeFormatter()
Initializes the extension with a default TimeTextInfo.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
public TimeFormatter()
Remarks
Culture is determined in this sequence:
- Get the culture from the FormattingInfo.FormatterOptions.
- Get the culture from the IFormatProvider argument (which may be a CultureInfo) to SmartFormatter.Format
- Get the culture from the selected locale.
- The CurrentUICulture.TimeFormatter makes use of PluralRules and PluralLocalizationFormatter.