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
-
objectDateCriterion
Properties
CID
The Class ID for the object
[IgnoreDataMember]
public override ClassID CID { get; }
Property Value
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
Days
public DaySpecificationCollection Days { get; }
Property Value
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
SharedSchedule
public SharedSchedule SharedSchedule { get; set; }
Property Value
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
| Name | Type | Description |
|---|---|---|
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
| Name | Type | Description |
|---|---|---|
reportBuilder |
IADTObjectConfigurationReportWriter |
Inherited Members
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromMaster
- ADTObject.OID
- ADTObject.ClassID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.ExtendedDescription
- ADTObject.IsReadOnly
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.ClassName
- ObjectBase.GetDescription()
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)