Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TimeFormatter()

Initializes the extension with a default TimeTextInfo.
Read time 1 minuteLast updated 11 days ago

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.