Class SecuritiesPeriodField
Generic field Period (Field 69A or 69B)
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Subsembly.Swift.SecuritiesMarkets
Assembly: Subsembly.Sepa.dll
Syntax
public class SecuritiesPeriodField : SecuritiesGenericField, ISecuritiesSequence
Constructors
SecuritiesPeriodField(String, String)
Declaration
public SecuritiesPeriodField(string sTag, string sQualifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | sTag | |
System.String | sQualifier |
Properties
FromDate
The starting date of the period.
Declaration
public DateTime FromDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | This must be set to a date before or equal to ToDate. If the time portion of both FromDate and ToDate is zero, then no time will be included when generating this period. |
Remarks
The value may be DateTime.MinValue
(which is 01.01.0001), if there is no
explicit starting date.
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsValid
Declaration
public override bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
ToDate
The ending date of the period.
Declaration
public DateTime ToDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The value must be bigger than FromDate and must not be
|
Methods
OnChooseFieldTag()
Declaration
protected override string OnChooseFieldTag()
Returns
Type | Description |
---|---|
System.String |
Overrides
OnClear()
Declaration
protected override void OnClear()
Overrides
OnGenerateFieldContent(String, String)
Declaration
protected override string OnGenerateFieldContent(string sTag, string sQualifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | sTag | |
System.String | sQualifier |
Returns
Type | Description |
---|---|
System.String |
Overrides
Exceptions
Type | Condition |
---|---|
SwiftException |
OnParseFieldContent(SwiftField)
Declaration
protected override void OnParseFieldContent(SwiftField aField)
Parameters
Type | Name | Description |
---|---|---|
SwiftField | aField |