Show / Hide Table of Contents

Struct CycleDate

The “Cycle Date” field identifies the calendar period in which the record was added to the file or last revised

Implements
IEquatable<CycleDate>
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: FpAssistantCore.Arinc424.Records
Assembly: FpAssistantCoreScl.dll
Syntax
public struct CycleDate : IEquatable<CycleDate>

Constructors

View Source

CycleDate(int, int)

Initialise with Year parameter and Update Cycle parameter

Declaration
public CycleDate(int year, int updateCycle)
Parameters
Type Name Description
int year

Year of cycle date as two digits

int updateCycle

Numeric identity of the 28-day data update cycle during which the change occurred

View Source

CycleDate(string)

Initialise with Year and Update Cycle, single string parameter

Declaration
public CycleDate(string yearUpdateCycle)
Parameters
Type Name Description
string yearUpdateCycle

Year and Updae cycle passed as 4 digits (YYUC)

Exceptions
Type Condition
ArgumentNullException

If string parameter is null

ArgumentException

If string parameter is not equal to 4 or string contains any non digit characters

Properties

View Source

IdentityUpdateCycle

Identity of the 28-day data update cycle during which the change occurred

Declaration
public int IdentityUpdateCycle { get; set; }
Property Value
Type Description
int

Update cycle

Remarks

Each calendar year contains 13 such cycles, however, on rare occasions 14 cycles will be encountered

View Source

Year

Last two digits of the year in which the addition or revision was made

Declaration
public int Year { get; set; }
Property Value
Type Description
int

Year in the format of two digits

Exceptions
Type Condition
ArgumentOutOfRangeException

Invalid argument passed

Methods

View Source

Equals(CycleDate)

Declaration
public bool Equals(CycleDate other)
Parameters
Type Name Description
CycleDate other
Returns
Type Description
bool
View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()
View Source

ToString()

Return a string in Year and Update Cycle in US culture

Declaration
public override string ToString()
Returns
Type Description
string

string: of the cycle date

Overrides
ValueType.ToString()

Operators

View Source

operator ==(CycleDate, CycleDate)

Declaration
public static bool operator ==(CycleDate left, CycleDate right)
Parameters
Type Name Description
CycleDate left
CycleDate right
Returns
Type Description
bool
View Source

operator !=(CycleDate, CycleDate)

Declaration
public static bool operator !=(CycleDate left, CycleDate right)
Parameters
Type Name Description
CycleDate left
CycleDate right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Copyright 2018-2025 CADology Limited