DateTimeFormatter Class

Spotfire 14.3 API Reference
Formatter for Date, Time, or DateTime values.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Data.FormattersDataFormatterBase
    Spotfire.Dxp.Data.FormattersDateTimeFormatter

Namespace:  Spotfire.Dxp.Data.Formatters
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class DateTimeFormatter : DataFormatterBase

The DateTimeFormatter type exposes the following members.

Properties

  NameDescription
Public propertyCultureInfo
Gets or sets a CultureInfo object that defines the default formatting.
(Inherited from DataFormatterBase.)
Public propertyCultureName
Gets or sets the name of the culture that defines the default formatting.
(Inherited from DataFormatterBase.)
Public propertyDateTimeStyles
Gets or sets a DateTimeStyles object that defines how string representations are parsed.
Public propertyEmptyString
Gets or sets the string used to indicate empty values. (FormatInvalid(String)).
(Inherited from DataFormatterBase.)
Public propertyExactParse
Gets or sets a value indicating whether the format of the string representation must match the specified format exactly or not. Default is false.
(Inherited from DataFormatterBase.)
Public propertyFormatString
Gets or sets a format string that defines how values are formatted.
Public propertyIsLocalized
Gets a value indicating whether this formatter is localized and always uses CultureInfo derived from the current running thread or not.
(Inherited from DataFormatterBase.)
Public propertyIsReadOnly
Gets a value indicating whether the formatter is read-only or not.
(Inherited from DataFormatterBase.)
Top
Methods

  NameDescription
Public methodClone
Returns a writable copy of this formatter.
(Inherited from DataFormatterBase.)
Public methodFormatInvalid
Formats an invalid value. If error is not null, the return value includes the "(error)" string, otherwise EmptyString is returned.
(Inherited from DataFormatterBase.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides DataFormatterBaseGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference