Entity for specifying a date or a cut label. Dates are serialised in the standard round-trip format - see https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings#Roundtrip Cut labels are serialised using the format [YYYY-MM-DD]N[cut label] - see https://support.lusid.com/what-are-cutlabels
More...
|
| DateTimeOrCutLabel (DateTimeOffset datetime) |
| Create a DateOrCutLabel for the specified date More...
|
|
| DateTimeOrCutLabel (DateTimeOffset date, string cutLabel) |
| Create a DateOrCutLabel for the specified cutlabel on the specified date. Note that if the date contains any time portion this will cause an exception More...
|
|
override string | ToString () |
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
Entity for specifying a date or a cut label. Dates are serialised in the standard round-trip format - see https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings#Roundtrip Cut labels are serialised using the format [YYYY-MM-DD]N[cut label] - see https://support.lusid.com/what-are-cutlabels
◆ DateTimeOrCutLabel() [1/2]
Lusid.Sdk.DateTimeOrCutLabel.DateTimeOrCutLabel |
( |
DateTimeOffset |
datetime | ) |
|
|
inline |
Create a DateOrCutLabel for the specified date
◆ DateTimeOrCutLabel() [2/2]
Lusid.Sdk.DateTimeOrCutLabel.DateTimeOrCutLabel |
( |
DateTimeOffset |
date, |
|
|
string |
cutLabel |
|
) |
| |
|
inline |
Create a DateOrCutLabel for the specified cutlabel on the specified date. Note that if the date contains any time portion this will cause an exception
- Parameters
-
◆ operator DateTimeOrCutLabel() [1/2]
static implicit Lusid.Sdk.DateTimeOrCutLabel.operator DateTimeOrCutLabel |
( |
DateTimeOffset |
date | ) |
|
|
inlinestatic |
Conversion from a DateTimeOffset to a DateOrCutLabel
◆ operator DateTimeOrCutLabel() [2/2]
static implicit Lusid.Sdk.DateTimeOrCutLabel.operator DateTimeOrCutLabel |
( |
string |
cutLabel | ) |
|
|
inlinestatic |
Conversion from a string to a DateOrCutLabel. This string is assumed to already be in a valid format
◆ operator string()
◆ Length
int Lusid.Sdk.DateTimeOrCutLabel.Length |
|
get |
Length of the supplied parameter.
- Returns
- an in indicating the length of the DateTimeOrCutLabel if it were converted to a string.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Extensions/DateTimeOrCutLabel.cs