Class DateSpecification
Represents a single date or a range of dates, specified at arbitrary levels of precision.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DateSpecification : NotificationObject, INotifyPropertyChanged
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
[JsonIgnore]
public virtual bool IsEmpty { get; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| Boolean |
|
Methods
ToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | A String that represents this instance. |