DateRangeItem Class

Definition of the Time between two Dates.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public class DateRangeItem
Inheritance
Object    DateRangeItem

Constructors

DateRangeItem Create a new Instance of the DateRangeItem Item.
DateRangeItem(DateRangeItem) Create a new Instance of the DateRangeItem Item.
DateRangeItem(DateTime, DateTime) Create a new Instance of the DateRangeItem Item.
DateRangeItem(DateTime, TimeSpan) Create a new Instance of the DateRangeItem Item.

Properties

Duration Get/Set the Duration between the Starting and Ending Dates.
EndDate Get/Set the Ending Date of the Range.
StartDate Get/Set the Starting Date of the Range.
Tag Get/Set a generic Tag Value for this Date Range.
Valid Get a value indicating whether the elements of this instance are valid.

Methods

And Return the logical AND result of the two specified Date Ranges.
AndFit Return a value indicating the type of fit the two specified Date Ranges will yield if logically ANDed together.
Clone Return a deep copy of the provided date range.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
Fit(DateRangeItem, DateRangeItem) Return a value indicating whether one date range will fit within another.
Fit(DateRangeItem, DateTime) Return a value indicating whether the specified time is within the target Date Range.
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
Mask Return the logical result of a Date Range that has had some time masked out.
MemberwiseClone
(Inherited from Object)
Nand Return the logical NAND result of the two specified Date Ranges.
OnChange Raises the Change Event when a value in this instance has been changed.
ToString Return the string representation of this instance.
(Overrides ObjectToString)
TotalHours Return the total number of hours in the provided date range.

Events

Change Fired when a member of this instance have been changed.

See Also