3.1.4.20.3.1 CultureCommandParameter
The CultureCommandParameter is used to specify UI culture, data culture and host data language related information when creating a new session (2).
-
<s:complexType name="CultureCommandParameter"> <s:sequence> <s:element name="UICultureName" type="s:string" minOccurs="0"/> <s:element name="DataCultureName" type="s:string" minOccurs="0"/> <s:element name="SharePointDataCultureName" type="s:string" minOccurs="0"/> <s:element name="TimeZoneSerialization" type="s:string" minOccurs="0"/> </s:sequence> </s:complexType>
UICultureName: A language tag, as specified in [RFC1766] section 2. Specifies the UI culture. MUST be present. MUST NOT be empty. MUST NOT be longer than 32,768 characters. If the language represented by UICultureName is unsupported on the protocol server, the protocol server MAY<35> fall back to some other supported language.
DataCultureName: A language tag, as specified in [RFC1766] section 2. Specifies the data culture. MUST be present. MUST NOT be empty. MUST NOT be longer than 32768 characters. The protocol server MUST use SharePointDataCultureName as a fallback data culture if DataCultureName is not supported.
SharePointDataCultureName: A language tag, as specified in [RFC1766] section 2. Specifies the host data language. MUST be present. MUST NOT be longer than 32768 characters.
TimeZoneSerialization: The time zone of the session (2). MUST be present. MUST be exactly 73 characters long. MUST have the following layout, which is specified using ABNF, as specified in [RFC2234].
TimeZone |
= |
Bias "#" StandardDate "#" StandardBias "#" DaylightDate "#" DaylightBias |
---|---|---|
Bias |
= |
"+"\"-" 4DIGIT |
StandardDate |
= |
Date %d84 Time |
StandardBias |
= |
"+"\"-" 4DIGIT |
DaylightDate |
= |
Date %d84 Time |
DaylightBias |
= |
"+"\"-" 4DIGIT |
Date |
= |
Year "-" Month "-" DayOfWeek "-" Day |
Time |
= |
Hour ":" Minute ":" Second ":" Millisecond |
Year |
= |
4DIGIT |
Month |
= |
2DIGIT ; 01-12 |
DayOfWeek |
= |
2DIGIT ; 00-06 (Sunday-Saturday) |
Day |
= |
2DIGIT ; 01-31 |
Hour |
= |
2DIGIT ; 00-23 |
Minute |
= |
2DIGIT ; 00-59 |
Second |
= |
2DIGIT ; 00-59 |
Millisecond |
= |
4DIGIT |
The following restrictions MUST apply on the TimeZoneSerialization:
Bias MUST be the time zone bias.
StandardDate MUST be the time zone standard date.
StandardBias MUST be the time zone standard bias.
DaylightDate MUST be the time zone daylight date.
DaylightBias MUST be the time zone daylight bias.
The following restrictions are specified in [RFC3339]:
Month MUST be date-month.
Day MUST be date-mday.
Hour MUST be time-hour.
Minute MUST time-minute.
Second MUST be time-second.
DayOfWeek MUST have one of the values in the following table.
Value
Meaning
00
Sunday
01
Monday
02
Tuesday
03
Wednesday
04
Thursday
05
Friday
06
Saturday