c4b5cd89 df6f 7f94 d1c5 9031ceb1ae63 - iAJTin/iExportEngine GitHub Wiki
Additional header content
A Specialization of BaseDataTypeModel class.
Displays data field as datetime format. You can specify the output culture.
System.Object
iTin.Export.Model.BaseModel(BaseDataTypeModel)
iTin.Export.Model.BaseDataTypeModel
iTin.Export.Model.DatetimeDataTypeModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
public class DatetimeDataTypeModel : BaseDataTypeModel,
ICloneableVB
<SerializableAttribute>
Public Class DatetimeDataTypeModel
Inherits BaseDataTypeModel
Implements ICloneableThe DatetimeDataTypeModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
DatetimeDataTypeModel | Initializes a new instance of the DatetimeDataTypeModel class. |
| Name | Description | |
|---|---|---|
![]()
|
Error | Gets or sets a reference that contains datetime data type error settings. |
![]()
|
Format | Gets or sets preferred output date time format. |
![]() |
IsDefault | Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.) |
![]()
|
Locale | Gets or sets preferred output culture. |
![]() |
Properties | Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).) |
![]() |
Type | Gets a value indicating data type. (Inherited from BaseDataTypeModel.) |
| Name | Description | |
|---|---|---|
![]() |
Clone | Clones this instance. |
![]() |
Combine(BaseDataTypeModel) | Combines this instance with reference parameter. (Inherited from BaseDataTypeModel.) |
![]() |
Combine(DatetimeDataTypeModel) | Combines this instance with reference parameter. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetDataFormat | Returns data format for a data type. (Inherited from BaseDataTypeModel.) |
![]() |
GetFormattedDataValue | Returns data format for a data type. (Inherited from BaseDataTypeModel.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetStaticBindingValue | Gets the static binding value by reflection. (Inherited from BaseModel(T).) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SaveToFile(String) | Saves to file. (Inherited from BaseModel(T).) |
![]() |
SaveToFile(String, Exception) | Serializes current BaseModel object into file (Inherited from BaseModel(T).) |
![]() |
Serialize | Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseModel(T).) |
Belongs to: Content. For more information, please see ContentModel.
ITEE Object Element Usage
<Datetime ...>
<Error/>
<Datetime/>Attributes
| Attribute | Optional | Description |
|---|---|---|
| Format | Yes | Preferred output date time format. The default is ShortDatePattern. |
| Locale | Yes | Use this attribute for select preferred output culture. The default is Current. |
| Element | Description |
|---|---|
| Error | Reference for datetime data type error settings. |
| Comma-Separated Values CsvWriter |
Tab-Separated Values TsvWriter |
SQL Script SqlScriptWriter |
XML Spreadsheet 2003 Spreadsheet2003TabularWriter |
|---|---|---|---|
| X | X | X | X |
X value indicates that the writer supports this element.
The following example indicate that the content should be datetime data type.
XML
<Style Name="DateValue">
<Content Color="sc# 0.15 0.15 0.15">
<Alignment Horizontal="Center"/>
<DateTime Format="Year-Month" Locale="en-US">
<Error Value="Today">
<Comment Show="Yes">
<Font Name="Comic Sans MS" Size="16" Bold="Yes" Italic="Yes" Underline="Yes"/>
</Comment>
</Error>
</DateTime>
</Content>
</Style>

