Table of Contents

Class DateCriterion

Namespace
ArcanaDevelopment.adTempus.Client
Assembly
ArcanaDevelopment.adTempus.Client.dll
[ComVisible(true)]
[Guid("78d78c49-f4a0-4f8b-89b1-2941a24aa151")]
public sealed class DateCriterion : ADTObject
Inheritance
object
DateCriterion

Properties

CID

The Class ID for the object

[IgnoreDataMember]
public override ClassID CID { get; }

Property Value

ClassID

Remarks

Obsolete. Use ClassID instead.

ClassKeyName

The key name for the class.

public override string ClassKeyName { get; }

Property Value

string

Remarks

This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.

CriterionType

public DateCriterionType CriterionType { get; set; }

Property Value

DateCriterionType

Days

public DaySpecificationCollection Days { get; }

Property Value

DaySpecificationCollection

EndDate

[ComVisible(false)]
public DateTime? EndDate { get; set; }

Property Value

DateTime?

Interval

public int Interval { get; set; }

Property Value

int

IsDependent

[IgnoreDataMember]
public override bool IsDependent { get; }

Property Value

bool

Schedule

public ScheduleCollection Schedule { get; }

Property Value

ScheduleCollection

SharedSchedule

public SharedSchedule SharedSchedule { get; set; }

Property Value

SharedSchedule

StartDate

[ComVisible(false)]
public DateTime? StartDate { get; set; }

Property Value

DateTime?

Methods

FindOwningObject()

Get the owner of this object based on relationships.

protected override ADTObject FindOwningObject()

Returns

ADTObject

The owning object, or null if the object is not owned by another object or the owner has not been set.

GetMatchingDates(DateTime, DateTime)

public ReadOnlyCollection<ScheduleMatchDate> GetMatchingDates(DateTime startDate, DateTime endDate)

Parameters

NameTypeDescription
startDate DateTime
endDate DateTime

Returns

ReadOnlyCollection<ScheduleMatchDate>

GetObjectDescription()

Gets a description of the object's key settings.

protected override string GetObjectDescription()

Returns

string

Remarks

This method is called by GetDescription() to get a user-friendly description of the object (such as its key settings) for display to the user. The description should contain enough information to distinguish this object from others of the same class.

See Also

WriteToConfigurationReport(IADTObjectConfigurationReportWriter)

public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)

Parameters

NameTypeDescription
reportBuilder IADTObjectConfigurationReportWriter

Inherited Members