Class DateSpecification
Represents a single date or a range of dates, specified at arbitrary levels of precision.
Inherited Members
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DateSpecification : NotificationObject
Constructors
DateSpecification()
Initializes a new instance of the DateSpecification class.
Declaration
public DateSpecification()
Properties
Date
If this instance represents a single date, gets or sets the date.
Declaration
public Date Date { get; set; }
Property Value
Type | Description |
---|---|
Date | The date. |
DateRange
If this instance represents a range of dates, gets or sets the date range.
Declaration
public DateRange DateRange { get; set; }
Property Value
Type | Description |
---|---|
DateRange | The date range. |
IsEmpty
Gets a value indicating whether this object lacks any content.
Declaration
public virtual bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRange
Gets or sets a value indicating whether this instance is range or a single date.
Declaration
public bool IsRange { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
ToString()
Returns a
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A |