Struct NotamItemC
NOTAM Item C) - Expiration date/time (UTC)
Inherited Members
Namespace: FpAssistantCore.GeneralAviation
Assembly: FpAssistantCoreScl.dll
Syntax
public struct NotamItemC
Remarks
Date-time group indicating duration of information shall be used unless the information is of a permanent nature in which case the abbreviation “PERM” is inserted instead. If the information on timing is uncertain, the approximate duration shall be indicated using a date-time group followed by the abbreviation “EST”. Any NOTAM which includes an “EST” shall be cancelled or replaced before the date-time specified
Constructors
View SourceNotamItemC(DateTime)
Decode a NOTAM Item C into member properties
Declaration
public NotamItemC(DateTime utc)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | utc | .NET DateTime |
NotamItemC(object)
Decode a NOTAM Item C into member properties
Declaration
public NotamItemC(object objectItemC)
Parameters
| Type | Name | Description |
|---|---|---|
| object | objectItemC | .NET DateTime / string UTC |
Remarks
.NET object returned from FAA NMS
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Null passed in NotamItemC parameter |
| ArgumentException | Unexpected variable type in object parameter |
NotamItemC(string)
Decode a NOTAM Item C into member properties
Declaration
public NotamItemC(string itemC)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemC | Text literal of Item C), can have EST on end or PERM only |
Remarks
Remember to check if valid UTC by property IsValidUtc
Examples
NotamItemC notamItemC = new NotamItemC("C)0609050500");
notamItemC = new NotamItemC("C)0210310500 EST");
notamItemC = new NotamItemC("C)PERM");
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Null passed in NotamItemC parameter |
| ArgumentException | Must start with 'C)' |
Fields
View SourceItemPrefix
NOTAM Item Prefix
Declaration
public const string ItemPrefix = "C)"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceExpirationDateTime
NOTAM Expiration Date and Time
Declaration
public DateTime ExpirationDateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
IsEstimated
Estimated: All NOTAM with EST remain in force until cancelled or replaced
Declaration
public bool IsEstimated { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if estimated otherwise false |
IsPermanent
Permanent: NOTAM is permanent in nature
Declaration
public bool IsPermanent { get; }
Property Value
| Type | Description |
|---|---|
| bool | True if permanent otherwise false |
Remarks
If permanent then UTC property will be set to datetime at initalization
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 |
ItemC
NOTAM Item C Value
Declaration
public string ItemC { get; }
Property Value
| Type | Description |
|---|---|
| string |