Show / Hide Table of Contents

Class DateSpecification

Represents a single date or a range of dates, specified at arbitrary levels of precision.

Inheritance
object
NotificationObject
DateSpecification
DataCollectionFrequency
Implements
INotifyPropertyChanged
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(INotifyCollectionChanged, string)
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
bool

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
bool

true if this instance is range; otherwise, false.

Methods

ToString()

Returns a string that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance.

Overrides
object.ToString()

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
NotificationObject.WatchProperties()

Implements

INotifyPropertyChanged
In this article
Back to top Generated by DocFX