LUSID C# SDK
|
Defines a date offset which is relative to some anchor date. More...
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... | |
Defines a date offset which is relative to some anchor date.
|
inlineprotected |
Initializes a new instance of the RelativeDateOffset class.
|
inline |
Initializes a new instance of the RelativeDateOffset class.
days | The number of days to add to the anchor date. (required). |
businessDayConvention | 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]. (required). |
dayType | 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].. |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if RelativeDateOffset instances are equal
input | Instance of RelativeDateOffset to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
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].
|
getset |
The number of days to add to the anchor date.
The number of days to add to the anchor date.
|
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].