Date1904 Class

1904 Date System.When the object is serialized out as xml, its qualified name is c:date1904.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Charts.BooleanType
        DocumentFormat.OpenXml.Drawing.Charts.Date1904

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Date1904 _
    Inherits BooleanType
'Usage
Dim instance As Date1904
public class Date1904 : BooleanType

Remarks

[ISO/IEC 29500-1 1st Edition]

21.2.2.38 date1904 (1904 Date System)

This element specifies that the chart uses the 1904 date system. If the 1904 date system is used, then all dates and times shall be specified as a decimal number of days since Dec. 31, 1903. If the 1904 date system is not used, then all dates and times shall be specified as a decimal number of days since Dec. 31, 1899.

Parent Elements

chartSpace (§21.2.2.29)

Attributes

Description

val (Boolean Value)

Specifies a boolean value for the property defined by the parent XML element.

A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of 0 or false specifies that the property is not applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Boolean) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Date1904 Members

DocumentFormat.OpenXml.Drawing.Charts Namespace