Skip to main content Skip to complementary content

ILocaleInfo Interface

Namespace: Qlik.Engine
Assembly: Qlik.Engine.dll

Syntax

[ValueClass]
public interface ILocaleInfo

Properties

Name Description
BrokenWeeks

Is set to true if broken weeks are allowed in a year.

According to ISO 8601, no broken weeks should be allowed.

This property is not shown if set to false.

If qBrokenWeeks is set to true, qReferenceDay is irrelevant.

If this property has not been set in a script, the returned value comes from the Windows operating system.

JSON property name: qBrokenWeeks

CalendarStrings

Information about the calendar.

JSON property name: qCalendarStrings

Collation

Locale name (following language tagging convention RFC 4646):

< language>-<REGION>

Where:

* language is a lowercase ISO 639 language code

* REGION specifies an uppercase ISO 3166 country code.

If this property has not been set in a script, the returned value comes from the Windows operating system.

JSON property name: qCollation

CurrentYear

Current year.

JSON property name: qCurrentYear

DateFmt

Date format.

Example: YYYY-MM-DD

JSON property name: qDateFmt

DecimalSep

Decimal separator.

JSON property name: qDecimalSep

FirstMonthOfYear

First month of the year, starting from 1.

According to ISO 8601, January is the first month of the year.

* 1 = January

* 2 = February

* 12 = January

If this property has not been set in a script, the returned value comes from the Windows operating system.

JSON property name: qFirstMonthOfYear

FirstWeekDay

First day of the week, starting from 0.

According to ISO 8601, Monday is the first day of the week.

* 0 = Monday

* 1 = Tuesday

* ...

* 6 = Sunday

If this property has not been set in a script, the returned value comes from the Windows operating system.

JSON property name: qFirstWeekDay

ListSep

List separator.

JSON property name: qListSep

MoneyDecimalSep

Money decimal separator.

JSON property name: qMoneyDecimalSep

MoneyFmt

Money format.

Example: #.##0,00 kr;-#.##0,00 kr

JSON property name: qMoneyFmt

MoneyThousandSep

Money thousand separator.

JSON property name: qMoneyThousandSep

NumericalAbbreviation

Number format.

Example: 3:k;6:M;9:G;12:T;15:P;18:E;21:Z;24:Y;-3:m;-6:μ;-9:n;-12:p;-15:f;-18:a;-21:z;-24:y

JSON property name: qNumericalAbbreviation

ReferenceDay

Day in the year that is always in week 1.

According to ISO 8601, January 4th should always be part of the first week of the year ( qReferenceDay =4).

Recommended values are in the range 1 and 7.

If this property has not been set in a script, the returned value comes from the Windows operating system.

This property is not relevant if there are broken weeks in the year.

JSON property name: qReferenceDay

ThousandSep

Thousand separator.

JSON property name: qThousandSep

TimeFmt

Time format.

Example: hh:mm:ss

JSON property name: qTimeFmt

TimestampFmt

Time stamp format.

Example: YYYY-MM-DD hh:mm:ss[.fff]

JSON property name: qTimestampFmt

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!