共用方式為


2.2.4.2.2.20.12 TimeBinding

The TimeBinding complex type represents a binding to a time calendar.

   <xsd:complexType name="TimeBinding" >
     <xsd:complexContent>
       <xsd:extension base="Binding">
         <xsd:all>
           <xsd:element name="CalendarStartDate" type="xsd:dateTime"/>
           <xsd:element name="CalendarEndDate" type="xsd:dateTime"/>
           <xsd:element name="FirstDayOfWeek " minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="7" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="CalendarLanguage" type="xsd:integer" minOccurs="0"/>
           <xsd:element name="FiscalFirstMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="12" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="FiscalFirstDayOfMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="31" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="FiscalYearName" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="CalendarYearName" />
                 <xsd:enumeration value="NextCalendarYearName" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="ReportingFirstMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="12" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="ReportingFirstWeekOfMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="1" />
                 <xsd:enumeration value="2" />
                 <xsd:enumeration value="3" />
                 <xsd:enumeration value="4" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="ReportingWeekToMonthPattern" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="Weeks445" />
                 <xsd:enumeration value="Weeks454" />
                 <xsd:enumeration value="Weeks544" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="ManufacturingFirstMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="12" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name=" ManufacturingFirstWeekOfMonth" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="4" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
           <xsd:element name="ManufacturingExtraMonthQuarter" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:integer">
                 <xsd:minInclusive value="1" />
                 <xsd:maxInclusive value="4" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:element>
         </xsd:all>
       </xsd:extension>
     </xsd:complexContent>
   </xsd:complexType>

Element

Read-Only

Default value

Description

CalendarStartDate

[Required]

The start date of the calendar.

CalendarEndDate

[Required]

The end date of the calendar. The end date needs to be on or after the start date.

FirstDayOfWeek

1

The first day of the week.

1=Sunday

7=Saturday

CalendarLanguage

1033

(English-US)

The language in which the dimension member names will be created. This MUST be a language code identifier (LCID) code.

FiscalFirstMonth

1

The first month of the fiscal calendar.

1=January

12=December

FiscalFirstDayOfMonth

1

The first day of the fiscal calendar.

FiscalYearName

"NextCalendarYearName"

This enumeration value specifies how the name of the fiscal year is generated.

ReportingFirstMonth

1

The first month of the reporting calendar.

1=January

12=December

ReportingFirstWeekOfMonth

1

The first week of the reporting calendar.

ReportingWeekToMonthPattern

"Weeks445"

The pattern by which to match weeks to months.

ManufacturingFirstMonth

1

The first month of the manufacturing calendar.

1=January

12=December

ManufacturingFirstWeekOfMonth

1

The first week of the manufacturing calendar.

ManufacturingExtraMonthQuarter

4

The quarter of a year that contains the extra month.