Class SecuritiesPeriodField

Namespace
Subsembly.Swift.SecuritiesMarkets
Assembly
Subsembly.Sepa.dll

Generic field Period (Field 69A or 69B)

public class SecuritiesPeriodField : SecuritiesGenericField, ISecuritiesSequence
Inheritance
SecuritiesPeriodField
Implements
Inherited Members

Constructors

SecuritiesPeriodField(string, string)

public SecuritiesPeriodField(string sTag, string sQualifier)

Parameters

sTag string
sQualifier string

Properties

FromDate

The starting date of the period.

public DateTime FromDate { get; set; }

Property Value

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

public override bool IsEmpty { get; }

Property Value

bool

ToDate

The ending date of the period.

public DateTime ToDate { get; set; }

Property Value

DateTime

The value must be bigger than FromDate and must not be DateTime.MinValue.

Methods

OnChooseFieldTag()

protected override string OnChooseFieldTag()

Returns

string

OnClear()

protected override void OnClear()

OnGenerateFieldContent(string, string)

protected override string OnGenerateFieldContent(string sTag, string sQualifier)

Parameters

sTag string
sQualifier string

Returns

string

Exceptions

SwiftException

OnParseFieldContent(SwiftField)

protected override void OnParseFieldContent(SwiftField aField)

Parameters

aField SwiftField

OnValidate()

protected override string OnValidate()

Returns

string