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

Defines a date offset which is relative to some anchor date. More...

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

Public Member Functions

 RelativeDateOffset (int days=default(int), string businessDayConvention=default(string), string dayType=default(string))
 Initializes a new instance of the RelativeDateOffset 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 (RelativeDateOffset input)
 Returns true if RelativeDateOffset instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

int Days [get, set]
 The number of days to add to the anchor date. More...
 
string BusinessDayConvention [get, set]
 The adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest]. More...
 
string DayType [get, set]
 Indicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar]. More...
 

Detailed Description

Defines a date offset which is relative to some anchor date.

Constructor & Destructor Documentation

◆ RelativeDateOffset() [1/2]

Lusid.Sdk.Model.RelativeDateOffset.RelativeDateOffset ( )
inlineprotected

Initializes a new instance of the RelativeDateOffset class.

◆ RelativeDateOffset() [2/2]

Lusid.Sdk.Model.RelativeDateOffset.RelativeDateOffset ( int  days = default(int),
string  businessDayConvention = default(string),
string  dayType = default(string) 
)
inline

Initializes a new instance of the RelativeDateOffset class.

Parameters
daysThe number of days to add to the anchor date. (required).
businessDayConventionThe adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest]. (required).
dayTypeIndicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar]..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if RelativeDateOffset instances are equal

Parameters
inputInstance of RelativeDateOffset to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BusinessDayConvention

string Lusid.Sdk.Model.RelativeDateOffset.BusinessDayConvention
getset

The adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest].

The adjustment type to apply to dates that fall upon a non-business day, e.g. modified following or following. Supported string (enumeration) values are: [NoAdjustment, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest].

◆ Days

int Lusid.Sdk.Model.RelativeDateOffset.Days
getset

The number of days to add to the anchor date.

The number of days to add to the anchor date.

◆ DayType

string Lusid.Sdk.Model.RelativeDateOffset.DayType
getset

Indicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar].

Indicates if consideration is given to whether a day is a good business day or not when calculating the offset date. Supported string (enumeration) values are: [Business, Calendar].


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