Sage Modeling and Simulation Library

TimePeriod Members

The TimePeriod type exposes the following members.

Methods


  Name Description
Public method AddRelationship
Public method ClearDuration
Sets the duration to an indeterminate timespan.
Public method ClearEndTime
Sets the end time to an indeterminate time.
Public method ClearStartTime
Sets the start time to an indeterminate time.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PopAdjustmentMode
Pops the previous time period adjustment mode off a stack, and sets this Time Period's adjustment mode to that value.
Public method PushAdjustmentMode
Pushes the current time period adjustment mode onto a stack, substituting a provided mode. This must be paired with a corresponding Pop operation.
Public method RemoveRelationship
Public method ToString

Operators


  Name Description
Public operator Static member Addition

Properties


  Name Description
Public property AdjustmentMode
This property determines how the triad of start, duration & finish are kept up-to-date as individual properties are set and changed.
Public property Description
Public property Duration
Gets the duration of the time period.
Public property EndMilestone
The milestone that represents the ending point of this time period.
Public property EndTime
Reads and writes the End Time. When writing the end time, leaves the start time fixed, and adjusts duration.
Public property Guid
Public property HasDuration
True if the time period has a determinate duration.
Public property HasEndTime
True if the time period has a determinate end time.
Public property HasStartTime
True if the time period has a determinate start time.
Public property Modifier
Public property Name
Public property StartMilestone
The milestone that represents the starting of this time period.
Public property StartTime
Reads and writes the Start Time. When writing the start time, leaves the end time fixed, and adjusts duration.
Public property Subject

Events


  Name Description
Public event ChangeEvent