Class DateTimeDomain
Represents date and time information to be collected by a Question.
Inherited Members
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DateTimeDomain : ResponseDomain
Constructors
DateTimeDomain()
Initializes a new instance of the DateTimeDomain class.
Declaration
public DateTimeDomain()
Properties
DateFormat
Gets or sets the format of the date field, in formats such as "YYYY/MM" or "MM-DD-YY". If this property is omitted, then the format is assumed to be the XML FileFormat format corresponding to the date type.
Declaration
public string DateFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The date format. |
DateTimeType
Gets or sets the type of the date time to be collected.
Declaration
public CodeValue DateTimeType { get; set; }
Property Value
Type | Description |
---|---|
CodeValue | The type of the date time. |
DateTimeTypes
Gets the collection of the supported date/time types.
Declaration
public static Array DateTimeTypes { get; }
Property Value
Type | Description |
---|---|
Array |
Methods
ToString()
Gets a string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |