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

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

Changes the current short date format. The format of the date is a string which contains variables that will be replaced:
  • %Y with the whole year (e.g. "1984" for "1984")
  • %y with the lower 2 digits of the year (e.g. "84" for "1984")
  • %n with the month (January="1", December="12")
  • %m with the month with two digits (January="01", December="12")
  • %e with the day of the month (e.g. "1" on the first of march)
  • %d with the day of the month with two digits(e.g. "01" on the first of march)
  • %b with the short form of the month (e.g. "Jan" for January)
  • %B with the long form of the month (e.g. "January")
  • %a with the short form of the weekday (e.g. "Wed" for Wednesday)
  • %A with the long form of the weekday (e.g. "Wednesday" for Wednesday)
  • Everything else in the format string will be taken as is. For example, March 20th 1989 with the format "%y:%m:%d" results in "89:03:20". name="format" The new short date format
    public SetDateFormatShort ( string format ) : void
    format string
    Результат void
            public void SetDateFormatShort(string format)
            {
                interceptor.Invoke("setDateFormatShort$", "setDateFormatShort(const QString&)", typeof(void), typeof(string), format);
            }