• Version 4.4.3
Show / Hide Table of Contents

Class MaturityMonthYearRef

A reference to the MaturityMonthYear field.

Inheritance
object
BaseComposite
MaturityMonthYearRef
Implements
IMaturityMonthYear
IComposite
Inherited Members
BaseComposite.Buffer
BaseComposite.Wrap(MemoryPointer.UnmanagedPointer)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class MaturityMonthYearRef : BaseComposite, IMaturityMonthYear, IComposite

Constructors

MaturityMonthYearRef(int, int, int, int)

Constructor.

Declaration
public MaturityMonthYearRef(int yearNull, int monthNull, int dayNull, int weekNull)
Parameters
Type Name Description
int yearNull

The year null value.

int monthNull

The month null value.

int dayNull

The day null value.

int weekNull

The week null value.

MaturityMonthYearRef(int, int, int, int, UnmanagedPointer)

Constructor.

Declaration
public MaturityMonthYearRef(int yearNull, int monthNull, int dayNull, int weekNull, MemoryPointer.UnmanagedPointer buffer)
Parameters
Type Name Description
int yearNull

The year null value.

int monthNull

The month null value.

int dayNull

The day null value.

int weekNull

The week null value.

MemoryPointer.UnmanagedPointer buffer

The memory segment that contains the MaturityMonthYear value.

Properties

Day

Declaration
public byte Day { get; set; }
Property Value
Type Description
byte

Day.

HasDay

Declaration
public bool HasDay { get; }
Property Value
Type Description
bool

true if the day field has a not null value, false otherwise.

HasMonth

Declaration
public bool HasMonth { get; }
Property Value
Type Description
bool

true if the month field has a not null value, false otherwise.

HasValue

Declaration
public override bool HasValue { get; }
Property Value
Type Description
bool

true if the underlying field has a non-null value, false otherwise.

Overrides
BaseComposite.HasValue

HasWeek

Declaration
public bool HasWeek { get; }
Property Value
Type Description
bool

true if the week field has a not null value, false otherwise.

HasYear

Declaration
public bool HasYear { get; }
Property Value
Type Description
bool

true if the year field has a not null value, false otherwise.

this[string]

Gets or sets the subfield value.

Declaration
public override object this[string name] { get; set; }
Parameters
Type Name Description
string name

Subfield name.

Property Value
Type Description
object

Subfield value.

Overrides
BaseComposite.this[string]

Month

Declaration
public byte Month { get; set; }
Property Value
Type Description
byte

Month.

Week

Declaration
public byte Week { get; set; }
Property Value
Type Description
byte

Week.

Year

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

Year.

Methods

Reset()

Resets the field to the null value.

Declaration
public override void Reset()
Overrides
BaseComposite.Reset()

ToString()

Returns the text representation.

Declaration
public override string ToString()
Returns
Type Description
string

The text representation

Overrides
object.ToString()
Remarks

The format is yyyyMMdd-ww, where yyyy is the year, MM is the month, dd is the day, and ww is the week.

Implements

IMaturityMonthYear
IComposite
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX