Struct NotamItemB
NOTAM Item B) - Effective date/time (UTC)
Inherited Members
Namespace: FpAssistantCore.GeneralAviation
Assembly: FpAssistantCoreScl.dll
Syntax
public struct NotamItemB
Constructors
View SourceNotamItemB(DateTime)
Decode a NOTAM Item B into member properties
Declaration
public NotamItemB(DateTime utc)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | utc | .NET DateTime |
NotamItemB(string)
Decode a NOTAM Item B into member properties
Declaration
public NotamItemB(string itemB)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemB | Text literal of Item C) |
Remarks
Should be a valid 10 digit UTC value of format yyMMddHHmm. Remember to check if valid UTC by property IsValidUtc
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Null passed in NotamItemB parameter |
| ArgumentException | Must start with 'B)' |
| ArgumentException | Expected length of UTC value is 10 characters |
Fields
View SourceItemPrefix
NOTAM Item Prefix
Declaration
public const string ItemPrefix = "B)"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceEffectiveDateTime
NOTAM Effective Date and Time
Declaration
public DateTime EffectiveDateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
IsValidUtc
Is the UTC value in NOTAM a valid UTC date/time
Declaration
public bool IsValidUtc { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if valid otherwise false |
ItemB
NOTAM Item B Value
Declaration
public string ItemB { get; }
Property Value
| Type | Description |
|---|---|
| string |