LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.YearMonthDay Class Reference

A date in component form. More...

Inheritance diagram for Lusid.Sdk.Model.YearMonthDay:
Inheritance graph
[legend]

Public Member Functions

 YearMonthDay (int year=default(int), int month=default(int), int day=default(int))
 Initializes a new instance of the YearMonthDay class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (YearMonthDay input)
 Returns true if YearMonthDay instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 YearMonthDay ()
 Initializes a new instance of the YearMonthDay class. More...
 

Properties

int Year [get, set]
 The year of the date. More...
 
int Month [get, set]
 The month of the date. More...
 
int Day [get, set]
 The day in month of the date. More...
 

Detailed Description

A date in component form.

Constructor & Destructor Documentation

◆ YearMonthDay() [1/2]

Lusid.Sdk.Model.YearMonthDay.YearMonthDay ( )
inlineprotected

Initializes a new instance of the YearMonthDay class.

◆ YearMonthDay() [2/2]

Lusid.Sdk.Model.YearMonthDay.YearMonthDay ( int  year = default(int),
int  month = default(int),
int  day = default(int) 
)
inline

Initializes a new instance of the YearMonthDay class.

Parameters
yearThe year of the date. (required).
monthThe month of the date. (required).
dayThe day in month of the date. (required).

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.YearMonthDay.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.YearMonthDay.Equals ( YearMonthDay  input)
inline

Returns true if YearMonthDay instances are equal

Parameters
inputInstance of YearMonthDay to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.YearMonthDay.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.YearMonthDay.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.YearMonthDay.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Day

int Lusid.Sdk.Model.YearMonthDay.Day
getset

The day in month of the date.

The day in month of the date.

◆ Month

int Lusid.Sdk.Model.YearMonthDay.Month
getset

The month of the date.

The month of the date.

◆ Year

int Lusid.Sdk.Model.YearMonthDay.Year
getset

The year of the date.

The year of the date.


The documentation for this class was generated from the following file: