Class FinTimeSlot
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinTimeSlot : IComparable, IComparable<FinTimeSlot>
Constructors
FinTimeSlot(int, SwiftTime, SwiftTime)
Declaration
public FinTimeSlot(int nExecDay, SwiftTime tFromTime, SwiftTime tUntilTime)
Parameters
Type | Name | Description |
---|---|---|
int | nExecDay | The day of the week or the day of the month when the standing order is executed. |
SwiftTime | tFromTime | The begin of the time slot. This must not be NullTime. |
SwiftTime | tUntilTime | The end of the time slot. This must not be NullTime.
The |
Properties
ExecDay
The day of the week or the day of the month when the standing order is executed.
Declaration
public int ExecDay { get; }
Property Value
Type | Description |
---|---|
int |
Remarks
The value zero indicates, that this FinTimeSlot applies to all
possible execution days.
If this time slot is for the TimeUnit
Month,
then the values 1 through 31, 97 (ultimo-2), 98 (ultimo-1), and 99 (ultimo) are
permitted.
If this time slot is for TimeUnit
Week,then the
values 1 (monday) through 7 (sunday) are permitted.
FromTime
Declaration
public SwiftTime FromTime { get; }
Property Value
Type | Description |
---|---|
SwiftTime |
UntilTime
Declaration
public SwiftTime UntilTime { get; }
Property Value
Type | Description |
---|---|
SwiftTime |
Methods
Contains(SwiftTime)
Indicates if a given time is within this time slot.
Declaration
public bool Contains(SwiftTime t)
Parameters
Type | Name | Description |
---|---|---|
SwiftTime | t | The time to check. This must not be NullTime. |
Returns
Type | Description |
---|---|
bool |
IsMonthlyExecDay(SwiftDate)
Indicates if a given date is a monthly execution day as defined per ExecDay.
Declaration
public bool IsMonthlyExecDay(SwiftDate tDate)
Parameters
Type | Name | Description |
---|---|---|
SwiftDate | tDate | The date to check. This must not be NullDate. |
Returns
Type | Description |
---|---|
bool |