Kimono.KLocale.SetTimeFormat C# (CSharp) Метод

SetTimeFormat() публичный Метод

Changes the current time format. The format of the time is string a which contains variables that will be replaced:
  • %H with the hour in 24h format and 2 digits (e.g. 5pm is "17", 5am is "05")
  • %k with the hour in 24h format and one digits (e.g. 5pm is "17", 5am is "5")
  • %I with the hour in 12h format and 2 digits (e.g. 5pm is "05", 5am is "05")
  • %l with the hour in 12h format and one digits (e.g. 5pm is "5", 5am is "5")
  • %M with the minute with 2 digits (e.g. the minute of 07:02:09 is "02")
  • %S with the seconds with 2 digits (e.g. the minute of 07:02:09 is "09")
  • %p with pm or am (e.g. 17.00 is "pm", 05.00 is "am")
  • Everything else in the format string will be taken as is. For example, 5.23pm with the format "%H:%M" results in "17:23". name="format" The new time format
    public SetTimeFormat ( string format ) : void
    format string
    Результат void
            public void SetTimeFormat(string format)
            {
                interceptor.Invoke("setTimeFormat$", "setTimeFormat(const QString&)", typeof(void), typeof(string), format);
            }