The Portrate Interview Engine

DateSpanInitializer Methods

The methods of the DateSpanInitializer class are listed below. For a complete list of DateSpanInitializer class members, see the DateSpanInitializer Members topic.

Public Instance Methods

Configure Reads elements named 'property' looking for attributes that define the date span for the initialization. The span is the difference between the 'value' and the 'refDate'. Supported attribute are:
 override: true/false if the initialized value clobbers any existing values field: The name of the date field to use in the span calculation, allows 'day', 'month', or 'year' name: The name of the property being initialized format: A date format used for parsing, can also be specified as child elements with the name 'format' and value being the date format refDate: The start date of the span value: The end date of the span 
Each 'property' element can have 'rule' children which will determine when a property is initialized.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeForm Initializes each of the properties configured for this initializer.
IsApplicable (inherited from AbstractInitializer) Returns TRUE if this initializer is applicable, and FALSE if not. Uses the expiration, effective, and rule to determine applicability.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DateSpanInitializer Class | Portrate.Interview.Model.Init Namespace