文档

Unity Engine

Unity Engine

TimeFormatter()

Initializes the extension with a default TimeTextInfo.
阅读时间1 分钟最后更新于 1 个月前

Definition

public TimeFormatter()

Remarks

Culture is determined in this sequence:
  1. Get the culture from the FormattingInfo.FormatterOptions.
  2. Get the culture from the IFormatProvider argument (which may be a CultureInfo) to SmartFormatter.Format
  3. Get the culture from the selected locale.
  4. The CurrentUICulture.TimeFormatter makes use of PluralRules and PluralLocalizationFormatter.